Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSSILHEDGES
Syntax
C++
OdInt16 VSSILHEDGES;
Type
OdInt16
Initial value
Depends on the visual style
Read-Only
No
Saved In
Nondatabase, Quasi variable
Versions
2007+

 

The VSSILHEDGES variable determines whether silhouette edges of 3D entities are displayed in the visual style for the current viewport. The value can be: 

 

Value
Description
0
Display off
1
Display on

 

The current visual style defines the initial value: 

 

Value
Description
0
2D Wireframe
1
Conceptual
1
Hidden
0
Shaded
1
Shaded with Edges
1
Shades of Gray
1
Sketchy
0
Wireframe
0
X-ray
0
Realistic

 

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"VSSILHEDGES"); OdInt16 status = pRb->getInt16(); odPrintConsoleString(L"nSilhouette edge display status = %d", status);

For example, to set the value:

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

 

File: QuasiVarDefs.h 

Module: API Reference 

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