GET SOLID EXTENTS

From Macros Wiki
Revision as of 12:05, 17 January 2011 by Mikeo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Up

Command

GET_SOLID_EXTENTS <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>


Get the extents (min/max) of a solid.

Parameters

<solid number>
Solid number.
<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_SOLID_EXTENTS 3, xmin, ymin, zmin, xmax, ymax, zmax