diff --git a/pyrevitlib/pyrevit/runtime/GrasshopperEngine.cs b/pyrevitlib/pyrevit/runtime/GrasshopperEngine.cs index d6b78af93..9081e2b5f 100644 --- a/pyrevitlib/pyrevit/runtime/GrasshopperEngine.cs +++ b/pyrevitlib/pyrevit/runtime/GrasshopperEngine.cs @@ -21,7 +21,7 @@ public override int Execute(ref ScriptRuntime runtime) { try { // find RhinoInside.Revit.dll ObjectHandle ghObjHandle = - Activator.CreateInstance("RhinoInside.Revit", "RhinoInside.Revit.UI.CommandGrasshopperPlayer"); + Activator.CreateInstance("RhinoInside.Revit.AddIn", "RhinoInside.Revit.AddIn.Commands.CommandGrasshopperPlayer"); object ghPlayer = ghObjHandle.Unwrap(); foreach (MethodInfo methodInfo in ghPlayer.GetType().GetMethods()) { var methodParams = methodInfo.GetParameters();