Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSEDGEJITTER
Syntax
C++
OdInt16 VSEDGEJITTER;
Type
OdInt16
Initial value
(–2)
Read-Only
No
Saved In
Database
Versions
2010+

 

The VSEDGEJITTER variable switches the display of edges to be viewed with several linear streaks, as if the edges were sketched using a pencil. The value defines the number of jitters which can be: 

 

Value
Description
1
Low jitters
2
Medium jitters
3
High jitters

 

A negative value turns off the sketch effect, but the variable continues to store the number of jitters. 

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"VSEDGEJITTER"); OdInt16 jitters = pRb->getInt16(); odPrintConsoleString(L"nJitters = %d", jitters);

For example, to set the value:

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

 

File: QuasiVarDefs.h 

Module: API Reference 

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