C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Preload() публичный Метод

public Preload ( ) : void
Результат void

Preloader() публичный Метод

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. ///
Результат System

Preloader() публичный Метод

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.
Результат System

Preloader() публичный Метод

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.
Результат System

Preloader() публичный Метод

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.
Результат System