×
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

Scripting question - remove duplicate references from selection

Scripting question - remove duplicate references from selection

Scripting question - remove duplicate references from selection

(OP)

I have a script that I want to (revise to) write a user option into.  Basically, when multi-selecting a set of points, I want to have the option of finding where the selected points are used, so as to delete duplication of geometry at that location. (by omitting it from the selection before a reference is created)  My first thought was to search the existing geometry, and return the (point) children to an index.  If the child element was present in both the selection index, and the search index, then it would be omitted.  Easy enough to do, in concept.

Searching the desired geometry is easy, as it is named by a previous portion of the script. (I'm not searching every line in the whole model)  Only problem is, I can't find a method by which to return a value for child geometry used in my line creation.

Any help is appreciated.

 

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog

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