CadDrawBlock
Draws a temporary block primitive — valid inside custom-entity display (CEntDisplay) and drag-preview callbacks.
void CadDrawBlock (
YuHandle hDwg,
YuHandle hBlock,
double X,
double Y,
double Z,
double ScaleX,
double ScaleY,
double ScaleZ,
double RotAngle
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - hBlock (YuHandle)
- Handle to the block definition.
- X (double)
- World coordinate.
- Y (double)
- World coordinate.
- Z (double)
- World coordinate.
- ScaleX (double)
- Numeric value (double precision).
- ScaleY (double)
- Numeric value (double precision).
- ScaleZ (double)
- Numeric value (double precision).
- RotAngle (double)
- Angle in radians, counter-clockwise from the +X axis (the host angle unit can be changed with
CAD_GL_ANGUNITS).
Return Value
None.