- From the Tools section of the action bar, click Macros...
-
In the Macros dialog box, click Macro libraries....
-
In the Macro libraries dialog box, click Create new library from files... to
create a PLM macro library.
Before you can select a file-based macro library that will initialize the PLM macro library being created, a warning appears: File-based macro libraries are usually well designed for V5 execution but not for V6 execution.
Some non-executable comments will be added at the beginning of the imported macros in order to prevent problems during their execution.
Check the compatibility of the macro scripts with V6 then remove the comments. - When prompted, select a file-based macro library (VBA or Directory) to be copied into the PLM macro library.
Note:
The copied macros in the current library will have the same name as the original macros copied from the V5 macro library.
- In the Title field, enter the title of the PLM macro library and click OK.
- In the Available macros list, select an imported macro and edit it.
Macros imported from V5 are certainly not runnable as is. To prevent problems, a comment is added at the beginning of each copied macro: +++ WARNING, this macro has been designed to be used in CATIA V5.
+++ This macro may not work in a CATIA version higher than V5. - To be able to run the macro, remove the comment at the beginning of the macro.
-
Check the macro for compatibility and modify the instructions, if required.
|