Logical Operations in a Range Phrase
A range phrase targets a set of objects by specifying one or more range elements (the keywords that follow the range keyword in the command). If multiple range elements are specified, the final set of objects returned by the range phrase will be, by default, the intersection of the separate range elements.
The :lkwd:` union ` keyword may be specified anywhere within a range phrase to return a range that is a union of the present range elements.
The not keyword may be used at the end of a particular range element to return the inverse of the objects specified by the element. The :lkwd:` not ` keyword must appear at the end of the range element specification (e.g., range position-x 0 100 not position-y 0 100 not).
When the keyword:lkwd:` extent \(\ is used, the extent of the object (rather than the object centroid) is used to verify whether the object is within the range. This keyword is only applied to geometric range elements (e.g., :kwd:`range.sphere\)).
Logical Operations & Named Ranges
Using the named-range keyword, an existing named range may be inserted into a range phrase and be treated as a range element within that range phrase. Consequently the logical operations described above will work on a named range exactly as they do on range elements. See the next topic, Named Ranges, for further information.
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |