yucad3d

CadSetCurLayerByName

Set current layer by name.

std::int32_t CadSetCurLayerByName ( YuHandle hDwg, const char* szName );

Parameters

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

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

See Also