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.
파일 보기 프로젝트 열기: DynamoDS/Dynamo 1 사용 예제들

공개 메소드들

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