Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSADRAFTANGLEHIGH
Syntax
C++
double VSADRAFTANGLEHIGH;
Type
double
Initial value
3.0
Read-Only
No
Saved In
Database
Versions
2013+

 

The VSADRAFTANGLEHIGH variable stores a high angle value at which a surface displays as green tint when draft analysis is performed. The draft angle defines an angle between the surface normal and UCS plane and is measured in the range 90 to 90 degrees. 

 

Value
Description
90
Opposite to the construction plane.
0.0
Perpendicular to the construction plane.
90.0
Parallel to the construction plane.

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getVSADRAFTANGLEHIGH()
OdDbDatabase::setVSADRAFTANGLEHIGH()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSADRAFTANGLEHIGH"); double angle = pRb->getDouble(); odPrintConsoleString(L"nHigh draft angle = %g", angle); // or // odPrintConsoleString(L"nHigh draft angle = %g", pDb->getVSACURVATUREHIGH());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtDouble, 6.5); pDb->setSysVar(L"VSADRAFTANGLEHIGH", pRb); // or // pDb->setVSADRAFTANGLEHIGH(8.0);

 

File: SysVarDefs.h 

Module: API Reference 

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