Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
PLIMCHECK
Syntax
C++
bool PLIMCHECK;
Type
bool
Initial value
false
Read-Only
No
Saved In
Database
Versions
11+

 

The PLIMCHECK system variable determines whether objects are allowed outside the grid limits for paper space (current paper layout). 

 

Value
Description
false
Objects outside paper limits are allowed.
true
Objects outside paper limits are disallowed.

 

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

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"PLIMCHECK"); bool status = pRb->getBool(); odPrintConsoleString(L"nOutside paper limits status = %s", ((status) ? L"On" : L"Off")); // or // odPrintConsoleString(L"nObjects outside limits are %s for paper space", (pDb->getPLIMCHECK()) ? L"disallowed" : L"allowed");

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdOdResBuf::kRtBool, true); pDb->setSysVar(L"PLIMCHECK", pRb); // or // pDb->setPLIMCHECK(false);

 

File: SysVarDefs.h 

Module: API Reference 

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