A special syntax lets you create precise file and model searches.
A colon and space separate keywords from the values to be searched for. The syntax is:
- <keyword or custom property>: <value>
A shortcut menu with Copy, Cut, Paste, etc. facilitates editing of search strings.
Keywords and Custom Properties
The following keywords are available:
Any custom property can be a keyword. For example, if a SolidWorks document contains custom property Customer, a search can be Customer: ACME.
Some properties such as Material are mapped to internal SolidWorks values. To bypass the SolidWorks internal search to find specific file custom properties, you can specify FileProperty<property_name> in the search string. For example, FilePropertyMaterial: steel will search only the custom property material for steel and not the SolidWorks internal property.
The date format for Modified and Created is that specified on the local computer (mm/dd/yyyy or dd/mm/yyyy, for example). You can also use the following text arguments with Modified or Created:
The following operators are supported:
- Wildcard. * (asterisk)
- Quotation marks. " " (for exact term, including spaces)
- Spaces for compound strings. (implicit AND)
- Comparison. < and > (with Modified and Created). For example, Created: >02/20/2011 finds documents created since 02/20/2011.
Examples of Search Strings
||Text beginning with nut, same as nut*
||Text with screw and nut, also text with only screw and only nut
||Exact term screw nut
||Text with nut in the string, equivalent to *nut* (slow)
||Custom property description containing nut
||Custom property material containing steel
||File name in document starting with 234
||Documents modified yesterday
|modified: "last year"
||Documents modified last year (quotation marks required)
||Documents modified after the date, which must be specified (not yesterday)
||File creation date
|nut modified: "today"
||Text nut in documents modified today
|nut number: 123
||Text nut in documents with custom property number beginning with 123
|Number: ref876hj Customer: SolidWorks
||Custom property Number with value ref876hj and custom property Customer with value SolidWorks
|created: "yesterday" doctype: slddrw author: eric
||Documents created yesterday with file extension slddrw and custom property author with value eric
|material: steel fileext: drw
||Drawings with steel in annotations or title block