Hello everybody,
Is there a solution to rotate a panelref programmatically otherwise than apply rotation for each panelref elements ?
Thanks a lot for your response
PanelRef rotation or Shape group rotation
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: PanelRef rotation or Shape group rotation
A reference cannot be rotated as this attribute is not supported.
When adding a reference using addSymbol() a rotation angle can be defined.
Maybe this solution can be used to show a reference rotated.
Best Regards
Leopold Knipp
Senior Support Specialist
When adding a reference using addSymbol() a rotation angle can be defined.
Maybe this solution can be used to show a reference rotated.
Best Regards
Leopold Knipp
Senior Support Specialist
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
Re: PanelRef rotation or Shape group rotation
Thanks a lot Leo
I found a strange thing ...
if the symbol contains a primitive text with property Transformable=FALSE then the symbol is not rotated
I found a strange thing ...
if the symbol contains a primitive text with property Transformable=FALSE then the symbol is not rotated
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
Re: PanelRef rotation or Shape group rotation
Also
I found a second strange thing ...
if the symbol contains a rectangle who has dynamic position along X axis in function of datapoint value (no dynamic position along Y axis) then
1) if the symbol is rotated by 90 degrees then the dynamic position is inverted between X and Y. It is not normal
2) if the symbol is rotated by 45 degrees then the dynamic position is changed on X and Y axis. It is not normal
any idea ?
I found a second strange thing ...
if the symbol contains a rectangle who has dynamic position along X axis in function of datapoint value (no dynamic position along Y axis) then
1) if the symbol is rotated by 90 degrees then the dynamic position is inverted between X and Y. It is not normal
2) if the symbol is rotated by 45 degrees then the dynamic position is changed on X and Y axis. It is not normal
any idea ?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: PanelRef rotation or Shape group rotation
If you meant that you change the values for the attribute "position" then this position is always related to the screen and/or the main panel where the reference was loaded to.
There is no functionality to take into account that the reference was rotated. You have to implement it on your own in your scripts.
Best Regards
Leopold Knipp
Senior Support Specialist
There is no functionality to take into account that the reference was rotated. You have to implement it on your own in your scripts.
Best Regards
Leopold Knipp
Senior Support Specialist