File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ public static IEnumerable<Command> GetCommands(XDocument repository)
339339 int i = 0 ;
340340 foreach ( var commandNode in repository . Root . Descendants ( "Command" ) ?? new List < XElement > ( ) )
341341 {
342- var addinAssembly = typeof ( RevitPythonShellApplication ) . Assembly ;
342+ var addinAssembly = typeof ( RpsExternalApplicationBase ) . Assembly ;
343343 var commandName = commandNode . Attribute ( "name" ) . Value ;
344344 var commandSrc = commandNode . Attribute ( "src" ) . Value ;
345345 var group = commandNode . Attribute ( "group" ) == null ? "" : commandNode . Attribute ( "group" ) . Value ;
@@ -352,7 +352,7 @@ public static IEnumerable<Command> GetCommands(XDocument repository)
352352 }
353353 else
354354 {
355- largeImage = GetEmbeddedPng ( addinAssembly , "RevitPythonShell .Resources.PythonScript32x32.png" ) ;
355+ largeImage = GetEmbeddedPng ( addinAssembly , "RpsRuntime .Resources.PythonScript32x32.png" ) ;
356356 }
357357
358358 ImageSource smallImage = null ;
@@ -363,7 +363,7 @@ public static IEnumerable<Command> GetCommands(XDocument repository)
363363 }
364364 else
365365 {
366- smallImage = GetEmbeddedPng ( addinAssembly , "RevitPythonShell .Resources.PythonScript16x16.png" ) ;
366+ smallImage = GetEmbeddedPng ( addinAssembly , "RpsRuntime .Resources.PythonScript16x16.png" ) ;
367367 }
368368
369369 yield return new Command {
You can’t perform that action at this time.
0 commit comments