×
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

Determine DoF for parts in a product or count fixes in a component node

Determine DoF for parts in a product or count fixes in a component node

Determine DoF for parts in a product or count fixes in a component node

(OP)
Hi Guys,

Is there a way of checking that each part in a component node is fixed? Currently I count all the fixes in the root of the document:

oSelection.Search "CATAsmSearch.MfFixConstraint.Name=Fix'.'*,oDocument"

then count ALL the fixes:

oSelection.Search "CATAsmSearch.MfFixConstraint,all"

However, the latter includes all the fixes in sub products too... not helpful!

In a perfect world I'd like to test every .CATPart/Product in the root product to check that they are all fixed and if they are not, export the instance name to excel to form a 'to be fixed' list.

Spent the last few weeks trying to crack this one, but it has beaten me.

Thanks.

RE: Determine DoF for parts in a product or count fixes in a component node

(OP)
Well,

Just as I posted that I cracked it - at-least partly.

First I could the root fixes using:

oSelection.Search "CATAsmSearch.MfFixConstraint.Name=Fix'.'*,oDocument"

then search for the component node fixes using:

oSelection.Add oProducts 'Select the component node.
oSelection.Search "CATAsmSearch.MfFixConstraint,sel" 'Search within that component node.

Now I have the number of root parts/products/components, the number of root fixes and the number of parts/products/components in the component node(s) and the number of fixes.

Still would like a way of determining if each part has a Fix against it.

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