3D Plugins – 3D Object Naming Scheme
See 3D Plugin Template to get started.
Every 3D Object has a name or ID that can be used in code. It is designed to identify the 3D Object, Instance, parent 3D Object, and Instance of the Parent (and sometimes additional information about the object as needed).
A sample box that is part of a Building:
104 – this number provides the Instance of the Object and defines the Index number for the Array. (WTW.buildingMolds provides the full 3D Object definition).
lc78zuy3i096ii5m – this is the unique ID for the 3D Object definition. This is the value used in the database as the Key Value. (select * from wtw_buildingmolds where buildingmoldid = ‘lc78zuy3i096ii5m’;)
2 – this number provides the Instance of the parent 3D Object and defines the Index number for the Array. By default, 3D Objects are parented to the WTW.connectingGrid Array 3D Object, therefore, WTW.connectingGrid provides the full parent 3D Object definition. Note that it may be parented to an Action Zone (WTW.actionZones) if part of a moving 3D Object like a swinging or sliding Door.
u6drrcc8r789da3r – this is the unique ID for the parent 3D Object definition. This is the value used in the database as the Key Value. (select * from wtw_connectinggrids where connectinggridid = ‘u6drrcc8r789da3r’;)
box – optional additional data about the object or state of the object. It may show the shape, hover condition, or other identifying “current state” data.