Share

AcAxRotate3D

C++

HRESULT AXAUTOEXP AcAxRotate3D(
    AcAxObjectRef& objRef, 
    VARIANT point1, 
    VARIANT point2, 
    double rotationAngle
);

File

axboiler.h

Description

Rotates the specified object in 3D using the given angle and points.

Except for the datatype of the first parameter, this function is identical to the overload that takes an object ID parameter.

Parameters

Parameters Description
objRef Input object reference of object to rotate
point1 VARIANT containing a SAFEARRAY of doubles (VT_R8)
point2 VARIANT containing a SAFEARRAY of doubles (VT_R8)
rotationAngle Input angle in radians

Was this information helpful?