Adding Custom Actions from GitHub

You can import custom actions from the Autodesk Flame Family GitHub repository.

To import a custom action from GitHub:

  1. From the Flame menu, select Add Actions to Context Menus.

    This opens a browser connected to the Autodesk Flame Family GitHub.

  2. Browse and select a custom action.

    Custom actions are Python scripts, and a single script can contain more than one custom action.

  3. Using the Set Import Destination box, decide who can access these custom actions.
    • Shared: If copied here, any user in any project on the workstation can access the actions in the selected script. Location: /opt/Autodesk/shared/python.
    • User: If copied here, only you (the current Flame user) can access the actions in the selected script. Location: /opt/Autodesk/user/<user name>/python
    • Project: If copied here, anyone working on the current project on the workstation can access the actions in the selected script. Location: /opt/Autodesk/project/<project name>/python
  4. Click Add.

    The custom actions are now available from the contextual menu, when the conditions defined by its creator are met.

Authenticate into GitHub to Increase the Number of Requests

Chances are that the first time you try to add a custom action from GitHub you will get the following message.

The maximum number of requests made to the repository is set to 60 per hour for users not signed in a GitHub account. This number increases to 5000 for users that are signed in.

To sign in a GitHub account from Flame you must:

  1. Create a GitHub account at www.github.com.
  2. Generate a token using the following procedure: Creating a personal access token
  3. In Flame, access the Add Action to Context Menus browser and click Log In.
  4. Enter your token in the GitHub Authentication window.