• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Methods > Rotate3D Method 

Rotate3D Method

Rotate3D Method

Rotate3D method

Rotates the selection set and all its members about an axis formed by two points. The direction of the axis is from point1 to point2.

Syntax

object.Rotate3D(Point1, Point2, RotationAngle)

Where:

     object is an progeCAD entity;

     Point1 is an progeCAD Point object representing the first point of the axis about which objects will be rotated;

     Point2 is an progeCAD Point object representing the second point of the axis about which objects will be rotated;

     RotationAngle is a double-precision variable (or value) representing the angle in radians.

Rotate3D method example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.