Mar 20, 2014 #1 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
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
Mar 20, 2014 #2 cowski Mechanical Joined Apr 23, 2000 Messages 8,227 Location US 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 Upvote 0 Downvote
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