Issue:

If you’re encountering a situation where the Project Manager (or other plugin) is not appearing in the menu, or you receive the error message “Can’t find include file: SomeFile.ms…”, this is likely due to hidden or system file attributes in your 3ds Max installation.

Can't find include file: PathHelper.mse

Cause:

Starting with 3ds Max 2021 Update 3, Autodesk made changes to how scripts are loaded. Scripts or files with the “hidden” or “system” attribute are no longer loaded at startup. This means if any folder or script file associated with your Project Manager plugin has these attributes, 3ds Max will ignore them, leading to errors or missing features.

SOLUTION 1

  1. Check for Hidden Directories:
    • Navigate to the directory %localappdata%\Autodesk or its subdirectories.
    • Check if any folder is marked as “hidden.” Sometimes, Windows or certain software may mark these directories as hidden without your knowledge.
  2. Unhide the Folder:
    • Right-click the directory or file, select Properties, and ensure the “Hidden” attribute is unchecked.
    • Apply the changes to all subfolders and files if prompted.
  3. Restart 3ds Max:
    • After unchecking the hidden attribute, restart 3ds Max, and the Project Manager should now load correctly without errors.

Additional Tip:

To avoid this issue in the future, regularly check your directories if you notice any unusual behavior in 3ds Max, especially after updates. Hidden or system attributes can sometimes be applied automatically, but they can be manually removed following the steps above.

For more details, refer to Autodesk’s official forum post on this subject: Maxscripts Not Loading at Startup.

Here are a few simple methods to find and remove the “hidden” attribute from a folder using Windows Explorer or the Command Prompt:

Method 1: Using Windows Explorer

  1. Open Windows Explorer and navigate to the folder %localappdata%\Autodesk (or the folder where your plugin is stored).
  2. In the top menu, click View.
  3. Check the box next to Hidden items. This will allow you to see all hidden folders and files.
  4. Now, you’ll see any hidden items, which appear slightly transparent.
  5. To remove the “hidden” attribute:
    • Right-click on the hidden folder or file.
    • Select Properties.
    • In the bottom section, under Attributes, uncheck the Hidden box.
    • Click OK to apply the changes.

Method 2: Using Command Prompt

  1. Open Command Prompt as an administrator.

    1. Navigate to the directory where you want to remove the “hidden” attribute. For example, if you’re targeting the %localappdata%\Autodesk folder, enter:
      cd %localappdata%\Autodesk
      
    2. To recursively remove the “hidden” attribute from all files and folders, use this command:
      attrib -h /s /d
      
  2. Explanation:

    • -h: Removes the “hidden” attribute.
    • /s: Applies the command to all files in the current directory and subdirectories.
    • /d: Applies the command to directories as well as files.

    This will remove the “hidden” attribute from all files and folders in the directory you specified, including subdirectories.

Method 3: Using PowerShell

  1. Open PowerShell as an administrator.

  2. To search for hidden folders in %localappdata%\Autodesk, run this command:

    Get-ChildItem -Path "$env:localappdata\Autodesk" -Recurse -Force | Where-Object { $_.Attributes -match 'Hidden' }
    
  3. To remove the “hidden” attribute from a specific folder or file, use:

    Get-ChildItem "C:\Path\To\Your\Folder"  -Recurse -Force | ForEach-Object {
        if ($_.Attributes -band [System.IO.FileAttributes]::Hidden) {
            $_.Attributes = $_.Attributes -bxor [System.IO.FileAttributes]::Hidden
        }
    }
    

These methods will help you quickly find and remove the “hidden” attribute from any folder or file.

SOLUTION 2

  1. Locate the ENU Folder:

    • The ENU folder is a specific directory in your 3ds Max installation path. This is where user-specific settings, scripts, and macros are stored. You can typically find it here:
      • C:\Users\[YourUsername]\AppData\Local\Autodesk\3dsMax\[YourVersion]\ENU
      • Replace [YourUsername] with your actual Windows username and [YourVersion] with the version of 3ds Max you are using.
  2. Copy the “usermacros” Folder:

    • Inside the ENU folder, locate the usermacros directory. This folder contains all custom macroscripts you have installed or created in 3ds Max.
    • Copy the entire usermacros folder.
    • Navigate to a new location on your computer where you want to store it, such as Documents or any other easily accessible folder. For instance, you can paste the copied folder here:
      • C:\Users\[YourUsername]\Documents\3dsMax\UserMacrosBackup
  3. Relink “Additional Scripts” and “Additional Macros”:

    • Open 3ds Max.
    • Go to the Customize menu and select Configure User Paths.
    • In the dialog that opens, click on the Scripts tab. Here, you will find options for both Additional Scripts and Additional Macros.
    • Click on the Browse button next to Additional Macros and relink it to the usermacros folder you just copied to your new location (for example, Documents\3dsMax\UserMacrosBackup).
    • Repeat this step for Additional Scripts, making sure it also points to the same copied usermacros folder.
  4. Save and Restart:

    • After relinking both paths, press OK to apply the changes. It’s a good idea to restart 3ds Max to ensure the new configuration is properly loaded.

By following these steps, you ensure that 3ds Max uses the custom macros from the folder in your new location (e.g., Documents), making it easier to manage or back up in the future.

#StandWithUkraine

You were not leaving your cart just like that, right?

Enter your details below to save your shopping cart for later. And, who knows, maybe we will even send you a sweet discount code :)