Page 1 of 1
Primitive text - transformable
Posted: Tue Mar 24, 2020 11:56 am
by srg@tratec.no
Hi,
I need to rotate a primitive text in a script. Using property "rotation" does not work directly. In GEDI one needs to set "transformable" first, but I cannot seem to find the correct way to set this using setValue?
Re: Primitive text - transformable
Posted: Fri Mar 27, 2020 8:39 am
by leoknipp
Why is there a need to set the "transformable" attribute via script?
If you already know that you want to the have it transformable you can set it in GEDI.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: Primitive text - transformable
Posted: Mon Nov 18, 2024 12:06 pm
by ottemot
leoknipp wrote: ↑Fri Mar 27, 2020 8:39 am
Why is there a need to set the "transformable" attribute via script?
If you already know that you want to the have it transformable you can set it in GEDI.
Best Regards
Leopold Knipp
Senior Support Specialist
There is a need if you dynamically add a rectangle shape using addShape() and need to change transformable from its default TRUE.
I have the same issue, is the transformable property hidden in some other attribute or under a different name?
Using 3.18.
Re: Primitive text - transformable
Posted: Thu Dec 05, 2024 3:34 pm
by leoknipp
If you want to fulfill this special requirement you can define a reference object (panel with a rectangle which has the required options set) which is then loaded via addSymbol() instead of loading a new shape.
Best Regards
Leopold Knipp
Senior Support Specialist