tagdictionary-HasAncestor

HasAncestor is one of several possible TagRule conditions, which are used to specify a tag rule or tag validity criteria.

Figure 1. Example HasAncestor Condition slot with Filter


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.