C++
Acad::ErrorStatus setNormal( const AcGeVector3d& );
Description
Sets normal to be the normal vector for the MText object. normal should be in WCS coordinates.
When this function is used to change the normal, the direction value of the MText object is set to (1.0, 0.0, 0.0) in the Entity Coordinate System associated with the normal of the UCS current in the AutoCAD editor.
Note
The plane on which the text will be displayed is defined as:
X axis: MText 's direction vector
Y axis: crossproduct of normal with MText direction (N X D)
Unless the direction vector is perpendicular to the normal, this display plane will not be a plane perpendicular to the normal.
Returns Acad::eOk if successful or Acad::eInvalidInput if the data passed in is not acceptable.
Parameters
Parameters | Description |
---|---|
unnamed | Input desired normal vector |