vports


(vports)

This function returns a list of one or more viewport definitions, for the active model or layout.

Arguments

none

Return

list of viewport definition lists :
each viewport definition uses the format :
(vportId LowerLeftPoint UpperRightPoint)

Example

TILEMODE=1 : (vports)  ((2 (0.0 0.0) (1.0 1.0)))
TILEMODE=0 : (vports)  ((1 (-28.613 -13.59) (285.613 208.59)) (2 (25.7 19.5) (231.3 175.5)))

Remarks

the active viewport is always the first definition list in returned list;
TileMode ON : all coordinates are in range 0...1, as relative factor
TileMode OFF : all coordinates are PaperSpace coordinates for the VPorts objects



©  Bricsys NV. All rights reserved.