SearchSet Studio Open app
Free learning library

Learn search sets from zero.

Never seen a search set or an XML file? Start here. Short lessons with pictures you can click, one small example plant, and plain English all the way to Navisworks.

Beginner path

I'm completely new

Start with what a 3D model is made of. Every term is explained with an everyday example before it is used.

Start at Level 0
Fast track

I already use search sets

Skip the basics and go straight to writing rules, then see what the XML file looks like inside.

Jump to Level 3

Ten levels, one small step at a time

Each lesson answers one question a beginner would ask.

The example used everywhere

Meet the Demo Plant

A small, made-up plant with pipes, valves, pumps and steel in three areas. Every lesson, picture and sample file uses it, so you only learn one example.

40 items3 areas3 property tabs
Area 1Area 2Area 3
Lesson 0.1 · about 4 minutes · hands-on

Why not just click the items you need?

Clicking works for three items. It stops working at three hundred. Try it yourself on a small plant first.

The request

Your lead sends a message

Lead Engineer · 9:12 amCan you pick out every 6-inch carbon steel pipe in Area 2? I need them for the review in ten minutes.

It's like being asked for every red pen in a stationery shop. You can pick up each pen and look at it, or you can ask the shop's computer to list them. Below is the Demo Plant, a small made-up plant with 40 items. Find the pipes yourself first.

Try it by hand

Find them by clicking

Point at anything to read its ID card. Click to pick it (click again to drop it). The timer starts on your first click.

0.0stime
0picked
40items

ID card

Point at an item in the drawing.
Now with a rule

Let the software do the looking

Instead of clicking, you describe what you want. The software checks every item against your description.

The rule

Find items whereType = PipeandSize = 6 inandMaterial = Carbon SteelandArea = Area 2
Now imagine a real project

A real plant model has around 100,000 items

Each dot below stands for 50 items. The orange ones are the few you were actually asked for. Drag the slider to set how long it takes you to check one item by hand.

By hand

83 hours
about 10 working days, if you never make a mistake

With a rule

Seconds
and it never gets tired or skips one
The proper words

That saved rule is called a search set

Search set

A rule you save and reuse, like "6-inch carbon steel pipes in Area 2". Navisworks runs it for you whenever you need those items.

What's next

Before writing rules, you need to know what a model is made of and where values like "6 in" come from. That's Level 1.

Remember

Three things to take away

  1. Picking items by hand is slow and easy to get wrong, even on a 40-item plant.
  2. A rule describes what you want. The software checks every item for you.
  3. A saved rule is called a search set. This course teaches you to build them from zero.

Try it in the app

Have a look around SearchSet Studio. You'll build your first rule in Level 3.

Open SearchSet Studio
Lesson 0.2 · about 3 minutes · hands-on

What will you be able to do by the end?

Here's a preview of the finish line. Press each button to see what search sets let you do with a model.

See it in the plant

Four things you'll do with search sets

All four work the same way: a saved rule picks the items, then Navisworks does something with them.

Try each one

Pick an action. The drawing changes the same way your Navisworks model will.
The route

How you'll get there

Four stages. Each lesson is short and builds on the one before it.

Understand the modelObjects, properties, tabs and values. Level 1.
Write rulesSelection sets, search sets, conditions, AND / OR / NOT. Levels 2–3.
Make the fileFolders, XML, and building sets fast in SearchSet Studio. Levels 4–6.
Use it in NavisworksImport, colour, hide, clash and report. Levels 7–8.
What you need

Nothing to install for now

Levels 0–5

Just this website. Everything runs in your browser on the Demo Plant.

Levels 6–8

SearchSet Studio (free, opens in your browser) and Navisworks with a model you're allowed to practise on.

Remember

Three things to take away

  1. Search sets let you colour, isolate, hide and find items in seconds.
  2. Every one of those starts with the same thing: a rule that picks the right items.
  3. The course goes model → rules → file → Navisworks, one small step at a time.

Try it in the app

Open SearchSet Studio and look at the Manual tab. By Level 6 every box there will make sense.

Open SearchSet Studio
Lesson 1.1 · about 3 minutes · hands-on

