Environment Variable on the Mac + maya.env + Options files on Windows


Some key concepts are covered in this post:

  • Advanced Options File setup (LM_PROJECT) for all users in a group called AUS
  • Maya Environment Variables (maya.env)
  • Adding an Environment Variable on the Mac (10.9 - launch.conf | 10.10 - autodesk.environment.plist)

The Story...

We have this site that has setup a very sophisticated options file that uses LM_PROJECT.  A really good description of LM_PROJECT can be found here:

In this scenario, we want an Autodesk product that runs on the Mac to use the LM_PROJECT environment variable.  The LM_PROJECT environment variable is allotting a group of licenses for a group called: AUS.

If you are a Maya user, it is pretty easy to add an environment variable in Maya.  It is a matter adding it into a maya.env file and this workflow works in Windows, Mac or Linux.  What makes this story interesting is that we added a licensing environment variable (LM_PROJECT) to the maya.env.

Adding an Environment Variable for Maya on Mac [Screencast video]

The next trick is to add the LM_PROJECT to AutoCAD on the Mac.  The problem is that the maya.env only works with Maya so this means we need to add a system wide Environment Variable on the Mac.

Adding an Environment Variable for the Mac [Screencast video]



Thanks to Matt Haugen for contributing & confirming the workflow for  Mac OS 10.10 [Yosemite]. 

1. Create a plist file in /Library/LaunchAgents.i.e. autodesk.environment.plist. 
2. The contents of the plist should be similar to the following. The only variable that would change would be international to be whatever project you want to set.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
launchctl setenv LM_PROJECT international


AutoCAD Plant Design Suite 2015 Deployment Hotfix

If you had problems creating a deployment for Plant Design Suite, please check out the following article:

The hotfix should also solve the issue below:

Launching Microsoft Word 2010 will start the secondary installer of AutoCAD

First of all, most users have Microsoft Word 2010 and AutoCAD 2015 installed on their computer and we have not had any reports of the following issue when launching a non Autodesk product and getting this progress window to come up...


Please check out the following knowledge article to find out what caused the issue;

In this instance, I tried to use Procmon  to figure out the cause of the problem and I just couldn't figure it out. I have to give credit to David Taylor for sharing this tip with the community.


Autodesk Desktop Subscription & McAfee ePolicy Orchestrator Settings


I wanted to thank Alejandro Bustamante for sending us info on how to configure McAfee ePolicy Orchestrator software to work with the Autodesk Desktop Subscription (Rental) program.

There is a note in this article that mentions that you need to disable your anti-virus software.


AutoCAD Architecture + AutoCAD MEP + Microsoft Update = Crash [Resolved]

[Resolved]: Microsoft has released an Internet Explorer Update (2987107) to resolve this issue.


There have been reports of AutoCAD Architecture 2014 & AutoCAD MEP 2014 having some stability issues.


  • Crashing when switching projects via Project Browser.
  • Crashing when accessing the Structural Member Catalog or the catalog appears blank.

Issues began after installing last week’s Microsoft update  (July 8, 2014):

  • MS14-037: Security update for Internet Explorer versions 6, 7, 8, 9, 10, and 11.

To solve this problem, you may need to uninstall the update.  


Thanks to Victoria Studley for sharing this tip with the community.

License Manager 11.12 and The Foundry License Tools

We are receiving few cases where customers have problems running our 2015 network versions and The Foundry software (e.g. Nuke).
If you have installed License Manager 11.12 for the 2015 products (e.g. Maya) on a server that is already hosting the license server for The Foundry products, you may also experience these issues.
The Foundry products currently use a different version of the License Manager (10.8). In some cases, launching both services prevents one of them to run correctly and therefore licenses for that services are not available.

The cause we identified in collaboration with The Foundry Support Team (thanks Jake) is likely because both services use by default the same TCP port that is 27000.
This can generate a conflict and results in one of the services to shut down or not start at all.

It is possible to avoid or prevent this to happen simply changing the default port used by one of the services. You can do this adding the port to the first line of the license file:


SERVER MyServer 000000000000 27001

Note: if on any clients you are using pointers to specify the license server, you may need to also change or add the port there.

See Also    
FLEXnet: don’t like 27000 or 2080 port numbers? Change them

Disable Welcome Screen [Autodesk Exchange] For AutoCAD

It is true that most answers are already out there but sometimes you need to do it yourself.  In this case, the request was to disable the Welcome Screen.  That is easy, there is a check box when creating a deployment.


So what happens if you have already deployed the software on hundreds of computers, you can hack the registry with caution.  i.e Please back it up before editing it.

For AutoCAD 2012, the key is noted below:


Thanks to our Autodesk Forums Expert Elite expert Maxim K for this tip.

Project Falcon for Inventor 2013

Project Falcon is a free technology preview that simulates airflow around object “Project falcon”.

If you try to install the version for Inventor 2013, you will notice that the add-on is not made available and if you previously already downloaded the 2013 add-on version you will encounter a “Falcon For Inventor expired” error message.


This is due to the fact that the 2013 version has a “time bomb” in it, which has now run out.

In this case, you should download the “Microsoft Windows Standalone Application” stand-alone version. It runs all by itself and does not require Autodesk software.

To use it in conjunction with your Autodesk Inventor files, you will have to export a STL file from inventor and then load the STL file in to the stand-alone “Microsoft Windows Standalone Application” program.

Thank you to Scott Sheppard for helping clarifying the situation.

The case of the -5 Error + Licensing Borrowing + VPN + Crashing

Sometimes a bit of luck is involved in solving a problem.  Error messages are good but sometimes, the error message may NOT correct.  In this case, the license server was setup correctly with a Autodesk T1 license and AutoCAD Map 3D 2012 was not launching.  There was a -5 error.


Based off this technical solution, a -5 error means that there No such feature exists on the server.

We then confirmed the following:

1. The license server was working correctly and there were more than enough licenses on the server.

2. Other clients computers could run the software and could connect to the server.

3. The computers were in the same office. Only one workstation was having the problem.

3.  We also used FLEXLM_DIAGNOSTICS=3 and it appeared to be searching for the license but it could not find it.


4.  In the folder: C:\ProgramData\Autodesk\AdLM, the *.log file had the following error message and it matched the -5 error description.

8596 2013/12/03 14:58:14 ComputerName=CNU2230D2C
8596 2013/12/03 14:58:14 OS=6.1.7601.Service Pack 1
8596 2013/12/03 14:58:14 File=AdlmIntNWFBLicense.cpp,Line=766
8596 2013/12/03 14:58:14 VendorID=3 [FLEXLM-NW]
8596 2013/12/03 14:58:14 VendorError=-18 [Server does not support this feature]
8596 2013/12/03 14:58:14 FLEXLM-NW=v11.9.0.0 build 87342 x64_n6
8596 2013/12/03 14:58:32 Reason=Fatal error

During the troubleshooting process, the user mentioned that the system was a laptop and he was trying to borrow a license while on VPN and it crashed.

Eureka! We then checked for in the registry to see if a license was borrowed and there was indeed an entry in the hive in the following location.

HKEY_CURRENT_USER\Software\FLEXlm License Manager\Borrow

We backed up the registry key [File > Export] and then deleted it.  We then launched AutoCAD Map 3D 2012 and it was able to connect to the server as expected and the -5 error disappeared.

Thanks to John H. for confirm that this workflow solved the problem.