Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSINTERSECTIONCOLOR
Syntax
C++
OdString VSINTERSECTIONCOLOR;
Type
OdString
Initial value
"7"
Read-Only
No
Saved In
Nondatabase, Quasi variable
Versions
2007+

 

The VSINTERSECTIONCOLOR variable stores the tint of intersection polylines in the visual style for the current viewport when it is set to 2D Wireframe. Value 0 defines a color ByBlock, value 256 defines a color ByLayer, value 257 defines a color ByEntity, values 1 to 255 define the ACI color. 

Note: An existing visual style is not changed when the system variable gets a new value. Temporary visual style will be created as a clone of visual style assigned for current viewport. 

 

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

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSINTERSECTIONCOLOR"); OdString tint = pRb->getString(); odPrintConsoleString(L"nColor of intersection = %s", tint);

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtString, L"128"); pDb->setSysVar(L"VSINTERSECTIONCOLOR", pRb);

 

File: QuasiVarDefs.h 

Module: API Reference 

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