Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSSILHWIDTH
Syntax
C++
OdInt16 VSSILHWIDTH;
Type
OdInt16
Initial value
5
Read-Only
No
Saved In
Nondatabase, Quasi variable
Versions
2007+

 

The VSSILHWIDTH variable stores the width in pixels of silhouette edges in the visual style for the current viewport. The value can be in the range 0 to 25. 

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"VSSILHWIDTH"); OdInt16 width = pRb->getInt16(); odPrintConsoleString(L"nSilhouette width = %d", width);

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 12); pDb->setSysVar(L"VSSILHWIDTH", pRb);

 

File: QuasiVarDefs.h 

Module: API Reference 

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