When you define a query, you specify the criteria for selecting objects in one or more drawings. You can use four types of criteria: location, property, data, and SQL. A query searches the active attached drawings, selects the objects that match the conditions you specify, and copies the objects to the current drawing.
You can view and edit the objects, then save them to a new drawing or save them back to their original drawing.
Because markup objects are not stored in the drawing file, you cannot query these objects. To copy them from an attached drawing to the current drawing, open the other drawing directly and copy the markup objects. Then paste them into the current drawing.