ribbon customizations importecxml - Keyin vs Script

Im trying to set up a custom tool ribbon that users can download when needed.  I cannot point to a shared dgnlib because my users spend half their time off the network.  The importecxml function seems to be the cleanest solution but im getting different effects depending how i use it.

When I use the command ribbon customizations importecxml as a key-in in an active drawing it works fine.  However, when I apply the same command with the address of the .xml to a button or script it simply asks if I want to import it to the dgnlib but never updates the actual ribbon. 

I'd like to save it to a button so users don't have to remember the path to the shared .xml.  I want them to click a button and have the ribbon update.

Parents
  • When using the importecxml key-in it  exports/imports  the ribbon customization to and from the ECXml files. Ribbon ECXml is a specialized type of XML file that can be exported from DGNLibs that contain the ribbon customization data. If the active file is not a GUI DGNLib, then the personal.dgnlib is processed. This is consistent with the Task customizations and allows administrators to maintain ribbon customizations using text editors.

    Ribbon, tasks and tool customizations are stored in a .dgnlib file.


Reply
  • When using the importecxml key-in it  exports/imports  the ribbon customization to and from the ECXml files. Ribbon ECXml is a specialized type of XML file that can be exported from DGNLibs that contain the ribbon customization data. If the active file is not a GUI DGNLib, then the personal.dgnlib is processed. This is consistent with the Task customizations and allows administrators to maintain ribbon customizations using text editors.

    Ribbon, tasks and tool customizations are stored in a .dgnlib file.


Children