iLogic to supress and unsupress parts within subassemblies

iLogic to supress and unsupress parts within subassemblies

ron.c
Advocate Advocate
490 Views
2 Replies
Message 1 of 3

iLogic to supress and unsupress parts within subassemblies

ron.c
Advocate
Advocate

I have seen this question asked, but have not yet found any answers...

 

On the base assembly one can use something like this:

 

Component.IsActive("Part_or_SubAssembly_A:1") = "True"

But I need to use iLogic to affect the Active state of parts and subassemblies within SubAssembly_A and I can't find anything that explains how to do it, or even if it can be done.

 

Anyone have any ideas?

 

Thanks!

 

- Ron

 

 

 

 

0 Likes
Accepted solutions (1)
491 Views
2 Replies
Replies (2)
Message 2 of 3

dean.morrison
Advocate
Advocate
Accepted solution

I think you need to use MakePath

.

 

Component.IsActive(MakePath("SubAssembly_A:1", "Part:1")) = "True"

 or even

 

Component.IsActive(MakePath("SubAssembly_A:1", "SubAssembly_B:1", "Part:1")) = "True"

 

0 Likes
Message 3 of 3

ron.c
Advocate
Advocate

Ok, Dean, you are now officially the smartest guy I know of!

 

MakePath was exactly what I was looking for.

 

Now I'll post another question about incrementing variables and / or using an array for variables.....

 

Thank you for your help!

0 Likes