Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia V5 and VB6.0: How can I know when a ReferenceProduct is active or inactive

Status
Not open for further replies.

Lea75

Mechanical
Feb 24, 2009
51
ES
So, that's the question.
I have several ReferenceProducts in the tree.
Some of them ara deactivated and I'd like to know by Automation the status of each one.

I use something similar for shapes: If oPart.IsInactive(oHole) = False Then...

How can I do the same with Products?
Hope somebody can help me.
Regards

 
Replies continue below

Recommended for you

I don't believe there are any direct calls to retrieve this information. But, each instance in an assembly has a Component Activation State parameter containing a boolean value: True = Activated False = Deactivated

--Doug
 
And where I can find that parameter?
Or which is its name?
 
It is in the parameters collection of the Top Level Product. To see it in CATIA, select the Formula (Fx) command from the Knowledge toolbar with an assembly open then filter the parameters by the name Component*.

--Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top