yucad3d

CadFireLoadSaveEvent

Host-driven file load/save progress notification (Vecad CadFireLoadSaveEvent): the host calls this to drive the LoadSave callback (mode 0 = load, 1 = save) — e.g.

void CadFireLoadSaveEvent ( YuHandle hDwg, std::int32_t Mode, std::int32_t Step, std::int32_t Percent );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
Mode (std::int32_t)
Mode selector — see the constants referenced in the description.
Step (std::int32_t)
Integer value.
Percent (std::int32_t)
Integer value.

Return Value

None.

Remarks

to paint a progress bar during a long import. Just forwards to the registered CadOnEventLoadSave handler.

See Also