Borrow a Maya license with sub-features

Borrowing a license using the general Autodesk procedure does not borrow licenses for specialized features such as the Maya batch render node.

Borrow a Maya license

To borrow a Maya license (Windows)

    Note: The LMTOOLS utility is installed with the Autodesk Network License Manager. See Workflow: Planning, Installing, and Configuring Network Licenses.
  1. Open the LMTOOLS utility.
    • Windows 7 Service Pack 1: Click Start > All Programs > Autodesk > Network License Manager > LMTOOLS Utility.
    • Windows 8: Right-click Start screen > All Apps > Autodesk > LMTOOLS Utility.
  2. In the LMTOOLS utility, switch to the Borrowing tab.
  3. In the Vendor Name field, enter adskflex.
  4. Enter the Return Date and the Return Time, then click Set Borrow Expiration.
  5. Launch Maya.

    This borrows a Maya license from the server.

  6. Use any sub-features of Maya (such as the batch renderer) while you are still connected to your license server. This automatically borrows a license for that sub-feature.

    After you have used the sub-feature(s) while connected to your license server, you can then use the sub-features later when you are not connected.

To borrow a Maya license (Mac OS X or Linux)

  1. Open a shell (Linux) or Terminal (Mac OS X) window and go to the directory where lmutil is installed.
  2. Execute the following command: lmutil lmborrow adskflex enddate [ time ]

    where enddate is the date you will return the license, formatted as follows: dd-mmm-yyyy . The time argument is optional, but is specified in 24-hour format ( hh:mm ).

    For example: lmutil lmborrow adskflex 14-oct-2014 [14:00] borrows a license until October 14, 2014 at 2:00 pm.

  3. Launch Maya.

    This borrows a Maya license from the server.

  4. Use any sub-features of Maya (such as the batch renderer) while you are still connected to your license server. This automatically borrows a license for those sub-features.

    After you have used the sub-feature(s) while connected to your license server, you can then use the sub-features later when you are not connected.

Stop borrowing a Maya license

Stopping license borrowing is different from returning a license. You can stop borrowing licenses if you have already checked out all of the licenses you want, but you still plan to use sub-features while you are connected to the network server and do not want to borrow those licenses.

For example, you can borrow a Maya license and a Maya batch renderer license, then stop borrowing so that when you use the batch renderer (and automatically use a subfeature license for the Maya batch renderer), you do not borrow the batch renderer license from the server. In this situation, after you stop borrowing, your Maya and batch render licenses are still borrowed until the return date that you set, but the batch render license you used stays on the server.

To stop borrowing a Maya license (Windows)

  1. Open the LMTOOLS utility.
    • Windows 7 Service Pack 1: Click Start > All Programs > Autodesk > Network License Manager > LMTOOLS Utility.
    • Windows 8: Right-click Start screen > All Apps > Autodesk > LMTOOLS Utility.
  2. In the LMTOOLS utility, switch to the Borrowing tab.
  3. Click Don’t Borrow Anymore Today.

To stop borrowing a Maya license (Mac OS X or Linux)

  1. Open a shell (Linux) or Terminal (Mac OS X) window and go to the directory where lmutil is installed.
  2. Execute the following command: lmutil lmborrow -clear

Return a Maya license and sub-feature licenses

Your network license is automatically returned to the network license server at the end of the return date you set when you borrowed the license. You can also return a license earlier than the date you originally selected, as long as your computer is connected to the network license server when you attempt to return the borrowed license.

Returning a license means that you are returning a license to the network server so that someone else can use or borrow it. Once a borrowed license is returned, you can borrow a license again as long as your computer is connected to the network license server and a license is available on the server.

If you use the Maya batch render feature while you have a Maya license borrowed from your license server, you have automatically borrowed a sub-feature license. The following steps include information on properly returning the licenses for those sub-features. The following table lists the feature codes that you will need if you use these sub-features.

Feature or Sub-feature Feature license code

Maya

85694MAYA_2016_0F

Maya batch render

85694MAYAMMR1_2016_0F

To return a license early (Windows)

  1. Open the LMTOOLS utility.
    • Windows 7 Service Pack 1: Click Start > All Programs > Autodesk > Network License Manager > LMTOOLS Utility.
    • Windows 8: Right-click Start screen > All Apps > Autodesk > LMTOOLS Utility.
  2. In the LMTOOLS utility, switch to the Borrowing tab.
  3. Click List Currently Borrowed Features, and note any sub-features that are listed in the bottom pane of the Borrowing tab.

    For example, if you have used the Maya batch renderer, the sub-feature code 85694MAYAMMR1_2016_0F displays.

  4. (Optional) If you are returning sub-feature licenses, copy the sub-feature code and paste it into the Feature Name field.
  5. Click Return Borrowed Licenses Early.
  6. Repeat steps 4 and 5 for all sub-features you have borrowed.

To return a license early (Mac OS X or Linux)

    On the same computer where you borrowed the license, do the following:

  1. Open a shell (Linux) or Terminal (Mac OS X) window and go to the directory where lmutil is installed.
  2. Execute the following command to determine if you have borrowed any sub-feature licenses: lmutil lmborrow -status

    The command returns the feature codes for any sub-feature licenses you have checked out. For example, if you have used the Maya batch renderer, the feature code 85694MAYAMMR1_2016_0F displays.

  3. Execute the following command: lmutil lmborrow -return <feature>

    where <feature> specifies the code of the feature or sub-feature for which you are returning a license.