http://developer.vectorworks.net/index.php?title=Search_Criteria_Format&feed=atom&action=historySearch Criteria Format - Revision history2024-03-28T23:19:29ZRevision history for this page on the wikiMediaWiki 1.41.0http://developer.vectorworks.net/index.php?title=Search_Criteria_Format&diff=26560&oldid=prevRoot at 16:54, 15 September 20232023-09-15T16:54:05Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:54, 15 September 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{LocationMain|category=LocationWorksheetsSpecial|specific=}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{LocationMain|category=LocationWorksheetsSpecial|specific=}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><div class="rightmenu"></del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">__TOC__</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></div></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Search Criteria Format}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Search Criteria Format}}</div></td></tr>
</table>Roothttp://developer.vectorworks.net/index.php?title=Search_Criteria_Format&diff=26559&oldid=prevRoot at 16:53, 15 September 20232023-09-15T16:53:52Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:53, 15 September 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{LocationMain|category=LocationWorksheetsSpecial|specific=}}</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><div class="rightmenu"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">__TOC__</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></div></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Search Criteria Format}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Search Criteria Format}}</div></td></tr>
</table>Roothttp://developer.vectorworks.net/index.php?title=Search_Criteria_Format&diff=25460&oldid=prevRoot: Replaced content with "{{Search Criteria Format}}"2021-03-12T21:38:49Z<p>Replaced content with "{{Search Criteria Format}}"</p>
<a href="http://developer.vectorworks.net/index.php?title=Search_Criteria_Format&diff=25460&oldid=25457">Show changes</a>Roothttp://developer.vectorworks.net/index.php?title=Search_Criteria_Format&diff=25457&oldid=prevRoot: Created page with "{{LocationMain|category=LocationVSSpecial|specific=}} <div class="rightmenu"> __TOC__ </div> Search criteria are designed for use with the criteria API and with worksheets to..."2021-03-12T21:34:37Z<p>Created page with "{{LocationMain|category=LocationVSSpecial|specific=}} <div class="rightmenu"> __TOC__ </div> Search criteria are designed for use with the criteria API and with worksheets to..."</p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVSSpecial|specific=}}<br />
<div class="rightmenu"><br />
__TOC__<br />
</div><br />
<br />
Search criteria are designed for use with the criteria API and with worksheets to filter and locate objects by the specified attribute values. Search criteria use the attributes of Vectorworks objects (layer, class, color, line weight, etc.) as a means of selecting and manipulating subsets of items within the file.<br />
<br />
== Search Criteria Format ==<br />
<br />
=== Syntax ===<br />
<br />
Search criteria in scripts are composed of two parts: the '''search attribute type specifier''' and the '''search value'''. The search attribute specifier indicates which attribute will be used to filter objects in the document; the search value specifies the value to be found and matched by the search operation. For example, the search criteria term:<br />
<br />
<code lang="pas"><br />
(C='Edged')<br />
</code><br />
<br />
indicates that a search should be performed for any objects whose class is ''Edged''. In the criteria term, the C attribute type indicates that the search should be performed on the class attribute of objects in the document. The search value ''Edged'' indicates what class will be a match in the search operation.<br />
<br />
The general syntax for search criteria terms is:<br />
<br />
<code lang="pas"><br />
(<search attribute type> = <search value>)<br />
</code><br />
<br />
Parentheses are traditionally used to enclose and indicate individual search terms; they are not required.<br />
<br />
=== Multiple Search Terms ===<br />
<br />
Multiple criteria terms may be specified in order to narrow the search operation to a more specific subset of objects.<br />
Multiple search criteria are created using the & operator to chain individual search criteria terms. In the term<br />
<br />
<code lang="pas"><br />
((L='New Construction') & (C='Phase 1'))<br />
</code><br />
<br />
two search terms are combined to filter for a specific set of objects, in this case any objects on the layer ''New''<br />
''Construction'' whose class is ''Phase'' ''1''. To narrow the search even further, simply add additional search terms:<br />
<br />
<code lang="pas"><br />
((L='New Construction') & (C='Phase 1') & (SEL=TRUE))<br />
</code><br />
<br />
In the example, the selection status attribute type was added, so now only selected objects in the ''Phase 1'' class on layer ''New Construction'' will match the search.<br />
<br />
=== Multiple Search Values ===<br />
<br />
It is also possible to filter for multiple match values using search criteria. Multiple match values use the following<br />
syntax:<br />
<br />
<code lang="pas"><br />
(<attribute type> IN [<search value>,<search value>,...])<br />
</code><br />
<br />
When a search term is specified in this fashion, objects matching any value in the comma delimited value list will be included in the list of objects matching the search. For example:<br />
<br />
<code lang="pas"><br />
(R IN ['Part Data','Subassembly Data','Assembly Data'])<br />
</code><br />
<br />
A search using the above term will match any objects with an attached record matching one of the records in the<br />
search list.<br />
<br />
== Attribute Types ==<br />
<br />
These standard attribute types are available for use in search terms.<br />
<br />
{|class="wikitable"<br />
! Attribute !! Shortcut !! Description !! Notes<br />
|-<br />
| Attached Record <br />
| (R)<br />
| The record attribute specifier will search for objects that have the indicated record attached.<br />
<br />
The record attribute specifier requires the use of the multiple criteria format to specify the record name. For example, to search for objects having the Part Data record attached, the search term would be: <br />
<code lang="pas"> (R IN ['Part Data']) </code> <br />
The record name must be a literal ''STRING'' value.<br />
| <br />
|-<br />
| Class <br />
| (C)<br />
| The class attribute type will search for objects assigned to the specified class. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Fill Background <br />
| (FB)<br />
| The fill background attribute type will search for objects that have the specified fill background. The search value should be a standard Vectorworks color index value <br />
| (which can be obtained with [[VS:RGBToColorIndex| RGBToColorIndex]]).<br />
|-<br />
| Fill Foreground <br />
| (FF)<br />
| The fill foreground attribute type will search for objects that have the specified fill foreground. The search value should be a standard Vectorworks color index value <br />
| (which can be obtained with [[VS:RGBToColorIndex| RGBToColorIndex]]).<br />
|-<br />
| Fill Pattern <br />
| (FP)<br />
| The fill pattern attribute type will search for objects that have the specified fill pattern. The search value should be the standard Vectorworks fill pattern selector value <br />
| (in a range of 0 – 71).<br />
|-<br />
| Layer <br />
| (L)<br />
| The layer attribute type will search for objects on the specified layer. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Line Style <br />
| (LS)<br />
| The line style attribute specifier will search for objects that have the indicated pen style <br />
| (solid, pattern, line type, etc.). The search value should be a standard line style selector value.<br />
|-<br />
| Line Type <br />
| (LT)<br />
| The line type attribute specifier will search for objects that have the indicated line type. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Line Weight <br />
| (LW)<br />
| The line weight attribute specifier will search for objects that have the indicated line weight. The search value should be an ''INTEGER'' value specifying the line weight.<br />
|-<br />
| Markers <br />
| (AR)<br />
| The marker attribute type will search for the indicated marker style. The search value should be one of the supported marker style flag selector values <br />
| (in a range of 0 – 27).<br />
|-<br />
| Object Name <br />
| (N)<br />
| The object name attribute specifier will search for the object which is assigned the specified object name. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Object Type <br />
| (T)<br />
| The object type attribute specifier will search for objects that match the specified object type. The search value must be one of the predefined object type selectors <br />
| (see table at the end of this section for a complete listing).<br />
|-<br />
| Opacity <br />
| (OPA)<br />
| The opacity specifier will search for objects with the specified opacity percentage.<br />
|-<br />
| Pen Background <br />
| (PB)<br />
| The pen background attribute specifier will search for objects that have the specified pen background. The search value should be a standard Vectorworks color index value <br />
| (which can be obtained with [[VS:RGBToColorIndex| RGBToColorIndex]]).<br />
|-<br />
| Pen Foreground <br />
| (PF)<br />
| The pen foreground attribute specifier will search for objects that have the specified pen foreground. The search value should be a standard Vectorworks color index value <br />
| (which can be obtained with [[VS:RGBToColorIndex| RGBToColorIndex]]).<br />
|-<br />
| Pen Pattern <br />
| (PP)<br />
| The pen pattern attribute specifier will search for objects that have the indicated pen pattern. The search value should be a standard pen pattern selector value.<br />
|-<br />
| Selection Status <br />
| (SEL)<br />
| The selection status specifier will search for selected or deselected objects. The search value is a ''BOOLEAN'' value indicating the selection state <br />
| (''TRUE'' for selected, ''FALSE'' for deselected).<br />
|-<br />
| Slab Style <br />
| (SLST)<br />
| (Design Series required) The slab style attribute specifier will search for slab styles with the specified name. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Story <br />
| (STO)<br />
| (Design Series required) The story attribute specifier will search for objects on the specified layer. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Symbol Name <br />
| (S)<br />
| The symbol name attribute specifier will search for symbol instances based on the specified symbol name. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Text Style <br />
| (TSTY)<br />
| The text style attribute specifier will search for text styles with the specified name. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Tile Fill <br />
| (TFI)<br />
| The tile fill attribute specifier will search for tile fills with the specified name. The search value should be a ''STRING'' value which is up to 64 characters in length <br />
| (literals and variables are supported).<br />
|-<br />
| Visibility <br />
| (V)<br />
| The visibility attribute specifier will search for objects based on their visibility status. The search value is a ''BOOLEAN'' value indicating the visibility state <br />
| (''TRUE'' for visible, ''FALSE'' for invisible).<br />
|}<br />
<br />
== Specialized Searches ==<br />
<br />
In addition to the standard attribute types available for use in search terms, scripts also provide specialized search attribute types for additional flexibility in searching a file.<br />
<br />
=== Record Field Values ===<br />
<br />
Record fields may be searched for specific matching values using a specialized attribute type to query the field value.<br />
The syntax for querying record fields is:<br />
<br />
<code lang="pas"><br />
(<record name>.<field name>[< = |<> |> |>= |< |<= ><search value>])<br />
</code> <br />
<br />
The record and field names are STRING values and should be enclosed in single quotes. Any one of the optional<br />
comparison operators can be used to focus the search on a specific subset of items which have the attached record. For example:<br />
<br />
<code lang="pas"><br />
('Assembly Data'.'Base Cost' < 250.00)<br />
</code> <br />
<br />
will search for any items with the attached record whose base cost is less than 250.00 dollars.<br />
<br />
[CMP] undocumented but very useful feature: wildcards ? and * can be used in search values. e.g.<br />
<br />
<code lang="pas"><br />
('Device'.'Name' = 'VJF_*')<br />
</code> <br />
<br />
will match all fields whose values begin with VJF_. My tests show that you can have multiple instances of * and ? in a search term and thet behave quite intelligently. So you can search for strings containing a sub string for example.<br />
<br />
=== Search Symbol Instances (INSYMBOL)===<br />
<br />
The ''INSYMBOL'' attribute specifier will cause the search to enter any symbols encountered and perform a search on the symbols’ definition. For example, suppose you are laying out a large office and wish to count the total number of desk components that will need to be purchased. Your document contains a mixture of individual desk and desk return symbols, plus symbols which are comprised of a combination of the two desk components. A search using the term<br />
<br />
<code lang="pas"><br />
(S IN ['3660 Desk','3660 LH Return'])<br />
</code> <br />
<br />
will return an inaccurate count, as it does not include instances of those symbols which are themselves inside another symbol. Adding the INSYMBOL type specifier to the term:<br />
<br />
<code lang="pas"><br />
((S IN ['3660 Desk','LH Return']) & (INSYMBOL))<br />
</code> <br />
<br />
will force the search to enter any symbols encountered and detect any nested instances of the symbols in the search term.<br />
<br />
=== Search Plug-in Objects (INOBJECT) ===<br />
<br />
The ''INOBJECT'' specifier causes the search to enter plug‐in objects and also evaluate their component objects.<br />
Normally, components of plug‐in objects and symbols are ignored by search criteria. The INSYMBOL and INOBJECT<br />
specifiers affect the traversal of the drawing and cause more objects to be evaluated against the search criteria.<br />
<br />
For example, to count the number of rectangles in the drawing, including rectangles that are inside symbols and<br />
plug‐in objects, use the following:<br />
<br />
<code lang="pas"><br />
COUNT(INSYMBOL & INOBJECT & (T=RECT))<br />
</code> <br />
<br />
=== Search Viewport Instances (INVIEWPORT) ===<br />
<br />
The ''INVIEWPORT'' attribute specifier will cause the search to enter the annotation space of any viewports encountered and perform a search. For example, you may wish to search for drawing labels, or perhaps dimensions, within the annotation space. A search using the term<br />
<br />
<code lang="pas"><br />
(S IN [T=DIMENSION])<br />
</code> <br />
<br />
will return an inaccurate count, as it does not include viewport instances. Adding the ''INVIEWPORT'' type specifier to the term:<br />
<br />
<code lang="pas"><br />
(S IN (INVIEWPORT)&(T=DIMENSION))<br />
</code> <br />
<br />
will force the search to detect any dimensions in the annotation space of viewports.<br />
<br />
In a similar way, you can exclude non‐referenced design layer viewports with the specifier ''NOTINDLVP'' and exclude referenced design layer viewports with ''NOTINREFDLVP''.<br />
<br />
<code lang="pas"><br />
(S IN (NOTINDLVP)&(PON='Door'))<br />
</code> <br />
finds all doors that are not in non‐referenced design layer viewports.<br />
<br />
<code lang="pas"><br />
(S IN (NOTINREFDLVP)&(PON='Door'))<br />
</code> <br />
finds all doors that are not in referenced design layer viewports.<br />
<br />
=== Location (LOC) ===<br />
<br />
The ''LOC'' specifier finds objects that are located within the bounds of a named object, like a fence.<br />
<br />
=== Symbol Flip Status (ISFLIPPED) ===<br />
<br />
The ''ISFLIPPED'' attribute specifier will check the flipped status of symbols or other objects. For example, to perform a count of all flipped instances of a particular symbol:<br />
<br />
<code lang="pas"><br />
((S=’3680 Door’) & (ISFLIPPED))<br />
</code> <br />
<br />
will find only those instances of the symbol which have been flipped. The ''ISFLIPPED'' specifier is useful for<br />
determining orientation of objects for editing or related tasks.<br />
<br />
=== All Objects (ALL) ===<br />
<br />
Using the ''ALL'' attribute type specifier will select all the objects in the document.<br />
<br />
== Search Criteria Tables ==<br />
<br />
The script criteria attribute specifiers are listed in the following table.<br />
<br />
{|class="wikitable"<br />
! Attribute Type !! Type Selector !! Example <br />
|-<br />
| All objects<br />
| ALL<br />
| n/a<br />
|-<br />
| Attached Record<br />
| R<br />
| 64 character STRING<br />
|-<br />
| Class<br />
| C<br />
| C=“Millwork”<br />
|-<br />
| Descend into plug‐in objects<br />
| INOBJECT<br />
| (T=RECT) & INOBJECT<br />
|-<br />
| Descend into symbols<br />
| INSYMBOL<br />
| & (INSYMBOL)<br />
|-<br />
| Descend into viewport annotations<br />
| INVIEWPORT<br />
| & (INVIEWPORT)<br />
|-<br />
| Do not descend into non‐referenced design layer viewports<br />
| NOTINDLVP<br />
| & (NOTINDLVP)<br />
|-<br />
| Do not descend into referenced design layer viewports<br />
| NOTINREFDLVP<br />
| & (NOTINREFDLVP)<br />
|-<br />
| Fill Background<br />
| FB<br />
| Color index value<br />
|-<br />
| Fill Foreground<br />
| FF<br />
| Color index value<br />
|-<br />
| Fill Pattern<br />
| FP<br />
| FP=4<br />
|-<br />
| Flipped status<br />
| ISFLIPPED<br />
| n/a<br />
|-<br />
| Font<br />
| FOT<br />
| FOT=“Arial”<br />
|-<br />
| Font Size<br />
| FSZ<br />
| FSZ=10<br />
|-<br />
| Gradient Fill<br />
| GFI<br />
| GFI=“Fall”<br />
|-<br />
| Hatch Fill<br />
| HFI<br />
| HFI=“Stipple Dark”<br />
|-<br />
| Image Fill<br />
| IFI<br />
| IFI=“Stones”<br />
|-<br />
| Layer<br />
| L<br />
| L=”First Floor”<br />
|-<br />
| Line Style<br />
| LS<br />
| INTEGER value<br />
|-<br />
| Line Type<br />
| LT<br />
| LT=”Line Type‐1”<br />
|-<br />
| Line Weight<br />
| LW<br />
| INTEGER value<br />
|-<br />
| Location is contained within boundary of a named object<br />
| LOC<br />
| (LOC=‘MyRoom’)<br />
|-<br />
| Marker<br />
| AR<br />
| INTEGER selector value<br />
|-<br />
| Marker Size<br />
| ASZ<br />
| ASZ=0.125<br />
|-<br />
| Object Name<br />
| N<br />
| 64 character STRING<br />
|-<br />
| Object Type<br />
| T<br />
| Type selector (see table)<br />
|-<br />
| Opacity<br />
| OPA<br />
| OPA=70<br />
|-<br />
| Pen Background<br />
| PB<br />
| Color index value<br />
|-<br />
| Pen Foreground<br />
| PF<br />
| Color index value<br />
|-<br />
| Pen Pattern<br />
| PP<br />
| PP=3<br />
|-<br />
| Selected status<br />
| SEL<br />
| BOOLEAN value<br />
|-<br />
| Sketch Style<br />
| SST<br />
| SST=“Rough”<br />
|-<br />
| Slab Style<br />
| SLST<br />
| SLST=”SlabStyle‐1”<br />
|-<br />
| Story<br />
| STO<br />
| STO = “Second Floor”<br />
|-<br />
| Symbol Name<br />
| S<br />
| 64 character STRING<br />
|-<br />
| Texture<br />
| TX<br />
| TX=“Glass”<br />
|-<br />
| Text Style<br />
| TSTY<br />
| TSTY=”Text Style‐1”<br />
|-<br />
| Tile Fill<br />
| TFI<br />
| TFI=”Tile‐1”<br />
|-<br />
| Visibility status<br />
| V<br />
| BOOLEAN value<br />
|-<br />
| Wall Style<br />
| WST<br />
| WST=“Wallstyle‐1”<br />
|}<br />
<br />
<br />
{|class="wikitable"<br />
! Object Type !! Type Selector !! Example <br />
|-<br />
| 2D Locus<br />
| LOCUS<br />
| T=LOCUS<br />
|-<br />
| 3D Locus<br />
| LOCUS3D<br />
| T=LOCUS3D<br />
|-<br />
| 3D Polygon<br />
| POLY3D<br />
| T=POLY3D<br />
|-<br />
| Arc<br />
| ARC<br />
| T=ARC<br />
|-<br />
| Bitmap Image<br />
| BITMAP<br />
| T=BITMAP<br />
|-<br />
| Cone, Sphere, Pyramid<br />
| SOLID<br />
| T=SOLID<br />
|-<br />
| CSG Solid<br />
| CSGSOLID<br />
| T=CSGSOLID<br />
|-<br />
| Dimension<br />
| DIMENSION<br />
| T=DIMENSION<br />
|-<br />
| Extrude<br />
| XTRD<br />
| T=XTRD<br />
|-<br />
| Freehand<br />
| FHAND<br />
| T=FHAND<br />
|-<br />
| Group<br />
| GROUP<br />
| T=GROUP<br />
|-<br />
| Layer Link<br />
| LAYERLINK<br />
| T=LAYERLINK<br />
|-<br />
| Line<br />
| LINE<br />
| T=LINE<br />
|-<br />
| Mesh<br />
| MESH<br />
| T=MESH<br />
|-<br />
| Multiple Extrude<br />
| MXTRD<br />
| T=MXTRD<br />
|-<br />
| Oval<br />
| OVAL<br />
| T=OVAL<br />
|-<br />
| PICT Image<br />
| PICT<br />
| T=PICT<br />
|-<br />
| Plug-in Object<br />
| PLUGINOBJECT<br />
| T=PLUGINOBJECT<br />
|-<br />
| Polygon<br />
| POLY<br />
| T=POLY<br />
|-<br />
| Polyline<br />
| POLYLINE<br />
| T=POLYLINE<br />
|-<br />
| Quarter Arc<br />
| QARC<br />
| T=QARC<br />
|-<br />
| Rectangle<br />
| RECT<br />
| T=RECT<br />
|-<br />
| Roof<br />
| ROOF<br />
| T=ROOF<br />
|-<br />
| Roof Element<br />
| ROOFELEMENT<br />
| T=ROOFELEMENT<br />
|-<br />
| Roof Face, Floor, Column<br />
| SLAB<br />
| T=SLAB<br />
|-<br />
| Round Wall<br />
| ROUNDWALL<br />
| T=ROUNDWALL<br />
|-<br />
| Rounded Rectangle<br />
| RRECT<br />
| T=RRECT<br />
|-<br />
| Sub Type<br>(all objects except plug-in objects; <br>available sub types are listed in<br>[[VS:Search_Criteria#Search Criteria Sub Types]] )<br />
| ST<br />
| ST=CONE<br />
|-<br />
| Sub Type (plug-in object names only)<br />
| PON<br />
| PON=“DOOR”<br />
|-<br />
| Sweep<br />
| SWEEP<br />
| T=SWEEP<br />
|-<br />
| Symbol<br />
| SYMBOL<br />
| T=SYMBOL<br />
|-<br />
| Text<br />
| TEXT<br />
| T=TEXT<br />
|-<br />
| Wall<br />
| WALL<br />
| T=WALL<br />
|-<br />
| Worksheet<br />
| SPRDSHEET<br />
| T=SPRDSHEET<br />
|}<br />
<br />
=== Search Criteria Sub Types ===<br />
<br />
When using the ST object type selector for objects other than plug‐in objects, the following sub types are available.<br />
<br />
{|class="wikitable"<br />
! Object Sub Type !! Object Type !! Sub Type Selector !! Example<br />
|-<br />
| Directional Light<br />
| Light<br />
| DIRLIGHT<br />
| ST=DIRLIGHT<br />
|-<br />
| Spot Light<br />
| Light<br />
| SPOTLIGHT<br />
| ST=SPOTLIGHT<br />
|-<br />
| Point Light<br />
| Light<br />
| POINTLIGHT<br />
| ST=POINTLIGHT<br />
|-<br />
| Custom Light<br />
| Light<br />
| CUSTLIGHT<br />
| ST=CUSTLIGHT<br />
|-<br />
| Area Light<br />
| Light<br />
| AREALIGHT<br />
| ST=AREALIGHT<br />
|-<br />
| Line Light<br />
| Light<br />
| LINELIGHT<br />
| ST=LINELIGHT<br />
|-<br />
| Regular Viewport<br />
| Viewport<br />
| REGVIEWPORT<br />
| ST=REGVIEWPORT<br />
|-<br />
| Section Viewport<br />
| Viewport<br />
| SECTVIEWPORT<br />
| ST=SECTVIEWPORT<br />
|-<br />
| Floor<br />
| Floor<br />
| FLOOR<br />
| ST=FLOOR<br />
|-<br />
| Roof Face<br />
| Roof face<br />
| ROOFFACE<br />
| ST=ROOFFACE<br />
|-<br />
| Pillar<br />
| Pillar<br />
| PILLAR<br />
| ST=PILLAR<br />
|-<br />
| Cone<br />
| Solid<br />
| CONE<br />
| ST=CONE<br />
|-<br />
| Sphere<br />
| Solid<br />
| SPHERE<br />
| ST=SPHERE<br />
|-<br />
| Hemisphere<br />
| Solid<br />
| HEMISPHERE<br />
| ST=HEMISPHERE<br />
|-<br />
| Circle<br />
| Arc<br />
| CIRCLE<br />
| ST=CIRCLE<br />
|-<br />
| Opened Arc<br />
| Arc<br />
| OPENEDARC<br />
| ST=OPENEDARC<br />
|-<br />
| Solid Subtraction<br />
| CSG Solid<br />
| CSGSUBTR<br />
| ST=CSGSUBTR<br />
|-<br />
| Solid Addition<br />
| CSG Solid<br />
| CSGADD<br />
| ST=CSGADD<br />
|-<br />
| Solid Intersection<br />
| CSG Solid<br />
| CSGINTER<br />
| ST=CSGINTER<br />
|-<br />
| Solid Section<br />
| CSG Solid<br />
| CSGSECT<br />
| ST=CSGSECT<br />
|-<br />
| Shell<br />
| CSG Solid<br />
| CSGSHELL<br />
| ST=CSGSHELL<br />
|-<br />
| Chamfer<br />
| CSG Solid<br />
| CSGCHAMFER<br />
| ST=CSGCHAMFER<br />
|-<br />
| Fillet<br />
| CSG Solid<br />
| CSGFILLET<br />
| ST=CSGFILLET<br />
|-<br />
| Control Point Based NURBS Surface<br />
| NURBS Surface<br />
| NURBSSURFCTRLP<br />
| ST=NURBSSURFCTRLP<br />
|-<br />
| Interpolated NURBS Surface<br />
| NURBS Surface<br />
| NURBSSURFINTERP<br />
| ST=NURBSSURFINTERP<br />
|}<br />
<br />
== See Also ==<br />
<br />
*[[VS:User Interface]]<br />
*[[VS:Creating a Custom Dialog Box]]<br />
*[[VS:Plug-in Parameter Types]]<br />
*[[VS:Search Criteria]]<br />
*[[VS:Include Files and Encryption]]<br />
*[[VS:The VectorScript Debugger]]</div>Root