[V8i VBA] RevolveProfile

We created a closed vertical shape element, and would like to convert it to solid by revolution with 360 degrees about Z axis. However, it is not successful in VBA. Great if you could provide an example.

What I have tried:

pointOnAxis = Point3dFromXYZ(0, 0, 0) 'Center point of Rotation

axis = Vector3dFromXYZ(0, 0, 1) 'About Z axis

angle = PI * 2 '360 degrees

Set oSmartSloidElement = RevolveProfile (profile, pointOnAxis, axis, angle) 
Parents Reply Children
No Data