RADE

Data Model Customizer for ENOVIA

Customizing the Action Modeler

Use Case

Abstract

This article provides you with a comprehensive customization example on Enovia Actions.


Principle

An action is used in Enovia V5 to request, define, and track a modification performed on a product. It contains the information (methodological documentation, affected parts, configuration specifications, CAD/CAM models, and electronic documents) necessary to implement the requested modification. 

All major events which the action undergoes (creation, promotion, transfer, completion, association of documents, etc.) are recorded and can be used to communicate the progress of a modification throughout its lifecycle, or for later historical analysis.

Depending on your applicative products, you may need new fields to take internal processes into account for example.

Customizing a Design Action

You are going to add 2 new fields:

 

Creating a UML Project

  1. From the File menu, select New->Other->UML Project. Click Next>.
  2. Enter the name of the UML project. Click Next> and Finish.
  3. In the Navigator view, right-click your project and select Open as a DMC Project.
  4. In the Open a DMC Project window, select the tool level and click Next>.
  5. Click Close in the Initializing tools window.
  6. Click Add and select your prerequisite frameworks. Click Finish.
  7. Click Close in the Installing Prereqs window.

[Top]

Creating an "Actions" Customization

  1. Create a new CAA V5 Workspace in Microsoft Visual .Net.
  2. From the File menu, select Other->DMC elements->New LCA Customization. Click Next>. The Create New Enovia PLM Customization window opens.
  3. Enter the name of the application in the Application Name field.
  4. Click ... in the Customize LCA Application field. The Select a framework dialog box opens.

  1. Select Actions in the list and click OK.
  2. Select Actions. The Customize LCA application field is automatically updated with the Use Package corresponding to the application.
  3. Click Finish. The wizard creates a new workspace.

[Top]

Creating an Object Modeler

  1. From the File menu, select Other->DMC elements->New Modeler Object. Click Next>. The New Modeler Object window opens.
  2. Enter the class name in the Class name field, CustoDesignAction in this example.
  3. Select the Super Class in the list (Action_Design in this example). Click Next>.

  1. Click Insert in the Attributes field to add an attribute to your CustoDesignAction.
  2. Enter CanBePostponed in the Name field.
  3. Select Boolean in the list.
  4. Click Insert in the Attributes field to add another attribute to your CustoDesignAction.
  5. Enter FurtherDate in the Name field.
  6. Select Date in the list.
  7. Click OK to close this window. Click Finish when done. The following graphic is displayed describing your customization.

[Top]

Generating the Dictionary File

  1. From the DMC Project menu, select Generate VPM Dictionary file. The following window is displayed.

The wizard creates MyAction.metadata under the directory MyAction/CNext/code/dictionary.

[Top]

Publishing Enovia Data

  1. Select DMC Project->Publish VPM Dictionary file in Database. Click OK. The data are published. Check if the settings are correctly valuated and click OK to launch the Publish command to finish the scenario.

[Top]

Testing in ENOVIA

Now it is time to test your customization. To use this customization, launch ENOVIA with the environment of the customization. Indicate the location of your customization on the server, as follows:

On UNIX:

$ENOVIA_INSTALLATION_PATH$/$OS$/code/command/enoviastart -direnv $EnvDir$ -env $EnvName$

where:

On Windows:

$ENOVIA_INSTALL_PATH$/$OS$/code/bin/CATSTART -run "ENOVIA.exe" -direnv $EnvDir$ -env $EnvName$ -object "-senv $sEnvName$ -sdirenv $sEnvDir$"

where:

Now we can use your new "CustoDesignAction" which contains 2 new fields.

 

[Top]


History

Version: 1 [Mar 2004] Document created
Version: 2 [March 2006] Document updated
[Top]

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