yucad3d

CadGetNumEntities

Last-error reporting (Vecad CadGetError/ErrorStr).

std::int32_t CadGetNumEntities ( YuHandle hDwg );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.

Return Value

The get number of entities.

Remarks

yucad doesn't keep a global error code — operations report success/failure by return value — so there is never a pending error: code 0, empty string.

See Also