Forums:
If I want to reference a child of an assembly as an object so that I can save it specifically instead of the top level component how would I do that.
This is how I would do it with a non assembly.
Public dispPart as NXOpen.Part = theSession.Parts.Display dispPart = thesession.parts.display part1 = dispPart <code> But I want to reference a child in the assembly specifically so I can save that child as a new part. <code> For Each child As Component In comp.GetChildren() '*** insert code to process component or subassembly fileNameNoExt = Child.DisplayName<code> This wont be the correct code but I want something like <code> part1 = child<code> Thanks for all the help i know i've been asking a lot of questions lately.