×
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

Duplicate Line selection and deletion macro

Duplicate Line selection and deletion macro

Duplicate Line selection and deletion macro

(OP)
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

RE: Duplicate Line selection and deletion macro

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

RE: Duplicate Line selection and deletion macro

(OP)
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

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