Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Supress Part at Subassembly by Ilogic Rule

Anonymous

Supress Part at Subassembly by Ilogic Rule

Anonymous
Not applicable

Hello Community,

 

i got following problems with Inventor 2014 and Ilogic.

 

I try to suppress parts in a Subassembly by using a Ilogic rule.

 

The Rule i create at Main Assembly and a User Level of Detail because At Master i can`t suppress Parts at Assembly.

 

My Ilogic Rule is

If iProperties.Value("Custom", "Varia")= True Then
Component.IsActive("Tank2") = True
Component.IsActive(MakePath("Subassembly1:1", "Part1:1")) = True

Else If iProperties.Value("Custom", "Varia")= False Then
Component.IsActive("Tank2") = False
Component.IsActive(MakePath("Subassembly1:1", "Part1:1")) = False
End If

 

 

Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 11936 StartFragment: 314 EndFragment: 11904 StartSelection: 314 EndSelection: 314SyntaxEditor Code Snippet

 

My Problem is that Tank 2 will suppressed if the condition is fulfilled but  Part1:1 at Subassembly1:1 are unsuppressed.

The condition can changed over an IPropertie "Varia" as Boolean that i create at Main assembly.

 

I have at the moment no Idea to solve that problem.

 

What i also try was to create a Rule in Subassembly who is influente by a Parameter at Subassembly.

But i can`t link String or Boolean Parameters to the Main Assembly Parameter list. It only works for Numeric Parameters.

And if i use Numeric Parameter at Subassembly and link to Main Assembly i can´t change the Value of the Parameter at Main Assembly cause the Value is write protected.

 

The Way from Main Assembly to Subassembly doesnt work because Inventor says it will create a cyclic dependency.

 

Why i try to use Ilogic is??

I got a Main Assembly with 2050 Parts and i want to create different Variants of this Assembly. Sometimes i have to Replace Parts and Sometimes i have to activate or deactivate Components.

I want to controll over an Ilogic form the variation of the Main Assembly.

 

IAssembly is no solution for me because i can only suppress complete Subassemblys over IAssembly and not some Parts in Subassembly.

 

I anyone have an Idea feel free to responds.

And if Anyone knows a source of an Ilogic Documentation additional to the Autodesk Help also responds

 

 

With Regards

 

Gandalf  

 

 

 

 

 

0 Likes
Reply
487 Views
0 Replies
Replies (0)