Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgModel::enableGlobalOriginUsage Method
Syntax
C++
virtual void enableGlobalOriginUsage(bool bEnable = true);

The function on/off global origin support mode. 

 

Parameters
Description
bEnable
[in] On or off global origin support mode.

If bEnable is true, the function call transformBy(...) for the model to global origin without undo recording and set flag to recalcualte elements when global origin is changed and restore element positions before of write to file. If bEnable is false, the function call transformBy(...) for the model disable global origin offset and reset flag of global origin support.

Copyright © 2002-2022. Open Design Alliance All rights reserved.