yucad3d

CadAddBlockFile

Whole external drawing -> one block (named after the file's base name).

YuHandle CadAddBlockFile ( YuHandle hDwg, const char* szFileName );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
szFileName (const char*)
NUL-terminated UTF-8 string.

Return Value

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

See Also