Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSAZEBRATYPE
Syntax
C++
OdInt16 VSAZEBRATYPE;
Type
OdInt16
Initial value
1
Range
0 ... 1
Read-Only
No
Saved In
Database
Versions
2013+

 

The VSAZEBRATYPE variable stores the type of zebra analysis which is applied for surfaces. The value can be: 

 

Value
Description
0
Chrome Ball
1
Cylinder

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getVSAZEBRATYPE()
OdDbDatabase::setVSAZEBRATYPE()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSAZEBRATYPE"); OdInt16 type = pRb->getInt16(); odPrintConsoleString(L"nZebra analysis type = %d", type); // or // odPrintConsoleString(L"nZebra analysis type = %d", pDb->getVSAZEBRATYPE());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 1); pDb->setSysVar(L"VSAZEBRATYPE", pRb); // or // pDb->setVSAZEBRATYPE(1);

 

File: SysVarDefs.h 

Module: API Reference 

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