yucad3d

CadAddBlock

Creates a new block definition and returns its handle.

YuHandle CadAddBlock ( YuHandle hDwg, const char* szName, double X, double Y, double Z );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
szName (const char*)
NUL-terminated UTF-8 string.
X (double)
World coordinate.
Y (double)
World coordinate.
Z (double)
World coordinate.

Return Value

The handle of the newly created block definition, or 0 on failure.

See Also