> SolidWorks Fundamentals > Search > Search for Files and Models > File and Model Search Command Syntax
Introduction
Administration
User Interface
SolidWorks Fundamentals
Basic Concepts
Help
SolidWorks Web Site
Search
Searching Help, Knowledge Base, and Forums
Search Commands
Search for Files and Models
Searching for Files and Models
File and Model Search Command Syntax
Opening New and Existing Documents
Saving Documents
Multi-user Environment
Printing
Send Mail
Options
Display
Selection Overview
File Properties
Measurement
Equations
Object Linking and Embedding
Industry-specific Design Tools
Add-Ins
Recording and Playing Macros
Previous Release Interoperability
SolidWorks API
Moving from 2D to 3D
Assemblies
CircuitWorks
Configurations
SolidWorks Costing
Design Checker
Design Studies in SolidWorks
Drawings and Detailing
DFMXpress
DriveWorksXpress
FloXpress
Import and Export
Large Scale Design
Model Display
Mold Design
Motion Studies
Parts and Features
Routing
Sheet Metal
Simulation
SimulationXpress
Sketching
Sustainability Products
SolidWorks Utilities
Tolerancing
Toolbox
Weldments
Workgroup PDM
Troubleshooting
Glossary
Hide Table of Contents Show 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


Related SolidWorks Forum Content

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:  
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 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document SolidWorks 2012 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.