Method | Description | |
---|---|---|
GetCommands ( ) : IEnumerable |
Returns a list of commands as defined in the settings file.
|
|
GetInitScript ( ) : string |
Returns a string to be executed, whenever the interactive shell is started. If this is not specified in the XML file (under /RevitPythonShell/InitScript), then null is returned.
|
|
GetSearchPaths ( ) : IEnumerable |
Returns a list of search paths to be added to python interpreter engines.
|
|
GetSettings ( ) : System.Xml.Linq.XDocument |
Returns a handle to the settings file.
|
|
GetVariables ( ) : string>.IDictionary |
Returns the list of variables to be included with the scope in RevitPythonShell scripts.
|
|
WriteSettings ( IEnumerable |
Writes settings to the settings file, replacing the old commands.
|
Method | Description | |
---|---|---|
CreateCommandLoaderAssembly ( string dllfolder, string dllname ) : void |
Creates a dynamic assembly that contains types for starting the canned commands.
|
|
GetSettingsFile ( ) : string | ||
IExternalApplication ( UIControlledApplication application ) : System.Result |
public static GetSearchPaths ( ) : IEnumerable |
||
return | IEnumerable |
public static GetSettings ( ) : System.Xml.Linq.XDocument | ||
return | System.Xml.Linq.XDocument |
public static GetVariables ( ) : string>.IDictionary |
||
return | string>.IDictionary |
public static WriteSettings ( IEnumerable |
||
commands | IEnumerable |
|
searchPaths | IEnumerable |
|
variables | string>.IEnumerable | |
initScript | string | |
return | void |