Semantic gives users the ability to create and assign custom object properties to Rhino objects with different UI interfaces and reporting. Properties will follow an object when they are imported into Revit.
This page provides an overview of adding a Semantic properties to a Rhino object. In this section, you will find an overview of:
- Using the Class Manager
- Creating a New Object Class with Properties
- Creating a Document Class with Properties
- Creating a Query (Rhino Schedule Report)
- Related Video Tutorial
For a more complete overview of Semantic, visit the documentation site:
Using the Class Manager
1. Launch the Semantic Panel
Semantic can be activated by typing in “SemanticPanel” in the Rhino command line. This will activate a dockable window for managing properties.
2. Activate the Class Manager
The “Class Manager” is where groupings of properties are managed by the user. The user assign an object to a “Class” so that object can inherit the property fields.
Semantic starts with some default classes – for objects, an Internal class will expose computed geometry values, such as area and length.
3. Assign a Rhino Object to a Class
Select some objects (in this case surfaces) and choose to “Assign” them to the Internal class.
By assigning the objects to this class, the objects will have the Internal properties (in this case Area) reported in the Semantic UI.
Selecting “Clear” will remove the values from the objects.
Creating a New Object Class with Properties
1. Create an Object Class
In the Class Manager, click the + sign to Add Object Class. This will let you define a grouping of properties.
2. Name the class and select types of objects it will apply to
Name the class and choose applicable Rhino object types to assign the class to.
3. Add some properties to a class
Click the + sign to choose a property type to create for the class. The first example here is a Number property.
Here a number property is called “Cost SF” with a default value of 150 with a formatting for currency. The user has the option to have number properties represented as a “slider” interface as well.
Another popular property type is the “Category” property which lets the user define a drop-down list of selections and colors.
4. Assign the class to Rhino objects
With the class defined, you can then assign the surface objects to the properties
The property values can be edited in the main Semantic window
Create a Document Class with Properties
1. Add a Document class
A document class exposes properties at a document level in Semantic. These properties can be used to establish global variables that are useful in query formulas.
2. Add a property to the class
You can add groupings of parameters to any class. Here we add a Number property.
For this property “Contingency” a slider interface is used with a maximum and minimum constraint.
3. Check the property in the main window
After saving, the property is exposed as a Document Property in the main Semantic window.
Create a Query (Rhino Schedule Report)
1. Activate the Query Manager
To create or activate queries, you first need to activate the query manager from the Semantic main window.
2. Add a New Query
To create a new query, click the + Add Query button.
3. Edit the Query Fields
The Query Builder interface allows you to establish group fields based on available properties in teh document. The Value fields represent calculated fields and expressions. Here, a Value field is established with the formula [Area]*[Cost SF]*[Contingency]
4. Activate the Query
To see the live query report, you must first set the Query to Active.
The report can stay open when you continue to edit your Rhino model. This is like having a Revit Schedule for your Rhino model!