Skip to content

Commit

Permalink
fixed issue #1462
Browse files Browse the repository at this point in the history
  • Loading branch information
eirannejad committed Feb 1, 2022
1 parent 2d40f5b commit 91ab0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrevitlib/pyrevit/runtime/GrasshopperEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 91ab0db

Please sign in to comment.