Close

Relief for ODA Team in Ukraine

Learn more
ODA Mechanical SDK
OdaMechanical::setApplicationMode Function
Syntax
C++
ACMEOEEXPORT OdResult setApplicationMode(OdDbHostAppServices* pHostApp, OdDb::VerticalApplicationMode mode);

Sets a new vertical application mode for the host application service. 

 

Parameters
Description
pHostApp
[in] Input pointer to the platform-specific host application services.
mode
[in] A new value of vertical application mode to set.

New value can be one of the following:

Name Value
Description
OdDb::VerticalApplicationMode::kEnabler 0
Disable mechanical events. Application loads files "as is" and does not create its default objects
OdDb::VerticalApplicationMode::kEditor 1
Enables mechanical events. Application creates its default objects in every drawing

File: OdaMechanical.h 

Namespace: OdaMechanical 

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