What is a 3D model actually made of?

It looks like one big picture of a plant. It isn't. It's thousands of separate pieces placed next to each other.

Everyday example

A Lego house

From far away it's one house. Up close it's separate bricks: you can pick up each one, count them, or take out every red brick. A 3D model works the same way.

One house.

See it in the plant

Every piece is its own object

Click pieces in the drawing, or pick them from the list. The list is like the Selection Tree in Navisworks: every object in the model, sorted into groups.

0clicked
40objects
7kinds
Click any piece. A pipe, a valve, a pump, a column. Each one lights up on its own.

Selection tree

The proper words

Objects, items, elements

Object (or item)

One separate piece of the model: one pipe, one valve, one beam. Different programs call it an object, item or element. They all mean the same thing.

Selection Tree

The Navisworks panel that lists every object in the model in groups. Clicking a name there selects that object in the 3D view.

The Demo Plant has 40 objects. A real plant model often has more than 100,000, which is why picking them one at a time doesn't work.
Remember

Three things to take away

  1. A 3D model is made of many separate objects, like bricks in a Lego house.
  2. Each object can be picked, hidden or coloured on its own.
  3. Navisworks lists every object in the Selection Tree.

Try it in the app

SearchSet Studio works with these objects through rules. You'll write your first one in Level 3.

Open SearchSet Studio
Lesson 1.2 · about 4 minutes · hands-on

How does the software know what each object is?

A pipe and a valve are both just shapes. What makes them different to the software is the information attached to each one.

Everyday example

A school ID card

Two students in the same uniform look alike. Their ID cards tell them apart: name, class, roll number. Every object in a model carries an ID card like this.

Student ID
Demo Public School
NameAsha Verma
Class8 B
Roll number23
HouseRed

Each line has a label (like "Class") and a value (like "8 B").

See it in the plant

Open an object's ID card

Click any object to read its ID card. Then try the three look-ups on the right. They tick themselves when you click the right object.

Look-ups

ID card

Click an object in the drawing.
The proper words

Properties: a name and a value

Property

One line on the ID card. It has a name, like Material, and a value, like Carbon Steel.

Why it matters

Search sets find objects by their properties. "Material = Carbon Steel" means: every object whose Material value is Carbon Steel.

Properties come from the design software the model was made in. Navisworks shows them; it doesn't invent them. If a value is missing or spelled differently, a rule can't find it.
Remember

Three things to take away

  1. Every object carries properties, like lines on an ID card.
  2. Each property has a name (Material) and a value (Carbon Steel).
  3. Some objects have an empty value for a property, like steel with no Material.

Try it in the app

In SearchSet Studio, the Property box is where these names go.

Open SearchSet Studio
Lesson 1.3 · about 3 minutes · hands-on

Why are properties split into tabs?

A real object can have hundreds of properties. Navisworks groups them into tabs, and every rule you write starts by naming the tab.

Everyday example

A form with sections

A long application form is split into sections so you can find things: personal details, address, work. Open and close the sections below.

Personal details
Name
Asha Verma
Date of birth
12 May 2004
Address
City
Pune
Pin code
411001
Work
Name
Demo Engineering Ltd
Role
Trainee

Notice Name appears twice: your name under Personal details, your employer's name under Work. Without the section, "Name" is unclear.

See it in the plant

The Properties window

Click an object, then switch tabs. The Demo Plant has three tabs: Item, Piping and Location. Real models usually have many more.

Where would you look?

Pick a property to see which tab it lives in.
The proper words

Categories, also called tabs

Category (tab)

A group of related properties shown together. In Navisworks each tab in the Properties window is one category.

In a rule

A rule always names both: category then property. For example Location › Area, not just Area.

Tab names come from the design software, so they differ between projects. Always check the real Properties window of your own model before writing rules.
Remember

Three things to take away

  1. Properties are grouped into categories, shown as tabs.
  2. The same property name can appear in more than one tab, so the tab matters.
  3. Every rule names the tab first, then the property.

Try it in the app

In SearchSet Studio the category is called Type, and it comes before Property for exactly this reason.

