Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

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

Status
Not open for further replies.

koutilya

Marine/Ocean
Aug 10, 2011
24
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
 
Replies continue below

Recommended for you

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
 
Im bumping this thread, how do I use ^this^ loop? Is there any other way to find unused curves and delete them?
 
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
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor