pass a variable to a form

pass a variable to a form

Anonymous
Not applicable
327 Views
1 Reply
Message 1 of 2

pass a variable to a form

Anonymous
Not applicable

Hello,

 

If i run an Ilogic script, that calls a form, is it possible to pass a variable to that form without having to save it into the parameters?

 

for example if i have a form with a simple text label, can I call the form from Ilogic and pass a variable that is then loaded into the textlabel?

 

 

 

something like: SyntaxEditor Code Snippet

iLogicForm.ShowGlobal("MyForm",FormMode.Modal, Text1 = "hello world")

 

 

or a url to a image box.. so far i was only able to assign a variable from the parameters of the currently open file, but i do not want to save "hello world" or the url of a image for a picture box in the model parameters.  

0 Likes
328 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi @Anonymous,

 

are you creating an iLogic form from within Inventor or do you want to pass that value to an external/stand-alone application?

0 Likes