Open SearchSet Studio
Lesson 1.4 · about 4 minutes · hands-on

Why does "6" not find a 6-inch pipe?

To you, "6", "6in" and "6 in" mean the same thing. To the software they're three different values. This is the number one reason a rule finds nothing.

Everyday example

Searching your phone contacts

You saved your mother as "Mum". Typing "Mom" finds nothing, even though you'd call her either. The phone compares letters, not meanings. Try it.

Search: Mum
See it in the plant

Test a value yourself

Pick a property, then type a value or press one of the ready-made ones. Matching objects light up. Spaces are shown as · so you can see them.

=
The proper words

Values must match exactly

Value

What a property says for one object, written exactly as stored: 6 in, Carbon Steel, Area 2. Units and spaces are part of the value.

The safe habit

Never type a value from memory. Open the Properties window on a real object and copy the value exactly as it appears.

Capital letters count too: this tester treats carbon steel and Carbon Steel as different. Lesson 3.4 covers that and the other reasons a rule can find nothing.
Remember

Three things to take away

  1. The software compares values character by character, not by meaning.
  2. A missing unit, an extra space or a spelling difference means no match.
  3. Copy values from the Properties window instead of typing them from memory.

Try it in the app

SearchSet Studio can import your model's real categories and properties, so you pick names instead of typing them. See Level 6.

Open SearchSet Studio
Lesson 2.1 · about 3 minutes · hands-on

How do you pick objects by hand?

Clicking is the first way everyone selects things. It works, but it forgets easily. Here you'll see why.

Everyday example

Pointing at people in a crowd

At a wedding, the photographer says "you, you and you, come forward". If someone else then points at one more person, the first three are forgotten. That's exactly how clicking works in a 3D model.

See it in the plant

Select the three valves in Area 1

Click a valve. Then click another. Watch what happens to the first one. Turn on Add to selection (in Navisworks you hold Ctrl) and try again. Finally, click an empty spot on the ground.

0selected
0/3Area 1 valves
0times lost
Click a valve in Area 1 (the left bay).

Current selection

Nothing selected.
The proper words

Selecting and the current selection

Selecting

Clicking objects to work with them. A plain click replaces what was selected. Ctrl + click adds to it, or removes an object that's already selected.

Current selection

What is selected right now. It is temporary: one stray click and it's gone. To keep it, you have to save it as a set (next lesson).

Remember

Three things to take away

  1. A plain click replaces the selection. Ctrl + click adds to it.
  2. Clicking empty space clears the selection.
  3. A selection is temporary until you save it as a set.

Try it in the app

SearchSet Studio doesn't select by clicking. It writes rules instead, which you'll start in Level 3.

Open SearchSet Studio
Lesson 2.2 · about 3 minutes · hands-on

How do you keep a selection?

Save it as a selection set. It's a list of objects you can bring back with one click.

Everyday example

The teacher's attendance list

A teacher writes down three names: Asha, Ravi, Meena. Tomorrow she reads the same three names, whoever is in the room. A selection set is that written list.

See it in the plant

Save a selection and bring it back

Select some objects (Ctrl is already on here). Give the set a name and save it. Then press Clear selection and click your set in the Sets window to get the same objects back.

Pick a few objects, for example the four pumps.

The list icon means "selection set": a saved list of objects.

The proper words

Selection set

Selection set

A saved list of exactly which objects were selected. It never changes by itself.

Good for

A one-off group with nothing in common to describe, like "the five spots marked up in today's review".

In Navisworks you save one from the Sets window with Save Selection. SearchSet Studio doesn't make selection sets. It makes search sets, which the next lesson explains.
Remember

Three things to take away

  1. A selection set is a saved list of objects.
  2. Clicking it selects the same objects again.
  3. It stays exactly as saved, even if the model changes.

Try it in the app

Have a look at the Manual tab. It builds search sets, the other kind of set, which comes next.

Open SearchSet Studio
Lesson 2.3 · about 3 minutes · hands-on

How do you save a rule instead of a list?

Save it as a search set. You describe the objects once, and the software finds them for you every time.

Everyday example

