The SPLINESEGS variable stores the number of segments for spline-fit polylines generated by the PEDIT/Spline command. The value is a non-zero integer number from -32768 to 32767. A negative value generates circular segments. A positive value generates linear segments. A zero value is not applicable. Fit-type polylines use arcs as approximating segments.
Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
OdDbDatabase::getSPLINESEGS()
OdDbDatabase::setSPLINESEGS()
For example, to get the value:
OdRusBufPtr pRb = pDb->getSysVar(L"SPLINESEGS");
OdInt16 number = pRb->getInt16();
odPrintConsoleString(L"nNumber of segments = %d", number);
// or //
odPrintConsoleString(L"nNumber of segments = %d", pDb->getSPLINESEGS());