Skip to content

Open-source Revit MCP server: let Claude and other AI assistants read and edit BIM models, with human approval on every change.

feat: Introduce BridgeCommandFactory to centralize Revit API command execution and add a comprehensive suite of new Revit tools.

A. Sam Mohammad8bd76a346bd5
diff --git a/packages/revit-bridge-addin/src/Bridge/BridgeCommandFactory.cs b/packages/revit-bridge-addin/src/Bridge/BridgeCommandFactory.cs
index 4f154d2..a57056d 100644
--- a/packages/revit-bridge-addin/src/Bridge/BridgeCommandFactory.cs
+++ b/packages/revit-bridge-addin/src/Bridge/BridgeCommandFactory.cs
@@ -1495,10 +1495,6 @@ public static class BridgeCommandFactory
try
{
var groupTypeId = definition.GetGroupTypeId();
- var label = LabelUtils.GetLabelForGroupTypeId(groupTypeId);
- if (!string.IsNullOrEmpty(label))
- return label;
-
return groupTypeId.TypeId;
}
catch