Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Duplicate Line selection and deletion macro

Status
Not open for further replies.

TheKyle9

Mechanical
Oct 1, 2015
14
I am bringing in a 2D profile from an IGS file, the profile has 3700 elements (lines and curves) then it has a totally new set of lines and curves that form the same profile on top of it. Essentially, its a single geoset with duplicate lines on lines. Is there a tool in Catia (or custom macro) to isolate only one group of elements that form the profile without going thru each line and deleting one of them?

I think the operation I'm looking for is similar to "OVERKILL" in AutoCAD...

thanks
K
 
Replies continue below

Recommended for you

if it's all 2D:

make a big join (no check connexity - no check manifold)

create a plane offset at 1mm

project the join on the offset plane

isolate the projection 1 (copy paste as result)

delete all but the isolated projection 1

project the isolated projection 1 back on the original plane

isolate the projection 2

delete isolated projection 1

disassemble isolated projection 2

delete isolated projection 2


Eric N.
indocti discant et ament meminisse periti
 
Good suggestion to project, I discovered (after you create a smart join) you can project dumb up to the offset plane- however, you must project along a direction and turn nearest solution off. That will (apparently) get rid of duplicate lines, I'm not really sure WHY... but it worked so I'm happy.

Thanks for your help!

K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor