C# Class DynamoShapeManager.Preloader

Shape manager preloader class that helps with preloading Autodesk Shape Manager (ASM) binaries through geometry library (LibG). This class being part of Dynamo core module, relies on IGeometryConfiguration supplied by the host application to determine the installed location of ASM binaries.
Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Méthodes publiques

Méthode Description
Preload ( ) : void
Preloader ( string rootFolder ) : System

Constructs a preloader object to help preload shape manager.

Preloader ( string rootFolder, IEnumerable versions ) : System

Constructs a preloader object to help preload a specific version of shape manager.

Preloader ( string rootFolder, LibraryVersion version ) : System

Construct a Preloader by specifying a required library version.

Preloader ( string rootFolder, string shapeManagerPath, LibraryVersion version ) : System

Constructs a preloader object to help preload the specified version of shape manager from the given directory.

Method Details

Preload() public méthode

public Preload ( ) : void
Résultat void

Preloader() public méthode

Constructs a preloader object to help preload shape manager.
public Preloader ( string rootFolder ) : System
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. ///
Résultat System

Preloader() public méthode

Constructs a preloader object to help preload a specific version of shape manager.
public Preloader ( string rootFolder, IEnumerable versions ) : System
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. ///
versions IEnumerable A list of version numbers to check for in order /// of preference. This argument cannot be null or empty.
Résultat System

Preloader() public méthode

Construct a Preloader by specifying a required library version.
public Preloader ( string rootFolder, LibraryVersion version ) : System
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 The version of shape manager.
Résultat System

Preloader() public méthode

Constructs a preloader object to help preload the specified version of shape manager from the given directory.
public Preloader ( string rootFolder, string shapeManagerPath, LibraryVersion version ) : System
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. ///
shapeManagerPath string The directory from where shape manager /// binaries can be preloaded from.
version LibraryVersion The version of shape manager.
Résultat System