- Sub tt()
- Dim b(0) As AcadCircle
- Dim circlepoint(2) As Double
- Set b(0) = ThisDrawing.ModelSpace.AddCircle(circlepoint, 10)
- Dim regionObj As Variant
- regionObj = ThisDrawing.ModelSpace.AddRegion(b)
- b(0).Delete
- Dim height As Double
- Dim taperangle As Double
- height = 3
- taperangle = 0
- Dim solidobj As Acad3DSolid
- Set solidobj = ThisDrawing.ModelSpace.AddExtrudedSolid(regionObj(0), height, taperangle)
- regionObj(0).Delete
- End Sub
|