C# 클래스 SolidworksAddinFramework.SldWorksExtensions

파일 보기 프로젝트 열기: Weingartner/SolidworksAddinFramework

공개 메소드들

메소드 설명
CreateHiddenDocument ( this sldWorks, bool hidden = true, swDocumentTypes_e type = swDocumentTypes_e.swDocPART ) : ModelDoc2
DoWithOpenDoc ( this swApp, Action action ) : IDisposable
DoWithOpenDoc ( this swApp, IDisposable>.Func action ) : IDisposable
DocOpenObservable ( this swApp ) : IObservable
LoadIgesInvisible ( this sldWorks, string igesFile, bool visible = false ) : ModelDoc2

Tries to load an iges file invisibly. Throws an exception if it doesn't work.

OpenInvisibleReadOnly ( this sldWorks, string toolFile, bool visible = false, swDocumentTypes_e type = swDocumentTypes_e.swDocPART ) : ModelDoc2

Open a document invisibly. It will not be shown to the user but you will be able to interact with it through the API as if it is loaded.

메소드 상세

CreateHiddenDocument() 공개 정적인 메소드

public static CreateHiddenDocument ( this sldWorks, bool hidden = true, swDocumentTypes_e type = swDocumentTypes_e.swDocPART ) : ModelDoc2
sldWorks this
hidden bool
type swDocumentTypes_e
리턴 ModelDoc2

DoWithOpenDoc() 공개 정적인 메소드

public static DoWithOpenDoc ( this swApp, Action action ) : IDisposable
swApp this
action Action
리턴 IDisposable

DoWithOpenDoc() 공개 정적인 메소드

public static DoWithOpenDoc ( this swApp, IDisposable>.Func action ) : IDisposable
swApp this
action IDisposable>.Func
리턴 IDisposable

DocOpenObservable() 공개 정적인 메소드

public static DocOpenObservable ( this swApp ) : IObservable
swApp this
리턴 IObservable

LoadIgesInvisible() 공개 정적인 메소드

Tries to load an iges file invisibly. Throws an exception if it doesn't work.
public static LoadIgesInvisible ( this sldWorks, string igesFile, bool visible = false ) : ModelDoc2
sldWorks this
igesFile string
visible bool
리턴 ModelDoc2

OpenInvisibleReadOnly() 공개 정적인 메소드

Open a document invisibly. It will not be shown to the user but you will be able to interact with it through the API as if it is loaded.
public static OpenInvisibleReadOnly ( this sldWorks, string toolFile, bool visible = false, swDocumentTypes_e type = swDocumentTypes_e.swDocPART ) : ModelDoc2
sldWorks this
toolFile string
visible bool
type swDocumentTypes_e
리턴 ModelDoc2