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");