jloeff
Mechanical
- Feb 13, 2002
- 29
I have a macro that creates a 3d sketch around a part and I would like to give it a name so that it can be recalled by another macro. The following is the current code to insert the sketch:
Part.Insert3DSketch2 True
Part.SetAddToDB True
Part.SetDisplayWhenAdded False
'Draw bounding box
...
Part.SetDisplayWhenAdded True
Part.SetAddToDB False
Part.Insert3DSketch2 True
Part.Insert3DSketch2 True
Part.SetAddToDB True
Part.SetDisplayWhenAdded False
'Draw bounding box
...
Part.SetDisplayWhenAdded True
Part.SetAddToDB False
Part.Insert3DSketch2 True