×
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

Delete Deactivated ôAddÆs and Everything Contained within them:

Delete Deactivated ôAddÆs and Everything Contained within them:

Delete Deactivated ôAddÆs and Everything Contained within them:

(OP)
To whom it may concern:

I'm trying to create a CATScript that will search a CATPart and delete the deactivated Add's the "Part Bodies and all the "Features" contained within the deleted Part Bodies. I've had limited success with this I can use the following search string: selectoin1.Search "CATPrtSearch.Add.Activity=FALSE,all" to remove the deactivated Add's but the Part Bodies and the Features within still remain behind in the CATIA tree(see attached .jpg file).

Additional information that may help: The Add's that we are trying to delete are renamed a specific way and so are the Part Bodies (see attached .jpg file).

I'm new to the programming aspect of CATIA and I can't figure out how to accomplish this.

Any help in this matter would be greatly appreciated; samples and examples you are willing to share would be terrific!

Thank You in Advance
TSQMAN

RE: Delete Deactivated ôAddÆs and Everything Contained within them:

My strong side isn't programming but I know that if you delete a boolean it won't delete the body used in that operation. I'm guessing that you need to identify the body used in the boolean and delete it prior to deleting the boolean.

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