Close

Relief for ODA Team in Ukraine

Learn more
ODA Mechanical SDK
OdaMechanical::getApplicationMode Function
Syntax
C++
ACMEOEEXPORT OdDb::VerticalApplicationMode getApplicationMode(const OdDbHostAppServices* pHostApp);

Returns a vertical application mode the host application service currently uses. 

 

Parameters
Description
pHostApp
[in] Input pointer to the platform-specific host application services.

Returns one of the following values:

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.