yucad3d

CadEngrave

Generates an engraving (fill-stroke) block from the selected entities.

std::uint32_t CadEngrave ( YuHandle hDwg, std::int32_t bSelected, const char* szBlockName, double Step, double Angle );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
bSelected (std::int32_t)
Boolean flag: nonzero = true / enabled, 0 = false / disabled.
szBlockName (const char*)
NUL-terminated UTF-8 string.
Step (double)
Numeric value (double precision).
Angle (double)
Angle in radians, counter-clockwise from the +X axis (the host angle unit can be changed with CAD_GL_ANGUNITS).

Return Value

The resulting value.

See Also