Primitive text - transformable

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
srg@tratec.no
Posts:1
Joined: Tue Sep 21, 2010 3:14 pm

Primitive text - transformable

Post 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?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Primitive text - transformable

Post 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

ottemot
Posts:13
Joined: Wed Dec 02, 2015 2:30 pm

Re: Primitive text - transformable

Post 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.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Primitive text - transformable

Post 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

4 posts • Page 1 of 1