Creating a simple interaction in the Training Builder requires the use of a Scene Node, an Event and a Response. The Scene node defines which object in the scene is the actor in the event system, but in some cases you might have a large number of objects, which requires you to create a separate event system for each one, and that is by all means inconvenient.
An easy way to solve this problem is to use the Template Node in SimLab Composer, instead of the regular scene node.
Template Nodes use a query system to define a single or multiple objects from the scene, which then can be attached to Event and Response nodes similar to the regular Scene Node.
To create a Template Node, click this icon in the Training Builder.
Once clicked, a new diagram tab will be created with a single template node inside it.
Once the template node is created, you can click on the edit button to open the query dialogue.
There are 3 ways to define objects through the query :
- Name : Searches for objects in the scene by their names.
- Attribute Name : Searches for objects that has a certain attribute name.
- Attribute Value : Searches for object of a specific attribute Value.
Within the query, you can use AND / OR functions to refine the query and pinpoint objects in the scene.
Templates and Attributes
As we have mentioned eariler, a method of searching for objects beside their names, is the use of Attributes. Object Attributes (BIM) are meta data that designers use to technichally document their designs. Its is an essential element in communicating components design and in manufacuring these components.
The ability to pick objects by their attributes is very useful and can be done using the Attributes Manager or the Template Node Query. In some cases where objects names are not helpful, attributes can identify specific objects without much effort.
This is a simple event system that utilizes the Template node. In this example whenever an object with the attribute “Product” is let go (Grab ended) the object will have its rotation reset and will fall to the surface underneath it.
Watch this Tutorial to learn more about the use of Templates in the Training Builder of SimLab Composer.
1 A New Approach to Point Clouds
2 VR Studio Tutorial Series: Learn How To Create VR Experiences Without Coding
3 SimLab Composer vs VR Studio
4 Utilizing multimeter in VR Training
5 VR for Education
6 What is Collaborative Virtual Reality
7 10 Seconds Countdown using SimLab Training Builder
8 FREE VR Software
9 Adding VR power to Moodle
10 SolidWorks Properties Integration with SimLab Composer