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!

VB.Net GetAllObjectsOnLayer

Status
Not open for further replies.

kr7530

Automotive
Joined
Aug 9, 2011
Messages
130
Location
US
thread561-314759

When using GetAllObjectsOnLayer while in an assembly, is there a way to limit the selection to the work part and not its sub-components?

Thanks,
Kevin
NX8
VB.Net
 
When using the .GetAllObjectsOnLayer method, you can cycle through the results and check the .IsOccurrence property to determine if the object belongs to a component or not.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top