lharrison
New member
- Oct 19, 2011
- 52
I am trying to cast the current work part as an NXObject so i can quickly pass it to the UFSession.Modl.AskBoundingBoxExac() method. If i manually select my work part through a select dialog, it get back an NXObject ByRef that AskBoundingBox will accept.
I am trying to avoid manual selection by simply casting Session.Parts.Work as an NXObject, but AskBoundingBox will not accept this tag. I'm sure it is because I am not passing the workpart as a reference, but I cannot find a method to accomplish this(short of manual selection)
bruce
I am trying to avoid manual selection by simply casting Session.Parts.Work as an NXObject, but AskBoundingBox will not accept this tag. I'm sure it is because I am not passing the workpart as a reference, but I cannot find a method to accomplish this(short of manual selection)
bruce