Launching Forms in Parts, from Assembly

Launching Forms in Parts, from Assembly

Anonymous
Not applicable
390 Views
3 Replies
Message 1 of 4

Launching Forms in Parts, from Assembly

Anonymous
Not applicable

Option 1 - I would like to run a iLogic rule from the main assembly and have it open multiple forms from the parts within a sub assembly.

Option 2 - Or worst case, run a rule to open same forms from the sub-assembly level.  

 

1. Vessel Assembly (main - Option 1)

     1.1 Parts

     1.2 Sub-Assemblies

     1.3 Sub-Assembly (Option 2)

          1.3.1 Parts (with the forms)

 

 

notes: 

I would rather not use file names of the parts (1.3.1) however the form names will be consistent. 

I'd like to open all forms with same name within different parts.

At the top level would be best.  

 

0 Likes
391 Views
3 Replies
Replies (3)
Message 2 of 4

JaneFan
Autodesk
Autodesk

Hi @Anonymous , 

 

Opening forms from files in sub assembly level is not supported for now.  Only forms from current model can be show using iLogicForm.Show(). Or global form is recommended for commonly used forms. 




Jane Fan
Inventor/Fusion QA Engineer
0 Likes
Message 3 of 4

Anonymous
Not applicable

I can get it to launch one using,

iLogicVb.RunRule("Nozzle_1:1", "Launch Form")

 It launches the form, allows me to edit the form and updates the model accordingly.  

It won't however launch the second/third.... so on.  just the first one.  

One would think if one of them works we could get all of them to work.  

0 Likes
Message 4 of 4

JaneFan
Autodesk
Autodesk

Using the way of running rule(Launch Form) in the relative sub assembly level model(Nozzle_1:1) to launch the form in it can be a work around if you want to show and handle the form from top level assembly, but it is still restricted to use the rule(Launch Form) in the model(Nozzle_1:1) to show the form in this model. 

If you want to show other form in other model, the rule in that model has to be called explicitly.




Jane Fan
Inventor/Fusion QA Engineer
0 Likes