Changing properties of new Objects with Scripting commands
Hi, I have some complicated question:
I try to change the layout of new Objects that are created by the tools point reflexion and axis reflection, i.e. i want to have the new point of the mirror picture not labeld and in "brown".
Therefore I defined a listener (see globalscript in example). Renaming works, but the commands
ggbApplet.setLabelVisible(obj,false) and ggbApplet.setColor(obj, 153,51,0) don't work on the mirror images.
BUT: If I set LabelVisible of the original object false (points A,B,C), then the mirror object don't have labels too.
AND: When creating an angle, its color is changed to "brown" as the script command says.
It seems. that the mirror images of the tools point reflection , axis reflection inherit all attributes from the original and can be changed (beside the name, which can be changed).
By default, this is a good idea to me, but it would be nice to have the possibility to change these attributes by script. (Once they are created, I can change attributes by property menu).
Am I right or is there an error in my script?
Thank you very much in advance,