GET SELECTION EXTENTS

From Macros Wiki
Jump to navigationJump to search

Command

GET_SELECTION_EXTENTS <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>


Get the extents (min/max) of all selected geometry, solids, faces and edges.

Parameters

<xmin>
The name of a numeric variable to be set to the minimum X value.
<ymin>
The name of a numeric variable to be set to the minimum Y value.
<zmin>
The name of a numeric variable to be set to the minimum Z value.
<xmax>
The name of a numeric variable to be set to the maximum X value.
<ymax>
The name of a numeric variable to be set to the maximum Y value.
<zmax>
The name of a numeric variable to be set to the maximum Z value.

Example

GET_SELECTION_EXTENTS xmin, ymin, zmin, xmax, ymax, zmax