How to Hide components in a particular instance of a pattern using ilogic?

How to Hide components in a particular instance of a pattern using ilogic?

Anonymous
Not applicable
1,875 Views
4 Replies
Message 1 of 5

How to Hide components in a particular instance of a pattern using ilogic?

Anonymous
Not applicable

I have an assembly which configure itself based on a rule. The rule actually suppresses(Visible set to false) some components when switching from one configuration to other.

The problem arises when making a pattern using he assembly.

The suppressed components shows up in all the instances other than the first instance.

The issue of showing the hidden components in the array actually defies the rule set and the purpose of the configuration.

 

How may I make the components invisible or suppress in the array. 

Note: I had made the component invisible using the component occurrence number/name. Since the pattern is dynamic, I have no idea how to do the supression.

 

Could someone shed some light on this as I am a beginner using ilogic

0 Likes
Accepted solutions (1)
1,876 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Accepted solution

I got it,

 

instead of making the visibility to change, set the component as IsActive true/false

0 Likes
Message 3 of 5

Andrew_Burnett
Enthusiast
Enthusiast

Could you give an example of this?  I am having a similar issue.  I patterned an assembly and want to turn the visibility of the sub components on and off based on a selection but when I do that all the components show or hide regardless of the selection.

 

Thanks in advance.

0 Likes
Message 4 of 5

johnsonshiue
Community Manager
Community Manager

Hi! This pretty straight forward to do in iLogic. In your assembly, create a custom LOD (Level of Detail1 or iLogic). Save the assembly. Then create a new iLogic rule -> go to the tree panel and find the occurrence you want to hide -> right-click -> Capture Current Status -> simply change the value from True to False.

After you run the rule, the occurrences set to IsActive() = False will not be shown in the graphics and also they are deducted from BOM table.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 5 of 5

Andrew_Burnett
Enthusiast
Enthusiast

I would prefer to stay away from levels of detail since I have had issues with it previously.  I find the visibility of components to be easier to deal with when creating assembly items.  I have found that if you leave the visibility of the pattern alone you can drive the individual items in the assembly that is patterned.

 

Thanks for your quick response

0 Likes