Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
LIMMAX
Syntax
C++
OdGePoint2d LIMMAX;
Type
OdGePoint2d
Initial value
(12.0, 9.0) | (420.0, 297.0)
Read-Only
No
Saved In
Database
Versions
R12+

 

The LIMMAX system variable stores the upper-right corner of the grid limits for model space or current space (current layout). 

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getLIMMAX()
OdDbDatabase::setLIMMAX()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"LIMMAX"); OdGePoint2d limmax = pRb->getPoint2d(); // or // OdGePoint2d limmax = pDb->getLIMMAX(); odPrintConsoleString(L"nUpper-right limits = (%f,%f)", limmax.x, limmax.y);

For example, to set the value:

OdGePoint2d point(10.5, 8.4); OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtPoint2d, point); pDb->setSysVar(L"LIMMAX", pRb); // or // pDb->setLIMMAX( OdGePoint2d(10.5, 8.4) );

 

File: SysVarDefs.h 

Module: API Reference 

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