DRAW Reference Manual
Draw the Design
:
Define Views Using the AUTO Commands
: AUTOSIZE Command
AUTOSIZE Command
The AUTOSIZE command is typically:
AUTOSIZE
AUTOSIZE /150-A-3-Branch1
AUTOSIZE /Equipment-List
The command carries out various operations:
•
The VIEW's IDLN (ID List Name) attribute is set to the name of the Design item or IDList element to be drawn (/150-A-3-Branch1 or /Equipment-List in our second and third examples).
•
The VIEW's THPO (Through Position) attribute is set to the World coordinates corresponding to the centre of interest of the Design items to be drawn.
•
The VIEW's SIZE (View Rectangle Size) attribute is set to a value calculated such that the drawn Design items fit within the View rectangle. The current values of the VIEW's DIR and VSCA attributes are used (these define the 'looking direction' and scale).
Note:
The AUTOSIZE command only sets the IDLN attribute if it has not already been set. A second AUTOSIZE command does not change the IDLN (but the specified Design item or IDList is used in the recalculation of the SIZE and THPO attributes). An AUTOSIZE command by itself uses the existing IDLN setting to recalculate SIZE and THPO.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.