Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
DYNCONSTRAINTDISPLAY
Syntax
C++
bool DYNCONSTRAINTDISPLAY;
Type
bool
Initial value
false
Read-Only
No
Saved In
Database
Versions
2010+

 

The DYNCONSTRAINTDISPLAY variable specifies the visibility of dynamic constraints. 

 

Value
Description
false
Hides dynamic constraints.
true
Shows dynamic constraints.

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getDYNCONSTRAINTDISPLAY()
OdDbDatabase::setDYNCONSTRAINTDISPLAY()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"DYNCONSTRAINTDISPLAY"); OdBool bView = pRb->getBool(); odPrintConsoleString(L"nDynamic constraint visibility is %s", ((bView) ? "shown" : "hidden")); // or // odPrintConsoleString(L"nDynamic constraint visibility = %d", (int)pDb->getDYNCONSTRAINTDISPLAY());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtBool, false); pDb->setSysVar(L"DYNCONSTRAINTDISPLAY", pRb); // or // pDb->setDYNCONSTRAINTDISPLAY(true);

 

File: SysVarDefs.h 

Module: API Reference 

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