Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
LIMMIN
Syntax
C++
OdGePoint2d LIMMIN;
Type
OdGePoint2d
Initial value
(0.0, 0.0)
Read-Only
No
Saved In
Database
Versions
R12+

 

The LIMMIN system variable stores the lower-left corner of the grid limits for model space or current space (current layout). 

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getLIMMIN()
OdDbDatabase::setLIMMIN()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"LIMMIN"); OdGePoint2d limmin = pRb->getPoint2d(); // or // OdGePoint2d limmin = pDb->getLIMMIN(); odPrintConsoleString(L"nLower-left limits = (%f,%f)", limmin.x, limmin.y);

For example, to set the value:

OdGePoint2d point(0.5, 0.8); OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtPoint2d, point); pDb->setSysVar(L"LIMMIN", pRb); // or // pDb->setLIMMIN( OdGePoint2d(0.5, 0.8) );

 

File: SysVarDefs.h 

Module: API Reference 

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