cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
0 Kudos

New message to framebox, Add Graphic Function() or add possibility to use function inside add graphic script

What inspired this wish list request? 

Building graphic scripts and having to "always" rely on evaluation of expressions to get references.

 

What is the improvement you would like to see? 

Provide new message, << Add Graphic Function(function({this_framebox},...). This would work in a bit similar manner when compared to << Add Graphic Script as << Set Function(function({this},...) and << Set Script works for display boxes. Optionally, don't create new message, just add function as an option to Add Graphic Script().

 

Having also some way to access axisboxes could be helpful (there could be also other elements, such as display segments). Not sure how this should be implemented though, should they just be additional parameters you get access to inside the function?

 

Why is this idea important? 

Makes it easier to create graphic scripts (functions) which have to access FrameBox for example to get display segments or something outside of the framebox without having to rely on expression evaluation.