Свойство | Type | Description | |
---|---|---|---|
GeometryFactoryAssembly | string | ||
PreloaderAssembly | string | ||
PreloaderClassName | string | ||
PreloaderMethodName | string |
Méthode | Description | |
---|---|---|
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 |
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.
|
Méthode | Description | |
---|---|---|
GetAsmInstallations ( string rootFolder ) : IEnumerable |
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. |
Résultat | string |
public static GetInstalledAsmVersion ( List |
||
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. |
Résultat | LibraryVersion |
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. |
Résultat | void |
public static string GeometryFactoryAssembly | ||
Résultat | string |
public static string PreloaderAssembly | ||
Résultat | string |
public static string PreloaderClassName | ||
Résultat | string |