Hide Table of Contents

Command Syntax for File and Model Search

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:
  • <string>
  • <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:

Filename Reference Sheet Author
DocType Material Sketch Owner
Number Feature Attribute Project
Description Block Modified Note
Configuration Layer Created Table

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:
"today" "last week" "last month" "last year"
"yesterday" "this week" "this month" "this year"

Operators

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

Search String Results
nut Text beginning with nut, same as nut*
screw nut Text with screw and nut, also text with only screw and only nut
"screw nut" Exact term screw nut
*nut Text with nut in the string, equivalent to *nut* (slow)
description: nut Custom property description containing nut
material: steel Custom property material containing steel
doctype: sldasm Assemblies
filename: 234 File name in document starting with 234
modified: "yesterday" Documents modified yesterday
modified: "last year" Documents modified last year (quotation marks required)
modified: >02/01/2011 Documents modified after the date, which must be specified (not yesterday)
created: 02/01/2011 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


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Command Syntax for File and Model Search
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.