C# 클래스 Revit.SDK.Samples.MultiplanarRebar.CS.SharedParameterUtil

This is an utility class used to create shared parameter in Revit Document. It simplifies the process of shared parameters creation.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
GetOrCreateDef ( string name, Document revitDoc ) : ElementId

Get existed or create a new shared parameters with the given name and Revit DB Document.

GetOrCreateDef ( string name, Application revitApp ) : ExternalDefinition

Get existed or create a new shared parameters with the given name and Revit DB Application.

GetOrCreateDef ( string name, string groupName, Application revitApp ) : ExternalDefinition

Get existed or create a new shared parameters with the given name, group and Revit DB Application.

GetSharedParameterFile ( Application revitApp ) : DefinitionFile

Get shared parameter DefinitionFile of given Revit DB Application.

메소드 상세

GetOrCreateDef() 공개 정적인 메소드

Get existed or create a new shared parameters with the given name and Revit DB Document.
public static GetOrCreateDef ( string name, Document revitDoc ) : ElementId
name string Shared parameter name
revitDoc Document Revit DB Document
리턴 ElementId

GetOrCreateDef() 공개 정적인 메소드

Get existed or create a new shared parameters with the given name and Revit DB Application.
public static GetOrCreateDef ( string name, Application revitApp ) : ExternalDefinition
name string Shared parameter name
revitApp Application Revit DB Application
리턴 ExternalDefinition

GetOrCreateDef() 공개 정적인 메소드

Get existed or create a new shared parameters with the given name, group and Revit DB Application.
public static GetOrCreateDef ( string name, string groupName, Application revitApp ) : ExternalDefinition
name string Shared parameter name
groupName string Shared parameter group name
revitApp Application Revit DB Application
리턴 ExternalDefinition

GetSharedParameterFile() 공개 정적인 메소드

Get shared parameter DefinitionFile of given Revit DB Application.
public static GetSharedParameterFile ( Application revitApp ) : DefinitionFile
revitApp Application Revit DB Application
리턴 DefinitionFile