This content has been marked as final. Show 2 replies
You can use the ISketchBlockDefinition.GetSketch and set the sketch to a feature and get the bounding box that way. It should look something like this:
Dim swFeature As Feature Dim swSketch As Sketch Dim BBox As Variant Dim bRet as Boolean Code where you create your block Set swSketch = swSketchBlockDef.GetSketch Set swFeature = swSketch bRet = swFeature.GetBox(BBox) Debug.Print BBox(0) Debug.Print BBox(1) Debug.Print BBox(2)
yes, now i can get the bounding box size. thanks.