"Everyone wearing red"

Instead of writing names, the teacher keeps a rule: "everyone wearing red". Each morning she looks around and applies it again. On a shopping site, a filter like "Size: 9, Colour: Black" works the same way.

See it in the plant

Save a rule instead of a list

Build a one-line rule, check what it finds, then save it as a search set. Click the saved set later and it searches again.

=

The funnel icon means "search set": a saved rule.

The proper words

Search set

Search set

A saved rule. Every time you use it, it searches the model again and picks whatever matches now.

Same window

In Navisworks both kinds of set live in the Sets window, with different icons. SearchSet Studio writes search sets into a file you import there.

Remember

Three things to take away

  1. A search set is a saved rule, not a saved list.
  2. Every time you use it, it searches again.
  3. Navisworks keeps both kinds in the Sets window with different icons.

Try it in the app

The Manual tab is a search set builder. Each row there is a rule like the one you just made.

Open SearchSet Studio
Lesson 2.4 · about 4 minutes · hands-on

What happens when the model changes?

Models change every week. Here you'll see, with your own clicks, why a search set keeps up and a selection set does not.

Everyday example

A classroom with a new student

The teacher wants everyone in a red shirt. She can write down their names, or she can just remember the rule "everyone wearing red". Press play and watch what happens the next day.

Teacher's written list
Asha, Ravi, Meena
3 names, written yesterday
Teacher's rule
"Everyone wearing red"
Finds 3 students today
Yesterday: three students wore red.
See it in the plant

Try it on Area 2 of the Demo Plant

Your boss asks for all carbon steel pipes in Area 2. You will save them two ways, then change the model and compare.

Carbon steelStainless steelIn selection setFound by search set
Point at a pipe to see its ID card.

1Make a selection set

Click each grey pipe to select it (grey = carbon steel). Then save your picks as a list.

2Make a search set

Now save a rule instead of names:

Find items wherePiping›Material=Carbon Steel

3A week later, the model changes

The designer updates Area 2. Make both changes, then look at the two results below.

Selection set (a list)

Not saved yet.

Search set (a rule)

Not saved yet.
Show on the drawing:
The proper words

What Navisworks calls them

Selection set

Saves which items you selected. It stays the same until you change it yourself, even if the model is updated.

Like the teacher's written list.

Search set

Saves the search rule. Every time you use it, it searches the current model again, so new or changed items are picked up.

Like the rule "everyone wearing red".
In Navisworks, both kinds live in the Sets window. SearchSet Studio makes search sets, and saves them as an XML file you import there.
Remember

Three things to take away

  1. A selection set is a saved list of items. It never updates on its own.
  2. A search set is a saved rule. It looks again every time, so it keeps up with model changes.
  3. Models change all the time, so for anything you'll reuse, a search set is usually the safer choice.

Try it in the app

Build the rule "Material = Carbon Steel" yourself in SearchSet Studio.

Open SearchSet Studio
Lesson 2.5 · about 3 minutes · decide

Selection set or search set?

Both are useful. Here's a quick way to choose, with real examples.

Decide in two questions

Which set should I use?

Answer two quick questions about your task and you'll get a suggestion with the reason.

1. Can you describe the objects with a rule? (for example "all pumps" or "line 200-CW-008")
Real situations

Six common jobs and what to use

The proper words

The rule of thumb

Use a search set when…

You can describe the objects, and you'll reuse the set or the model will change. That's most of the time.

Use a selection set when…

The objects have nothing in common to describe, and you need them only for now.

Remember

Three things to take away

  1. If you can describe the objects, a search set is usually the better choice.
  2. Selection sets suit one-off groups with nothing in common.
  3. When the model changes, only search sets keep up.

Try it in the app

Every set SearchSet Studio makes is a search set, so they keep up with model updates.

Open SearchSet Studio
Lesson 3.1 · about 4 minutes · hands-on

What are the parts of a rule?

Every rule, however long, is built from the same four blanks. Fill them once and you've written a search set.

Everyday example

A sentence with blanks

Ordering at a tea stall: "one cutting chai, less sugar". You fill a few blanks and the order is clear. A rule is the same: find objects whose [tab] › [property] [condition] [value].

