Close

Relief for ODA Team in Ukraine

Learn more
ODA Mechanical SDK
OdaMechanical::initMechanicalDatabase Function
Syntax
C++
ACMEOEEXPORT OdResult initMechanicalDatabase(OdDbDatabase* pDb);

Performs database initialization by mechanical objects. 

 

Parameters
Description
pDb
[in] Input pointer to the database which will be populated by mechanical objects.

This function can be used to restore a partially damaged mechanical database. Call to this function will add missing mechanical base objects. This function populates the database by the default set of mechanical objects: symbol standards, dictionaries, line types, text styles, etc. It also enables mechanical reactors that will react to database and object events.

File: OdaMechanical.h 

Namespace: OdaMechanical 

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