0% found this document useful (0 votes)
183 views1 page

AutoCAD Tutorial - Wildcard Patterns

Uploaded by

cmlcaldeira10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
183 views1 page

AutoCAD Tutorial - Wildcard Patterns

Uploaded by

cmlcaldeira10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AutoCAD Tutorial: Wildcard Patterns http://www.ccadinc.com/autocad-tutorials-wildcard.

html

AutoCAD Training | Software | Services | About Us | Contact Us

Training CCAD's AutoCAD Tutorials


Course Outlines
Wildcard Patterns
AutoCAD – The Basics Wildcards are used to specify a list of names, like layer names and block names. Most AutoCAD users are familiar with the
AutoCAD – Beyond the Basics typical wildcards used, * (asterisk) and ? (question). For instance, if you want to turn off all the layers beginning for the
characters DIM in the drawing, select the LAYER command (-Layer in 2000 and up), then the OFF option. Type DIM* to specify
AutoCAD – Advanced Concepts all layers to be turned on.
AutoCAD – Update The * can be combined with other characters to specify a subset of names. Below is an explanation that illustrates some uses of
Autodesk Inventor – The Basics the *.

Pattern Matches Does Not Match


On‑Site Training

all names beginning with FLOOR and ending with


names not beginning with FLOOR
Virtual Classroom Training FLOOR* any combination of characters
BASEFLOOR, 1FLOOR, HVAC
FLOOR1, FLOOR2, FLOOR

CAD Bytes Webinars


all names that include FLOOR anywhere names that do not include FLOOR
*FLOOR*
FLOOR1, BASEFLOOR, 2FLOOR-23 HVAC, BASEMENT
› Tutorials

There are ten wildcard characters that can be used to specify names.

Click the subscribe button below to


receive CCAD's monthly email # (pound) matches any numeric digit
newsletter, which includes free
@ (at) matches any alpha character
tutorials, discounts and our class
schedule! . (period) matches any non-alphanumeric character
* (asterisk) matches any string, including the null string
? (question mark) matches any single character
~ (tilde) matches anything but the pattern
[...] matches any one of the characters enclosed
[~...] matches any character not enclosed
- (hyphen) used inside brackets to specify a range for a single character
' (reverse quote) escapes special characters (reads the next character literally)

Let's look at this list of layer names in a drawing:

0 Floor2elec
Basement Floor3
Elecservice Floorelec
Floor1 Floor4
Floorelec

Please note that the Wildcard Patterns are NOT case sensitive.

The pattern FLOOR* returns FLOOR1, FLOOR2, FLOOR3, FLOOR4, FLOOR1ELEC, FLOOR2ELEC, FLOOR3ELEC and
FLOOR4ELEC.

The pattern FLOOR? returns FLOOR1, FLOOR2, FLOOR3 and FLOOR4.

The pattern FLOOR[13] returns FLOOR1 and FLOOR3.

The pattern *ELEC returns FLOOR1ELEC, FLOOR2ELEC, FLOOR3ELEC and FLOOR4ELEC.

The pattern ELEC* returns ELECSERVICE.

The pattern *ELEC* returns ELECSERVICE, FLOOR1ELEC, FLOOR2ELEC, FLOOR3ELEC and FLOOR4ELEC.

The pattern FLOOR[1-3] returns FLOOR1, FLOOR2 and FLOOR3.

The pattern ~FLOOR* returns 0, BASEMENT, ELECSERVICE and WALLS.

The pattern FLOOR[1-3]* returns FLOOR1, FLOOR2, FLOOR3, FLOOR1ELEC, FLOOR2ELEC and FLOOR3ELEC.

Summary:
When AutooCAD requests a name, frequently a group of names can be specified using a wildcard pattern. Layers, blocks,
linetypes, attributes and files are some of the names that recognize wildcards. You can use wildcard patterns in the
QSELECT command and when creating Layer Property Filters in the Layer Property Manager.

AutoCAD Training | Software | Services | About Us | Contact Us

Copyright © 2013 by CCAD inc. • Designed by CCAD Web Design Services • valid XHTML • valid CSS
Autodesk, AutoCAD, AutoCAD LT, Autodesk Inventor, AutoLISP, and A utodesk Architec tural Desktop are either regis tered trademarks or trademarks of Autodes k, Inc .,
in the USA and/or other countries. All other brand names, product names , or trademarks belong to their respec tive holders.

1 de 1 16-05-2013 23:18

You might also like