Controlling DraftSight License Timeout Using an Administrative Profile

Article by Andrew Lidstone, CSWE updated January 10, 2022

Article

Ensuring that idle licenses are returned to the license pool after a defined amount of time is typically an essential aspect of network license management. For most SOLIDWORKS software, this timeout period is defined in the Options file of the SolidNetWork License Manager, however for DraftSight Enterprise, the timeout period is defined locally on each client.

This timeout can be manually set on each client system through the DraftSight System Options, however there is also a way to control the settings through a central Administrative Profile.

Step 1: Create the administrative profile.xml file

The administrative profile.xml file should be placed in a shared folder on the network that will be accessible to all users. This administrative profile.xml will be read by DraftSight after the locally activated profile.xml file located on the user’s systems is loaded. Any settings specified in the administrative profile.xml file will overwrite any settings in the local profile, including the timeout setting.

The xml file can be created using any text editor and should contain the text bellow:

<?xml version="1.0" encoding="UTF-8"?>
<settings>
<group name="preferences_license">
<setting value="true" name="licensetimeoutenabled" type="bool"/>
<setting value="30" name="licensetimeouttimeinminutes" type="int"/>
</group>
</settings>

The “30” value can be replaced with however many minutes the license should be idle before being returned to the license manager pool.

DraftSight Administrative Profile

DraftSight Administrative Profile

Step 2: Create the profile_overrides.xml file

The profile_overrides.xml file is stored on the local client machine and is used to point the DraftSight installation to read the administrative profile.xml file that is located on the network.

The xml file can be created using any text editor and should contain the text below:

<?xml version="1.0"?>
<profileoverrides>
<version build="*">
<setting type="QString" value="\\JAVELIN466\Draftsight Administrative Profile\administrative_profile.xml"
/>
</profileoverrides>

Replace the path value with the location to the administrative_profile.xml file.

Once the file is created, it should be placed in the folder C:\ProgramData\Dassault Systemes\DraftSight on each user’s system.

Administrative Profile Location

Administrative Profile Location

Related Links

Andrew Lidstone, CSWE

Andrew Lidstone is a SOLIDWORKS Elite Application Engineer specializing in Data Management systems. He has been working in the SOLIDWORKS reseller channel since 2010 helping clients get the most from their CAD tools.