C# 클래스 DynamoShapeManager.Utilities

파일 보기 프로젝트 열기: DynamoDS/Dynamo

공개 프로퍼티들

프로퍼티 타입 설명
GeometryFactoryAssembly string
PreloaderAssembly string
PreloaderClassName string
PreloaderMethodName string

공개 메소드들

메소드 설명
GetGeometryFactoryPath ( string rootFolder, LibraryVersion version ) : string

Call this method to resolve full path to GeometryFactoryAssembly assembly, given the root folder and the version. This method throws an exception if either of the folders/assembly cannot be found.

GetInstalledAsmVersion ( List versions, string &location, string rootFolder ) : LibraryVersion

Call this method to determine the version of ASM that is installed on the user machine. The method scans through a list of known Autodesk product folders for ASM binaries with the targeted version.

PreloadAsmFromPath ( string preloaderLocation, string asmLocation ) : void

Call this method to preload ASM binaries from a specific location. This method does not have a return value, any failures in loading ASM binaries will result in an exception being thrown.

비공개 메소드들

메소드 설명
GetAsmInstallations ( string rootFolder ) : IEnumerable

메소드 상세

GetGeometryFactoryPath() 공개 정적인 메소드

Call this method to resolve full path to GeometryFactoryAssembly assembly, given the root folder and the version. This method throws an exception if either of the folders/assembly cannot be found.
public static GetGeometryFactoryPath ( string rootFolder, LibraryVersion version ) : string
rootFolder string Full path of the directory that contains /// LibG_xxx folder, where 'xxx' represents the library version. In a /// typical setup this would be the same directory that contains Dynamo /// core modules. This must represent a valid directory.
version LibraryVersion Version number of the targeted geometry library. /// If the resulting folder does not exist, this method throws an /// FileNotFoundException.
리턴 string

GetInstalledAsmVersion() 공개 정적인 메소드

Call this method to determine the version of ASM that is installed on the user machine. The method scans through a list of known Autodesk product folders for ASM binaries with the targeted version.
public static GetInstalledAsmVersion ( List versions, string &location, string rootFolder ) : LibraryVersion
versions List A list of version numbers to check for in order /// of preference. This argument cannot be null or empty.
location string The full path of the directory in which targeted /// ASM binaries are found. This argument cannot be null.
rootFolder string This method makes use of DynamoInstallDetective /// to determine the installation location of various Autodesk products. This /// argument is not optional and must represent the full path to the folder /// which contains DynamoInstallDetective.dll. An exception is thrown if the /// assembly cannot be located.
리턴 LibraryVersion

PreloadAsmFromPath() 공개 정적인 메소드

Call this method to preload ASM binaries from a specific location. This method does not have a return value, any failures in loading ASM binaries will result in an exception being thrown.
public static PreloadAsmFromPath ( string preloaderLocation, string asmLocation ) : void
preloaderLocation string Full path of the folder that contains /// PreloaderAssembly assembly. This argument must represent a valid path /// to the loader.
asmLocation string Full path of the folder that contains ASM /// binaries to load. This argument cannot be null or empty.
리턴 void

프로퍼티 상세

GeometryFactoryAssembly 공개적으로 정적으로 프로퍼티

public static string GeometryFactoryAssembly
리턴 string

PreloaderAssembly 공개적으로 정적으로 프로퍼티

public static string PreloaderAssembly
리턴 string

PreloaderClassName 공개적으로 정적으로 프로퍼티

public static string PreloaderClassName
리턴 string

PreloaderMethodName 공개적으로 정적으로 프로퍼티

public static string PreloaderMethodName
리턴 string