Skip to main content
Skip table of contents

Installing the HaloCAD Add-on for Revit

This chapter describes how to install and configure the HaloCAD Add-on for Revit. This manual just briefly explains steps 1-3, which cover the prerequisites, obtaining the licensing key, and creating an encrypted JSON file; for more information, please refer to the Technical Reference manual.

Step 1 Fulfill the Prerequisites

  1. To learn more about supported operating systems, file types, and CAD applications, please refer to the Release Notes.

  2. Before installing the add-on, it is recommended that you fulfill the prerequisites.

Please refer to the section “Prerequisites”.

Step 2 Obtain the License Key

Obtain the license key and decide whether to activate it automatically or manually.

Please refer to the section “License Activation”.

Step 3 Create an Encrypted JSON File

For a secure installation create an encrypted JSON file using this admin tool and share it with internal/external parties without disclosing the original tenant details. When the encrypted JSON file is ready, place it with the HaloCAD installer. By reading data from the hc.conf.enc file, the installer activates the license and bypasses the "Initialization" screen, which would otherwise ask for Azure credentials.

Please refer to the section “Secure Installation (Recommended)”.

Step 4 Install the Add-on

You can install the add-on in the following modes:

  1. Graphical Mode
    Graphical mode installation is an interactive, graphical user interface-based method that is driven by a wizard.

  2. Silent Mode
    Silent-mode installation is a non-interactive method of installing the add-on using command lines.

  3. Via System Center Configuration Manager
    With System Center Configuration Manager (SCCM), the add-on is deployed on the targeted computers across your enterprise.

Graphical Mode 

Before you begin
The following prerequisites must be met:

  1. A user who installs the HaloCAD Add-on must have administrator rights.

  2. You must close all the CAD applications. If not, HaloCAD prompts a warning message as “Please close all the CAD applications to proceed with the installation of HaloCAD Add-on for Revit.” Therefore, we recommend closing all the applications and then start installing the HaloCAD Add-on.

  3. Make sure that the HaloCAD Reader Add-on for Revit is not installed on the same workstation. If it is already installed, HaloCAD prompts a warning message as “No supported CAD applications are available in the system. (OR) Remove the Reader version of this product.

  4. Make sure your Microsoft Entra tenant information is ready to enter when the setup process prompts for a manual installation. Alternatively, for a safe and automatic installation, use hc.conf.enc.

Installation Procedure

