CadAddBlockFromFile
External drawing -> a block of the given name.
YuHandle CadAddBlockFromFile (
YuHandle hDwg,
const char* szFileName,
const char* szName
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szFileName (const char*)
- NUL-terminated UTF-8 string.
- szName (const char*)
- NUL-terminated UTF-8 string.
Return Value
The handle of the newly created block definition, or 0 on failure.