Run a Program That You Created from a Symbol - SmartSketch - Help

SmartSketch Help

PPMProductFamily
Engineering and Schematics
PPMProduct
SmartSketch
PPMCategory
Help
Version_SPEM_custom
9.0.0
Version_SSK
9.0(2015)

Before you can take the following steps, you must create a .DLL, .OCX, or .EXE in Visual Basic. You must place the executable file in one of the following directories, depending on what action that you want to use to start the executable file. For example, if you want a special process to run when you drop the symbol in a document, you must place the executable file in the DropActions subfolder.

  • <Drive Letter>:\Program Files\SmartSketch\Addins\DoubleClickActions

  • <Drive Letter>:\Program Files\SmartSketch\Addins\DropActions

  • <Drive Letter>:\Program Files\SmartSketch\Addins\ModifyActions

  • <Drive Letter>:\Program Files\SmartSketch\Addins\PropertyActions

  • <Drive Letter>:\Program Files\SmartSketch\Addins\RightClickActions

  1. Open a document with an .sym extension.

  2. On the Symbol Authoring Tools toolbar, click Symbol Properties .

  3. On the Standard Actions tab, select the options that you want. For example, if you want a special process to run when you drop the symbol in a document, you must enter the ProgID directly in the On Drop box.

The ProgID can be any valid executable (.dll, .exe, etc). Refer to the documentation for Visual Basic for more information about ProgID's.

If you want to create special commands for the shortcut menu that appear when you select the symbol in a document, you can set options on the Custom Actions tab.

To use this functionality, you must install the Symbol Authoring option.