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)
339
339
int i = 0 ;
340
340
foreach ( var commandNode in repository . Root . Descendants ( "Command" ) ?? new List < XElement > ( ) )
341
341
{
342
- var addinAssembly = typeof ( RevitPythonShellApplication ) . Assembly ;
342
+ var addinAssembly = typeof ( RpsExternalApplicationBase ) . Assembly ;
343
343
var commandName = commandNode . Attribute ( "name" ) . Value ;
344
344
var commandSrc = commandNode . Attribute ( "src" ) . Value ;
345
345
var group = commandNode . Attribute ( "group" ) == null ? "" : commandNode . Attribute ( "group" ) . Value ;
@@ -352,7 +352,7 @@ public static IEnumerable<Command> GetCommands(XDocument repository)
352
352
}
353
353
else
354
354
{
355
- largeImage = GetEmbeddedPng ( addinAssembly , "RevitPythonShell .Resources.PythonScript32x32.png" ) ;
355
+ largeImage = GetEmbeddedPng ( addinAssembly , "RpsRuntime .Resources.PythonScript32x32.png" ) ;
356
356
}
357
357
358
358
ImageSource smallImage = null ;
@@ -363,7 +363,7 @@ public static IEnumerable<Command> GetCommands(XDocument repository)
363
363
}
364
364
else
365
365
{
366
- smallImage = GetEmbeddedPng ( addinAssembly , "RevitPythonShell .Resources.PythonScript16x16.png" ) ;
366
+ smallImage = GetEmbeddedPng ( addinAssembly , "RpsRuntime .Resources.PythonScript16x16.png" ) ;
367
367
}
368
368
369
369
yield return new Command {
You can’t perform that action at this time.
0 commit comments