CadRemoteBounds
from OpenCAD2D.Remote import CadRemoteBounds
class CadRemoteBounds(System.Object) ยท CadRemoteBounds in the .NET reference
The boxes of the entities of a drawing as the app draws them (CadRemoteDocument.GetBounds): a handle and four numbers a row, kept as two arrays so that a drawing of 100 000 entities is two arrays and no 100 000 objects. A row is the box of one entity in the order the space is drawn; an entity that draws nothing has none.
Properties and fields
Boxes
@property
def Boxes(self) -> System.Array[float]
Gets the boxes, four numbers a row in the order of CadRemoteBounds.Handles: the least X, the least Y, the greatest X and the greatest Y, in the units of the drawing.
Count
@property
def Count(self) -> int
Gets the number of rows.
Handles
@property
def Handles(self) -> System.Array[str]
Gets the handle of each row.
Methods
BoxOf
def BoxOf(self, row: int) -> System.Array[float]
Gets the box of a row as its four numbers: the least X, the least Y, the greatest X and the greatest Y.