See it in the plant

Build your first rule

Fill the four blanks. The drawing, the plain-English sentence and the SearchSet Studio row all update together.

More conditions in 3.2

In plain English

As a row in SearchSet Studio

The proper words

Condition, also called a search statement

Condition

One rule line: category (tab), property, condition operator and value. Navisworks calls it a search statement.

Names in the app

SearchSet Studio calls the tab Type, then Property, Condition and Value. Same four blanks, same order.

Remember

Three things to take away

  1. A condition has four parts: tab, property, condition, value.
  2. The tab comes first because property names can repeat across tabs.
  3. SearchSet Studio uses the same four boxes: Type, Property, Condition, Value.

Try it in the app

Open the Manual tab and fill one row: Type, Property, Condition, Value. That's this lesson in the real tool.

Open SearchSet Studio
Lesson 3.2 · about 5 minutes · hands-on

What else can a rule check besides "equals"?

The condition is the test in the middle of a rule. Changing it changes which objects get through.

Everyday example

Airport security gates

One gate lets through only passengers going to Delhi (equals). Another lets through everyone except crew (not equals). Another checks only whether you have a boarding pass at all (defined). Same people, different gates.

See it in the plant

Try each condition

Pick a condition. Each comes with a ready-made example you can edit.

Numbers only

Greater than and less than

>, >=, <, <= compare numbers, for example "Length greater than 6 m". In the Demo Plant every value is text (like 6 in), so there's nothing to try them on here. In real models, sizes and lengths are often stored as numbers, and then these work.

SearchSet Studio also lists a few advanced conditions (never, attrib, same_type and others). You won't need them in this course.

The proper words

Condition operators

The six you'll use most

=, not equals, contains, wildcard, defined, undefined.

Wildcards

In a wildcard value, ? stands for exactly one character and * for any number of characters.

Remember

Three things to take away

  1. = needs an exact match. contains needs the value somewhere inside.
  2. Wildcard uses ? for one character and * for any number.
  3. Defined and undefined check whether a property has a value at all.

Try it in the app

In the Manual tab, open the Condition drop-down: you'll see these same conditions.

Open SearchSet Studio
Lesson 3.3 · about 5 minutes · hands-on

How do you combine two conditions?

One condition is rarely enough. AND, OR and NOT let you join them into exactly the group you need.

Everyday example

Filtering a food menu

"Veg and spicy" gives fewer dishes. "Veg or spicy" gives more. "Veg but not spicy" leaves out the hot ones. Joining conditions works exactly like this.

See it in the plant

Join two conditions

Set conditions A and B, then switch the logic. The circles show which part is found.

=
=

As rows in SearchSet Studio

The proper words

AND, OR, NOT

AND / OR

AND: both must match, so you get fewer objects. OR: either can match, so you get more. Navisworks joins statements with AND unless you say otherwise.

NOT

Flips a condition: it finds the objects that don't match. In SearchSet Studio, the Logic column sets AND, OR and NOT for each row.

Remember

Three things to take away

  1. AND narrows: every condition must match.
  2. OR widens: any condition can match.
  3. NOT flips a condition to find what doesn't match.

Try it in the app

In the Manual tab, add a second row and change its Logic. Watch how the rule reads.

Open SearchSet Studio
Lesson 3.4 · about 5 minutes · practice

Why did my rule find nothing?

It's the most common beginner problem, and it's almost always one of six small mistakes.

Fix the rule

Six rules that find nothing

Each rule below looks right but finds zero objects. Pick one, read why, then apply the fix. Nothing is scored.

Pick a broken rule on the left.
Before you blame the software

A five-point check

  1. Tab: is the property really in that tab? Check the Properties window.
  2. Property name: spelled exactly as shown?
  3. Value: exact units, spaces and capital letters? Copy it, don't type it.
  4. Logic: AND where you meant OR? An object can't be a pipe and a valve.
  5. Does the value exist? Look at a real object that should match.
The proper words

About capital letters

