Searching Using Search Scopes with the Search Language

You can use the same search scopes as with Find... (except From search results that is only available in the Find dialog box), using context aliases.

See Also
Running a Search through Power Input
Use the appropriate alias:
AliasDescription
all Searches the whole tree from top to bottom, to find objects created using all apps.
in Locates the appropriate elements in the active object and in the app you are using.

This is the default.

from Searches the elements in the active object to the bottom of the tree. For example, in a Part document, it searches both parts and sketches.
sel If you already selected objects before running Find..., this option searches from the selected objects to the bottom of the tree.
scr Searches for objects visible in the current tab. It does not search for elements that are unactivated or invisible in the 3D area. For example, elements transferred to the No Show space, elements that are not in the current filter or not in the current mask, or features used to build other features that appear in the tree but not in the 3D.

Always place scope aliases at the end of the search string, and after the , like this:

type:Hole, all

The separator is the comma (",") for the English, Japanese, Korean, and simplified Chinese environments, and the semicolon (";") for all other supported environments.