×
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

How to identify unused 3D curves in model space using a program?

How to identify unused 3D curves in model space using a program?

How to identify unused 3D curves in model space using a program?

(OP)
Hi all,

Is there anyway to identify the unused 3D curves in Model space by using a program?

Any help in this regard is greatly appreciated.

Thanks in advance

RE: How to identify unused 3D curves in model space using a program?

Try some logical loop like:

Dim type As Integer = UFConstants.UF_curve_type
Dim aCurve As NXOpen.Tag = NXOpen.Tag.Null

Do
   ufs.Obj.CycleObjsInPart(workPart.Tag, type, aCurve)
      If aCurve <> NXOpen.Tag.Null Then
         
         ' test here if the found curve as some children features
         ' if not > it's unused...

      End If
Loop Until thisPattern = NXOpen.Tag.Null

RE: How to identify unused 3D curves in model space using a program?

Im bumping this thread, how do I use ^this^ loop? Is there any other way to find unused curves and delete them?

RE: How to identify unused 3D curves in model space using a program?

There is a manual way of finding 'unused' objects.  Go to the Part Navigator, place your cursor over some 'white space', press MB3 and toggle OFF the 'Timestamp Order' option.  Now you will find a folder named 'Unused Items'.  Just expand it and you'll find a listing of all non-topological (i.e. not a sheet or solid body) objects which have not been referenced (i.e. used) by some other feature.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: How to identify unused 3D curves in model space using a program?

John, it works in some cases, but in some the 'unused' items are connected to the used geometry, even if on the tree it shows no children. So I can't really rely on that, unless I try to delete each feature seperately and if there's a promp window with information I would cancel it. Any other possibilities?

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