Configure New Command on a Folder - Intergraph Smart 3D - Reference Data

Intergraph Smart 3D Drawings and Reports Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Drawings and Reports
Search by Category
Reference Data
Smart 3D Version
12 (2018)

You can create an XML file to configure the New command on a folder shortcut menu in the Management Console. For example, you can add the option to create a new search folder or imported folder.

  1. Create a new XML file called NewPopUpMenus.xml.

  2. Type the following code:

    <?xml version="1.0" encoding="utf-8"?>

    <xml>

    <PopupMenu id="{AF2EE992-B592-11D4-8B30-0050DA23CBE0}">

    <Menuitem id="Folder" arg1="" action="" accel="" caption="&amp;Folder"/>

    <Menuitem id="Group1" caption="-"/>

    <Menuitem id="Imported Folder" arg1="" action="" accel="" caption="&amp;Imported Folder"/>

    <Menuitem id="Search Folder" arg1="" action="" accel="" caption="My &amp;Search Folder"/>

    </PopupMenu>

    </xml>

    • id - Specifies the package name. The name must correlate to a folder in <SymbolShare>\Drawings\Catalog\Packages. If the package name is not found, the system ignores the corresponding Menuitem, and the Error Log is updated.

    • Caption - Specifies the text that displays on the shortcut menu. Type "-" to insert a separation between commands. Each caption must be unique.

    • arg1, action, and accel are not currently used by the system.

    • PopupMenu id – Specifies that the menu applies to the folder in the Management Console. Do not edit or delete this value.

  3. Save the NewPopUpMenus.xml file in the <SymbolShare>\Drawings\Catalog\Packages folder.

    When you right-click a folder in the Management Console, the shortcut menu displays as shown:

    New Shortcut Options