On an = condition, Navisworks needs the value to match exactly. In Find Items you can right-click a statement and choose Ignore String Value Case so capital letters don't matter. The safest habit is still to copy the value exactly as it appears.
Remember

Three things to take away

  1. Most empty results come from a value that isn't exactly right.
  2. Check the tab, the property name, the value and the logic.
  3. Always test a new rule against a real object you know should match.

Try it in the app

Before exporting from the Manual tab, check each row against a real object in Navisworks.

Open SearchSet Studio
Lesson 4.1 · about 3 minutes · animation

Why would anyone need 200 search sets?

One set is easy to find. But real jobs need a set for every area, service and material, and the list grows much faster than you'd expect.

Everyday example

200 apps on one home screen

Picture every app on your phone on a single screen, in the order you installed them. Nothing is missing, but finding the bank app means scrolling and squinting. Press the button and try to spot it.

12 apps. The bank app (amber) is easy to see.
See it in the plant

Watch the Sets window grow

Each step splits the Demo Plant a little finer: by area, then by service, then by type. Real jobs do the same. Click any set to light up what it finds. Then try to find the one named in the box.

3sets in the list
–position of the target
0sets you clicked

Find this set:

On a real plant

The same habit, multiplied

The Demo Plant has 3 areas. A real plant has many more. Move the sliders: one set for every mix you need adds up fast.

The proper words

The Sets window and a flat list

Sets window

The Navisworks panel that lists every saved selection set and search set. Click a set there and its objects are selected.

Flat list

All sets side by side at one level, with nothing grouping them. Fine for 10 sets, slow for 200. The fix is folders, in the next lesson.

Many sets are a good sign, not a mistake. Each one answers one question about the model. The problem is only finding them again.
Remember

Three things to take away

  1. Real jobs need one set for every mix of area, service, material and so on.
  2. The count multiplies: 10 areas × 5 services × 2 materials is already 100 sets.
  3. A flat list of hundreds of sets is hard to use. Folders fix that.

Try it in the app

Open the app and look at the folder list. Every set you build is listed there, which is where tidy folders start to matter.

Open SearchSet Studio
Lesson 4.2 · about 4 minutes · hands-on

How do I keep hundreds of sets tidy?

Put them in folders, just like files on your computer. A folder holds sets, and it can hold other folders too.

Everyday example

Shelves in a wardrobe

Shirts on one shelf, trousers on another, winter clothes on the top. The clothes are the same as before. You just know where to look. Folders do this for sets: they don't change what a set finds, only where you keep it.

See it in the plant

Sort the Demo Plant sets into folders

Drag each set into its area folder. On a phone, tap a set, then tap a folder. Click a folder name to light up everything its sets find.

Not in a folder

Sets window

The same folders in the XML file

Going deeper

Folders inside folders

When one area folder gets crowded, split it again. A folder can hold sets and other folders, as deep as you need. Two or three levels are usually enough.

Demo Plant
Area 2
PipingArea 2 - Cooling WaterArea 2 - Steam
EquipmentArea 2 - Pumps
SteelArea 2 - Steel

In SearchSet Studio

In a spreadsheet for Bulk Import, the folder column holds the whole path with a slash between levels: Demo Plant/Area 2/Piping.

The proper words

Folder, also called a view folder

Folder

A container in the Sets window that groups sets and other folders. In the XML file it's the viewfolder box you met in lesson 5.4.

Top level

Sets that aren't in any folder sit at the top of the Sets window. SearchSet Studio lists them as Not in a folder.

Moving a set into a folder never changes which objects it finds. The rule stays the same; only its place in the list changes.
Remember

Three things to take away

  1. Folders group sets so you can find them, like shelves in a wardrobe.
  2. Folders can hold other folders. Two or three levels are usually enough.
  3. A folder only organises. It never changes what a set finds.

Try it in the app

Make a New folder in the app's folder list and drag a set into it. In Bulk Import, tick Has Folder column and write a path like Area 2/Piping.

Open SearchSet Studio
Lesson 4.3 · about 4 minutes · hands-on

What makes a good set name?

A good name tells you what a set finds without opening it, and it sits next to its neighbours in any sorted list.

