Message 1 of 6
Replace Sub assembly in main Assembly with ILogic Rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm studying on a project for my PhD education. I need to solve some problem about the ilogic rules.. I should say that i'm begining of the inventor ilogic.
That's my problem ;
I have MAIN Assembly
There is two different sub-assembly
and also two options for each sub-assembly
I want to change subassembly completely in main assembly with the rule.
ıf Parameter_A = " Cylinder" And Parameter_B = " Rectangular" Then Component.Replace (" Subassembly_Rectangular", "Cylindrical.iam", True) Component.Replace(" Subassembly_Cylindrical", "Rectangular.iam", True) ElseIf Parameter_A = " Rectangular" And Parameter_B = " Cylindrical" Then Component.Replace (" Subassembly_Cylindrical", "Rectangular.iam", True) Component.Replace(" Subassembly_Rectangular", "Cylindrical.iam", True) End If
Important Infos:
Main Assemble Name : Project.iam
SubAssembly Name : Mirror.iam
SubAssembly Name : Desk.iam
Desk and Mirror have two options as "Rectangular" and "Cylindrical"
How can i replace all sub assembly in main assembly when i choose MutliValue Parameters.
Thank you all. 🙂