cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

J-lilnk - List Assembly Components

Highlighted
Newbie

J-lilnk - List Assembly Components

Hi

I have a problem regarding a family table assembly. The family table contains two different instance assemblies and the generic assembly. The two instances doesn't not include the same parts. However, the generic contains all parts. The family table looks something like this:

part1 part2 part3 part4 part5


assy_gen | Y | Y | Y | Y | Y

assy1 | N | N | N | Y | Y

assy2 | Y | Y | Y | N | N

What I am trying to do, is to list all the components of assy2. I am using the ListFeaturesByType(true, FeatureType.FEATTYPE_COMPONENT) function. I call this method on a the active model, which is assy2. However, it returns all the component assy_gen, and not only the components in assy2.Is there any way to only list these components?

Thanks in advance
\Bjarne Mortensen



1 REPLY 1

RE: J-lilnk - List Assembly Components

I figured it out after some help from a friendly soul. I can use GetStatus() on each component returned to see if it is
FEAT_FAMILY_TABLE_SUPPRESSED.

\Bjarne