Creating a Macro From Scratch

You can create a macro from scratch.

See Also
Editing a Macro
  1. From the Tools section of the action bar, click Macros....
  2. In the Macros dialog box, to set the current macro library for storing the macro , do either of the following:
    • From the Current macro library of document list, select where the macro is stored.
    • Click Macro libraries... and select or create another macro library.
  3. Optional: From the Macro libraries dialog box, add another macro library:
    1. From the Library type list, select one of the library types available.

      Note: If you select PLM VSTA projects, you will be prompted to select the macro language (C# or VB.Net).

    2. Set the current macro library for storing the macro:
    • From the Current libraries list, select a macro library.
    • To search for and select a macro library, click Add existing library.
    • To create a macro directory or library, click Create new library.

      A default macro library title is provided in the Title field but you can enter a new title.

      Note: The collaborative policy is selected based on your role.
      Content Type Active Responsibility Category
      Any PLM Macro Library Leader, Administrator, Owner Authoring Resource Management
      Others Personal Management

      For more information about responsibility and category, see Baseline Content Categories

  4. In the Macros dialog box, click Create..., select the type of macro to create and name it.
  5. In the Create a new macro dialog box, select the macro language and click OK.

    A default name is provided in the Name field but you can enter a new macro name.

Result: The macro is created, you can now edit it.