Install the add-on using the GUI-based setup program provided in the installation package. 

  1. To begin the interactive installation, double-click the installer HaloCAD_Revit_Setup.exe file. Depending on your Windows security settings, you may get a warning such as "Do you want to allow the following program to make changes to this computer?". If you get this security warning, click the Yes button to continue the installation.

  2. When the installer starts, you will see the startup dialog followed by the welcome dialog:

    Startup dialog.png

    Startup dialog

    Welcome dialog.png

    Welcome dialog

  3. Click Next to continue the installation. 

  4. The end-user license agreement dialog will appear:

    2 End-User License Agreement dialog.png

    End-User License Agreement dialog

  5. Read the End-User License Agreement. If you agree, select I accept the terms in the License Agreement and click Next

  6. The CAD application version selection dialog will appear:

    3 CAD Application Selection dialog.png

    CAD application version selection dialog

  7. Select the installed Revit application version in your system and click Next. To return to any point in the installation process, click the Back button (optional).

  8. The installation begins and progress is shown in the dialog.

    4 Installing dialog.png

    Installation progress dialog

  9. When the installation is completed, you will see a message confirming that the add-on has been successfully installed.

    5 Installation completed successfully dialog.png

    Installation completed dialog

  10. Click Next in the installation dialog.

  11. The initialization dialog will appear. To avoid connectivity issues, make sure to enter the correct Azure application registration information in the screen below. Note: If you have included the hc.conf.enc file with the installer, the following initialization screen will not appear, and you will just see the completion dialog. The initialization screen appears only if the hc.conf.enc file is not included in the installer folder.

    6 App ID details.png

    Initialization dialog

    1. Application ID: Enter the unique identifier of your registered application. For example, v6ca776-c74e-437d-98ef-662ecb5751tt.

    2. Redirect URI: Enter the URI, that was provided when registering the native application in the Azure portal. For example, https://localhost.

    3. Tenant ID: If the registered application is Single tenant, you need to enter the globally unique identifier of your tenant if not, you can leave it empty. For example, 9c1cfc28-1ec6-44ea-bec6-e3492ef0cd16

    4. Cloud Type: By default, Commercial will be set. However, based on your Azure subscription and configuration, you can change the cloud type from the list — Commercial / Custom / Germany / US_DoD / US_GCC / US_GCC_High / US_Sec / US_Nat / China_01. In the case of Custom cloud type, you need to enter the appropriate URLs in the Protection Cloud URL (for example, https://api.aadrm.com/) and Policy Cloud URL (for example, https://dataservice.protection.outlook.com/).

    5. Click Next.

  12. Once the initialization is completed, you will get the success message as shown below.

    7 Completing the HALOCAD setup dialog.png

    Initialization completed dialog

  13. Click Close to close the installation wizard.

Post-installation checks:

  1. To view the add-on, open the Revit Application > HaloCAD tab.

  2. You can view the log files at %AppData%\Roaming\Secude\HaloCAD\revit\halocad.log.

  3. You can now configure log-related settings in the Registry Root Directory = HKEY_CURRENT_USER\SOFTWARE\Secude\HaloCAD Add-on for Revit. For more details, please refer to the section “Step 5 Modify Registry Settings”.

  4. If your network infrastructure includes a proxy server that provides access to external websites. Then, to connect to the Secude License Manager URL, you need to manually add the Proxy settings in the add-on. To do so, create a registry entry in the root directory, Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Secude\HaloCAD Add-on for Revit
    Name: proxyuri, Type: REG_SZ, Value: The format is, <URL>:<PORT>. For example, http://10.41.0.130:808

Silent Mode

Besides graphical mode, the add-on can be installed in silent mode, which does not require user involvement or display a user interface. It is a convenient way to streamline installation using the command at once. 

  1. Open the Command Prompt with elevated rights (Run as Administrator).

  2. Navigate to the add-on installer directory.

  3. To know the list of options available in silent mode, follow the steps given below:
    Type HaloCAD_Revit_Setup.exe -help
    Press Enter
    Output
    ...
    HaloCAD_Revit_Setup.exe -install -application <Revit 2025| Revit 2024| Revit 2023> -applicationid <azure_application_id> -redirecturi <azure_redirect_url> -tenantid <azure_tenant_id for Single-tenant app|null for Multi-tenant app> [-cloudtype <Commercial|Custom|Germany|US_DoD|US_GCC|US_GCC_High|US_Sec|US_Nat|China> <protectioncloudurl> <policycloudurl>]
    HaloCAD_Revit_Setup.exe -uninstall
    To delete HaloCAD cache through Silent Mode Uninstallation
    HaloCAD_Revit_Setup.exe -uninstall -clearcache <yes>
    For Silent Mode Installation if ENC file already exists in the same location
    HaloCAD_Revit_Setup.exe -install -application <Revit 2025| Revit 2024| Revit 2023>

  4. The following command illustrates how to install the add-on using the Azure application details.
    HaloCAD_Revit_Setup.exe -install -application "Revit 2024" -applicationid v6ca776-c74e-437d-98ef-662ecb5751tt -redirecturi https://localhost -tenantid 9c1cfc28-1ec6-44ea-bec6-e3492ef0cd16 -cloudtype Custom https://api.aadrm.com https://dataservice.protection.outlook.com

  5. The example below shows how to install the add-on using the hc.conf.enc file located in the same installation location.
    HaloCAD_Revit_Setup.exe -install -application "Revit 2024"

  6. Press Enter.

  7. The installation is complete.

Via System Center Configuration Manager

The Microsoft System Center Configuration Manager (SCCM) is an administration tool that enables organizations to push out relevant operating systems and applications to Windows users quickly and cost-effectively within its environment.

Using SCCM, the add-on can be installed silently and automatically to the specifically targeted computers across your enterprise.

Before you begin

  1. Make sure that you have read the prerequisites given in the section “Graphical Mode”.

  2. We recommend familiarizing the best practices for creating a deployment procedure.

  3. For information about preparing your environment, please refer to the online Microsoft documentation.

Follow the below steps to deploy using SCCM:

  1. This guide assumes that you have already set up a SCCM environment. 

  2. Use the silent mode commands mentioned in the section “Silent Mode” when needed. 

Step 5 Modify Registry Settings

Prerequisite: To modify the add-on registry entries, first launch the CAD application and log in to Azure RMS for an active HaloCAD session. For more information, please refer to the Operations Manual.

Once you have logged into the HaloCAD Session, open Registry Editor, navigate to this path Registry Root Directory = HKEY_CURRENT_USER\SOFTWARE\Secude\HaloCAD Add-on for Revit, and modify the Reg Key as you wanted. For example, to change the log level, double-click loglevel, change the "Value data" using the values listed in the table below, and then click OK.

Name

Default Value

Type

Description

loginterval

30

REG_SZ

It removes the log files older than the default time frame. By default, the log files older than 30 days will be deleted.

loglevel

0X00000003 (3)

REG_DWORD

Log level information is logged in the halocad.log file.

  • Error—0. Logs error events that prevent program execution.

  • Record—1. Records all the details about the behavior of the application.

  • Warning—2. Logs unexpected exceptions that indicate potential problems.

  • Information—3. A standard log level that highlights the progress of the application.

  • Verbose—4. Debug events are logged.

  • Verbose 1—5. Debug 1 events are logged.

  • Verbose 2—6. Debug 2 events are logged.

  • Verbose 3—7. Debug 3 events are value.

  • Verbose 4—8. Debug 4 events are logged.

logsize

1024

REG_SZ

The halocad.log file is created at the start of a HaloCAD session and is stored in the default parent location directory. To have control over log file size, HaloCAD allows you to configure backup/archive the current log file with a timestamp when it exceeds the default size of 1024 MB and creates a new one. Format: halocad<ddmmyy_hhmmss>.log

Configuration in the HaloCAD Registry

What to do next

  1. If you have generated the encrypted configuration file together with the license key, you could launch the CAD application and start using the HaloCAD features straight away. This means that the license is activated silently while using HaloCAD features in the CAD application. For more details, please refer to the Operations Manual.

  2. If you did not activate the license using the encrypted configuration file, follow the section “UI-based Manual License Activation” in the Technical Reference Manual.

Microsoft online documentation

At this stage, if you are NOT familiar with labels, you might need to refer to Microsoft online documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.