QueryLeaf.Not property

AutoCAD Map 3D ActiveX

QueryLeaf.Not property

Read-Write

Not As Boolean

Sets or returns whether a Not operator is applied to this condition.

Returns False by default. To apply the Not operator, set it to True.

Note that there is no corresponding QueryBranch.Not property. You can apply a Not operator only to a single condition; you cannot apply it to a group. If you have a situation where applying a Not operator to a group seems to be necessary, you can always manipulate the query structure to avoid it. For example, the expression Not(A Or B) is logically equivalent to Not A and Not B.