TN IT345 Setting Custom Current Asset from ArchestrA Graphics in OMI
Description
This article from InSource shows how to set the current asset for OMI navigation as opposed to using the built in navigation tree apps.
- Author: Chris Selph
- Published: 9/15/2019
- Applies to: Application Server 2017 and higher
Details
Navigation in OMI is typically done with the navigation tree apps or breadcrumb app. When clicking an object in the model tree it sets the "current asset" to that object. This causes automatic content display based on archestra graphics in that object etc. You can set the current asset with archestra graphic scripting and animation links as seen below.
Edit an archestra graphic and add a visual element:
Add an action script animation link and set the value of MyViewApp.Navigation.CurrentAsset to the target object in the model view.