Forums:
I have a journal that creates mirrored wave linked bodies. In order to do it I need to have a part fully loaded.
But I get error when I select the bodies inside the workpart. It's because of the code for loading parts fully as below:
Dim part1 As Part = myBody.OwningComponent.Prototype.OwningPart If part1.IsFullyLoaded=FalseThen part1.LoadThisPartFully()
I know it crashes on .OwningComponent.Prototype.OwningPart
How can I check if the body belongs to the workpart (which is normally fully loaded) and I could skip the code to load it fully?