Named Ranges
Creating a named range provides an easy-access method for subsequent use of the range. Range creation is performed using the model range
command as follows:
model range create 'fred' position-x 5 500 id 100 200 group 'external' not
geometry group edge 'mainedges' range named-range 'fred'
This is equivalent to:
geometry group edge 'mainedges' range position-x 5 500 ...
id 100 200 group 'external' not
Note that, in the former case, the range fred could be reused without retyping all of the range elements.
Named Ranges vs. Groups
Named ranges and groups are close in effect. Either are used as range elements within a range
. However, a named range is still a range, which means with each use it is possible it will return different objects, depending the range elements that define it and the state of the model. By contrast, repeated uses of a group within a range will return the same objects each time. The group itself must be altered to return different objects.
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |