QueryBranch.Clear method

AutoCAD Map 3D ActiveX

QueryBranch.Clear method

Deletes all branches and leaves from this branch downward.

Clear( ) As Boolean

Returns nothing.

Consider the sample, Creating a Query. Add the following line to the sample before qry.Define:

andqrybr.Clear

Run the revised sample and then look at the query in the AutoCAD Map UI. Notice that only the Location condition is defined, because andqrybr.Clear cleared the data and property conditions.