yucad3d

CadAddBlockXref

External-reference block: a block whose content lives in another drawing file (Vecad CadAddBlockXref).

YuHandle CadAddBlockXref ( 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.

Remarks

Named after the file's base name.

See Also