×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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

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

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

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

(OP)
And where I can find that parameter?
Or which is its name?

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

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources