C# 클래스 RevitPythonShell.RevitPythonShellApplication

상속: IExternalApplication
파일 보기 프로젝트 열기: pterelaos/revitpythonshell 1 사용 예제들

공개 메소드들

메소드 설명
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 commands, IEnumerable searchPaths, string>.IEnumerable variables, string initScript ) : void

Writes settings to the settings file, replacing the old commands.

비공개 메소드들

메소드 설명
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

메소드 상세

GetCommands() 공개 정적인 메소드

Returns a list of commands as defined in the settings file.
public static GetCommands ( ) : IEnumerable
리턴 IEnumerable

GetInitScript() 공개 정적인 메소드

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.
public static GetInitScript ( ) : string
리턴 string

GetSearchPaths() 공개 정적인 메소드

Returns a list of search paths to be added to python interpreter engines.
public static GetSearchPaths ( ) : IEnumerable
리턴 IEnumerable

GetSettings() 공개 정적인 메소드

Returns a handle to the settings file.
public static GetSettings ( ) : System.Xml.Linq.XDocument
리턴 System.Xml.Linq.XDocument

GetVariables() 공개 정적인 메소드

Returns the list of variables to be included with the scope in RevitPythonShell scripts.
public static GetVariables ( ) : string>.IDictionary
리턴 string>.IDictionary

WriteSettings() 공개 정적인 메소드

Writes settings to the settings file, replacing the old commands.
public static WriteSettings ( IEnumerable commands, IEnumerable searchPaths, string>.IEnumerable variables, string initScript ) : void
commands IEnumerable
searchPaths IEnumerable
variables string>.IEnumerable
initScript string
리턴 void