3D PLM Enterprise Architecture

User Interface - Frame

Making Your Commands Available

How to integrate your commands into the application frame
Technical Article

Abstract

Once you have completed your command development, or even during its development stage, your may want to test them in the application frame, and then make them available to your customers. To do this, you need to decide where to integrate them, and then proceed to the integration. This article gives you tips and explains how to carry out the integration depending on your location decision. Integrating a script as a command is also described.


Integrating Your Commands

To make your brand new commands available to your customers, you need to integrate them into one of the following objects:

[Top]

Into a Workbench

You can either create a new workbench or modify a existing one.

[Top]

Into an Add-in

Because you are not their provider, or because you don't want to modify them, you may prefer to remain independent from the workshop or from the workbench into which you intend to integrate your  commands. In this case, the add-in is the solution. You can either create a new add-in, or modify a existing one.

[Top]

Into the Warm Start Mechanism

If your command modifies the contents of a V5 document, you should ensure its warm start integration. Refer to the technical article entitled "Warm Start Incremental Backup" [3].

[Top]

Integrating a Script as a  Command

You can easily customize your toolbars by adding icons to trigger your favorite macros. This reduces the macro access time for the macros you often run.

atarget.gif (2821 bytes) This task explains how to add a macro as a command in a toolbar.
ascenari.gif (2737 bytes) 1. On the Tools menu, point to Macro, and then click Macros. Click Select to select the macro you want to add to make sure that the directory path of the file containing the requested macro is concatenated with those recognized by the application. Then click Cancel.
 
2. On the Tools menu, click Customize, and then click the Commands tab. In the Categories list, click Macros. Drag the macro name and drop it onto the toolbar you wish. The default icon is used
3. To select another icon than the default one, click Show Properties, and click to display the Icons Browser  box.
4. Click the appropriate icon. The default icon changes to the one clicked.

aendtask.gif (2990 bytes)

The macro is now ready to use from the toolbar.

[Top]


In Short

To make your command available to your customers, you need to integrate it into a workbench, or an add-in. You can also add scripts as commands in toolbars.

[Top]


References

[1] Creating a Workbench
[2] Creating an Add-in
[3] Warm Start Incremental Backup
[Top]

History

Version: 1 [Jan 2000] Document created
Version: 2 [Sep 2003] Warm Start Integration
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.