Configuring Frames and Title BlocksTo configure the default frames and title blocks scripts, you must be familiar with Visual Basic. Then you can edit the default macros and also get the messages in your native language. For more information, see the 3DEXPERIENCE Developer Assistance Portal: CAA Encyclopedia . The default sheet dress-up styles for the frame, title block and revision table are available and can be selected in the Page Layout dialog box. You can also create new script (sheet dress-up style), provided you use the following naming convention: Where:
For each category, you can request a selection of a template using the Page Layout command by defining a function with the following naming convention:
Note:
If such a function is not declared for a category, no selection of a template is requested.
Additionally, for each category, you can provide a function initializing a template in the current representation by defining a function with the following naming convention:
Specifying the Location of Frame and Title Block MacrosTo know where the frame and title block macros are located, go to > Administration tab. The Page Setup Directory box indicates the path to the directory containing these macros. You can add new macros in the specified directory, and/or you can change this location by editing the path. Creating Preview ImagesYou can create a preview image of the frame and the title block that is displayed in the Page Layout dialog box. When saving this preview image, make sure you do the following:
Modifying Existing Actions or Adding New ActionsAvailable actions for a given script are listed below each category's action list in the Page Layout dialog box. You can modify existing actions by modifying the existing sub-procedures. You can also add new actions by defining new sub-procedures. There are a couple of things you need to remember when doing this:
Modifying the Name of a Style/ActionIn the Page Layout dialog box, the names displayed in the Sheet Dress-up list can be modified. By default, the name of a sheet dress-up style is the name of the corresponding CATScript file (without extension). And by default, the names of the related actions are written in the CATScript file (without the CATAction prefix). Example: in a CATScript file, a function called CATAction_XXXX creates an action called XXXX in the action list. To configure a name for a style or action, proceed as follows:
|