yucad3d

CadAddCustom

Creates a custom (host-defined) entity; its appearance is supplied by the host's CEntDisplay callback.

YuHandle CadAddCustom ( YuHandle hDwg, std::int32_t CustType, void* pData, std::int32_t nBytes );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
CustType (std::int32_t)
Integer value.
pData (void*)
Caller-supplied output pointer.
nBytes (std::int32_t)
Integer value.

Return Value

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

See Also