yucad3d

CadEntityPutLayerID

Sets the layer i d of the entity.

std::int32_t CadEntityPutLayerID ( YuHandle hEnt, YuHandle hDwg, std::int32_t LayerID );

Parameters

hEnt (YuHandle)
Handle to the entity.
hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
LayerID (std::int32_t)
Integer value.

Return Value

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

See Also