tagdictionary-HasAncestor

HasAncestor is one of several possible TagRule Conditions which are used to specify a tag rule or tag validity criteria.
Figure 24.   Example HasAncestor Condition slot with Filter
Image

In the example shown, the HasAncestor Condition slot has a Filter subproperty containing the NEQL predicate which queries ancestor entries in the station: hs:ahu or hs:vav. If the Filter NEQL predicate is true for the target object or one of its ancestors, the HasAncestor criteria is met. If an object is a Component and has a parent Component, its ancestor is that parent. If an object is not a Component or is a Component without a parent Component, the endpoint of the first outbound n:parent relation is its ancestor.