yucad3d

CadSetSpace

Switch the live view's drawing space: -1 = model, >= 0 = a paper-space layout (Model / Layout tabs).

std::int32_t CadSetSpace ( YuHandle hDwg, std::int32_t space );

Parameters

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

Return Value

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

Remarks

Repaints. Returns 1 if the view exists.

See Also