Could I add shapes to panel dynamically?

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
Piterskiy
Posts:46
Joined: Wed Jul 09, 2014 12:44 pm

Could I add shapes to panel dynamically?

Post by Piterskiy »

I can't find any info about the subject (adding shapes by scripts during runtime)

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

Re: Could I add shapes to panel dynamically?

Post by leoknipp »

Hello,

adding single objects during runtime is not possible.
With the CTRL-function addSymbol() you can add reference panels during runtime to a panel. The added references are not saved to the panel file, they only are added for the current panel displayed in the UI.

Best Regards
Leopold Knipp
Senior Support Specialist

RudiKreiner
Posts:198
Joined: Mon May 16, 2011 2:10 pm

Re: Could I add shapes to panel dynamically?

Post by RudiKreiner »

You get almost the same effect with single objects, by setting their visible attribute to FALSE in the GEDI, then to TRUE in a script whenever you want it to appear.

Piterskiy
Posts:46
Joined: Wed Jul 09, 2014 12:44 pm

Re: Could I add shapes to panel dynamically?

Post by Piterskiy »

Thank you for your bright ideas!

4 posts • Page 1 of 1