Everyday example

Labelled spice jars

A kitchen shelf with twenty identical steel jars and no labels: you open each one to find the turmeric. Label them and you never open the wrong jar. A set called "New Set 7" is an unlabelled jar.

See it in the plant

Fix five bad names

Pick a name. The plant shows what the set really finds. Then press the button to see a better name and why.

Pick a name on the left.
Your turn

Build a naming pattern

Choose what goes first and how the parts are joined. The list shows Demo Plant sets sorted A to Z, the way many lists and spreadsheets sort them. Watch how the first part decides what ends up together.

Start with

Include

Words

    Check your own

    Test a name you'd use

    Type any set name. The checks below are the common slips. Nothing is scored.

      The proper words

      Naming convention

      Naming convention

      One agreed pattern for every set name, used by the whole team. For example: Area - Service - Material - Type.

      Short codes

      Shortened words such as CW for Cooling Water or CS for Carbon Steel. Fine if everyone knows them, so write the list down once.

      Set names must be unique inside a folder. SearchSet Studio warns you if two sets in one folder share a name.
      Remember

      Three things to take away

      1. A name should say what the set finds, not when or by whom it was made.
      2. Go from general to specific, in the same order every time.
      3. Leave out slashes, extra spaces and words like "new", "test" or "final".

      Try it in the app

      Before your next Bulk Import, check the set name column against your pattern. Fixing names in a spreadsheet takes seconds. After import, you would rename them one by one in Navisworks.

      Open SearchSet Studio
      Lesson 5.1 · about 3 minutes · hands-on

      What is a file format?

      Before looking at XML, it helps to know why programs are so fussy about how a file is laid out.

      Everyday example

      An envelope

      The post office can deliver your letter because everyone agrees where things go: address in the middle, stamp top right, sender top left. Put the address in the wrong place and the letter gets lost, even though every word is still there.

      From: Asha Verma
      Pune
      STAMP
      To: Ravi Kumar
      12 Station Road
      Surat 395003
      Address in the agreed place: the post office can read it.
      See it in the plant

      One search set, three formats

      Here is the same search set written for three different readers. The information is identical. Only the layout changes, and each program expects its own layout.

      
                  
      The proper words

      File format and file extension

      File format

      The agreed layout of a file, so a program knows where to find each piece of information.

      File extension

      The letters after the dot that tell you the format: .xml, .csv, .xlsx, .nwd.

      Navisworks can import search sets from an XML file, and they appear in its Sets window. That's why SearchSet Studio produces XML.
      Remember

      Three things to take away

      1. A file format is an agreed layout, like where the address goes on an envelope.
      2. The same information can be written in different formats for different readers.
      3. Navisworks reads search sets from XML files.

      Try it in the app

      Look at the Download .xml button in the Manual tab. That's the file this level is about.

      Open SearchSet Studio
      Lesson 5.2 · about 3 minutes · hands-on

      What is XML?

      XML is a way of writing information as labelled boxes inside each other. Once you see the boxes, the text stops looking scary.

      Everyday example

      A packed lunch

      A lunch bag holds a tiffin and a bottle. The tiffin holds three boxes. Each container has a label and may hold other containers. That's all XML is: labelled boxes inside labelled boxes.

      See it in XML

      The same lunch, as boxes and as text

      Point at a line of text to see its box light up, or point at a box to see its lines. Each box starts with <name> and ends with </name>.

      
                  
      The rules

      Four rules every XML file follows

      1. Every box that opens must close: <box> … </box>.
      2. Boxes must close in the right order: inner box first, then the outer one.
      3. There is exactly one outer box around everything.
      4. Names must match exactly, including capital letters: <Box> is not closed by </box>.
      The proper words

      Elements and tags

      Element

      One labelled box and everything inside it. <box>Dal</box> is one element.

      Tag

      The label itself. <box> is the opening tag and </box> the closing tag.

      Remember

      Three things to take away

      1. XML is labelled boxes inside labelled boxes.
      2. Each box opens with <name> and closes with </name>.
      3. Boxes close in order, and one outer box holds everything.

      Try it in the app

      Download an XML from the Manual tab and open it in Notepad. You'll see the same kind of nested boxes.

      Open SearchSet Studio
      Lesson 5.3 · about 4 minutes · hands-on

      What are tags and attributes?

      Tags are the boxes. Attributes are the stickers on the boxes. One missing character and the whole file stops being readable.

      Everyday example

      A box and a sticker

      A steel tiffin box might have a sticker saying colour: steel, tiers: 3. The sticker describes the box; the food is what's inside. In XML, stickers are called attributes.

      Try it yourself

      Edit real XML and watch it check itself

      Change anything in the text. The page checks it with the same rules every program uses. Then press the mistake buttons to see what breaks.

      Try a common mistake

      The proper words

      Attributes

      Attribute

      A name="value" pair written inside an opening tag, like tiers="3". The value always sits in quote marks.

      In search sets

      <selectionset name="CS pipes">: name is an attribute holding the set's name. You'll meet it in the next lesson.

      Remember

      Three things to take away

      1. Tags make the boxes; attributes are name="value" stickers on the opening tag.
      2. Attribute values always go inside quote marks.
      3. A single missing or extra character makes the file unreadable.

      Try it in the app

      When SearchSet Studio writes your file, every tag is closed and every value quoted for you.

      Open SearchSet Studio
      Lesson 5.4 · about 5 minutes · hands-on

      What does a search set look like inside the XML?

      Everything from Levels 1–3 is in this file: the tab, the property, the condition and the value, wrapped in labelled boxes.

      See it in XML

      A real search set file, line by line

      This is the exact layout SearchSet Studio writes. Click or point at any line to see what it does. Change the values below and the file, the drawing and the explanation update together.

      
                    
      Point at a line to see what it means.

      In the Sets window

      Run it

      What this file finds in the Demo Plant

      The proper words

      The parts you'll recognise from now on

      Yours to decide

      Folder name, set name, and for each condition: category, property, condition (test) and value.

      The tool fills in

      The outer wrapper, the guid (a unique ID), flags (numbers for the logic), the internal names and the data type. You never type these.

      Guids are shortened with … on this page so the lines fit. Real ones are 36 characters long.
      Remember

      Three things to take away

      1. A selectionset box holds one set; a viewfolder box is a folder.
      2. Each condition box holds a category, a property and a value.
      3. You decide the names and values; the tool fills in the technical parts.

      Try it in the app

      Build the same set in the Manual tab, download the XML and compare it with this page.

      Open SearchSet Studio
      Lesson 5.5 · about 3 minutes · hands-on

      Why not just type the XML yourself?

      You could. For one set it's fine. For two hundred, it's hours of typing where a single wrong character breaks the whole file.

      The numbers

      Typing it vs filling a table

      Set how many search sets you need. The race shows roughly how long each way takes.

      Typing XML
      Filling a table

      One character

      A single "&" breaks a hand-written file

      A pipe service named Oil & Gas looks harmless. In XML, & has a special meaning, so typing it plainly breaks the file. Press the buttons.

      
                  
      The proper words

      Generated XML

      Generated

      Written by a program from your table, not typed by hand. Every tag is closed, every value quoted and every special character made safe.

      Your job

      Get the categories, properties and values right. That's what Levels 1–3 taught. Level 6 shows how SearchSet Studio turns your table into XML.

      Remember

      Three things to take away

      1. Each set takes 10 or more lines of XML, so hundreds of sets mean thousands of lines.
      2. One wrong character, like a plain &, makes the whole file unreadable.
      3. Let a tool write the XML; you focus on the right values.

      Try it in the app

      Next level: building sets fast in SearchSet Studio, with Manual, Quick List and Bulk Import.

      Open SearchSet Studio

      Feedback

      Found a problem? Tell me.

      One person builds this, and the reply comes from him. Bug reports, wrong wording and ideas are all welcome.

      Open in your mail app

      Or write to searchsetstudio.contact@gmail.com yourself.

      Nothing is sent from this page. The button opens your own mail app with the message already written. No form is submitted, and nothing you type here is stored or sent anywhere until you press send in your mail app.