Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Scripting question - remove duplicate references from selection

Status
Not open for further replies.

solid7

Mechanical
Joined
Jun 7, 2005
Messages
1,403
Location
US

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top