From 9f94f9df1bece33aac9917840600b0d6b813d617 Mon Sep 17 00:00:00 2001 From: Claire Kuang Date: Mon, 24 Jun 2024 13:06:39 +0100 Subject: [PATCH] Update Applications.cs --- Core/Core/Kits/Applications.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/Core/Kits/Applications.cs b/Core/Core/Kits/Applications.cs index 6988187cff..9eb9962fcc 100644 --- a/Core/Core/Kits/Applications.cs +++ b/Core/Core/Kits/Applications.cs @@ -63,6 +63,7 @@ public static class HostApplications Dynamo = new("Dynamo", "dynamo"), Unity = new("Unity", "unity"), GSA = new("GSA", "gsa"), + Civil = new("Civil 3D", "civil3d"), Civil3D = new("Civil 3D", "civil3d"), AutoCAD = new("AutoCAD", "autocad"), MicroStation = new("MicroStation", "microstation"), @@ -119,6 +120,11 @@ public static HostApplication GetHostAppFromString(string? appname) return AutoCAD; } + if (appname.Contains("civil")) + { + return Civil; + } + if (appname.Contains("civil3d")) { return Civil3D;