DimServiceMenuItems: Array;
The DimServiceMenuItems property contains user items of dimension menu.
Use JSON to set the property value and the getDimServiceMenuItems method to get the property value.
User menu items are located before standard ones.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then get a panel in selection wizard:
// Get dimensions selection wizard var dimBarMaster = expressBox.getPropertyBarView().getDimBarMasterView(); // Display panel dimBarMaster.show(); // Get current panel var masterPanel = dimBarMaster.getActivePanel(); // Get array of user menu items masterPanel.getDimServiceMenuItems();
After executing the example user menu items are obtained.