Share

What is the login macro?

The login macro is one of the macro files that run when you start PowerShape. It customizes the system to meet personal requirements. For example, you can add the required drawing standard to this macro so that PowerShape automatically uses it.

When PowerShape starts, three macros are run in the following order:

  1. preconfig.mac.
  2. User's login macro or login.mac (the default login macro).
  3. postconfig.mac.

The following path is searched for the macros:

C:\Program Files\Autodesk\PowerShapexxxxx\lib\macro

The path you specified when the user was set up is searched for the user's login macro.

You can add commands to the default login macro, login.mac. When you create a user, if a path is given for the login macro and no file exists in the specified folder, the default login macro file is copied to the location. The user can then modify this file.

Use preconfig.mac and postconfig.mac to store organization-wide PowerShape commands. postconfig.mac gives you some control over the settings in the user’s login.mac.

Was this information helpful?