API Reference > Functions > odDbSetPSTYLEMODE Function
odDbSetPSTYLEMODE Function
Syntax
C++
TOOLKIT_EXPORT void odDbSetPSTYLEMODE(OdDbDatabase& db, bool val);

DbDatabase.h

Parameters 
Description 
OdDbDatabase& db 
[in] Database.  
bool val 
[in] Value for PSTYLEMODE. 

Sets the PSTYLEMODE value in the specified OdDbDatabase instance. 

 

This function provides write access to "Read-Only" system variables. It may be used to bypass non-implemented Drawings functionality or to repair drawings, and should be used with care.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.