Ilogic subassembly Model State change

Ilogic subassembly Model State change

a_burggraafUPR9E
Explorer Explorer
147 Views
1 Reply
Message 1 of 2

Ilogic subassembly Model State change

a_burggraafUPR9E
Explorer
Explorer

I have been fiddling around for a long time to find a way in iLogic, when you have a large assembly with lots of subassemblies, to change the model states of these subassemblies from the overlying assembly. However i have not yet come up with a way to do this.

0 Likes
Accepted solutions (1)
148 Views
1 Reply
Reply (1)
Message 2 of 2

kacper.suchomski
Mentor
Mentor
Accepted solution

Hi

This question is very general.

There are many methods and ways, and their selection depends on the goal (specific, not rhetorical).

 

If the model state names are the same, this can be done with one command (Merge Model States in the Productivity panel). You don't need iLogic for this. The condition is to create an analogous list in the assembly file.

 

In the case of iLogic, the following code should be used.
Of course, this must be conditioned by some parameter.

 

Component.ActiveModelState("Part1:1") = "ModelStateName"

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes