C# 클래스 Revit.SDK.Samples.AutoParameter.CS.FamilyParameterAssigner

add parameters(family parameters/shared parameters) to the opened family file the parameters are recorded in txt file following certain formats
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
AddParameters ( ) : bool

add parameters to the family file

FamilyParameterAssigner ( Autodesk app, Document doc ) : System

constructor

LoadParametersFromFile ( ) : bool

load the family parameter file (if exists) and shared parameter file (if exists) only need to load once

비공개 메소드들

메소드 설명
AddFamilyParameter ( ) : bool

add family parameter to the family

AddSharedParameter ( ) : bool

load shared parameters from shared parameter file and add them to family

LoadFamilyParameterFromFile ( bool &exist ) : bool

load family parameters from the text file

LoadSharedParameterFromFile ( bool &exist ) : bool

load family parameters from the text file

메소드 상세

AddParameters() 공개 메소드

add parameters to the family file
public AddParameters ( ) : bool
리턴 bool

FamilyParameterAssigner() 공개 메소드

constructor
public FamilyParameterAssigner ( Autodesk app, Document doc ) : System
app Autodesk /// the active revit application ///
doc Document /// the family document which will have parameters added in ///
리턴 System

LoadParametersFromFile() 공개 메소드

load the family parameter file (if exists) and shared parameter file (if exists) only need to load once
public LoadParametersFromFile ( ) : bool
리턴 bool