C# Class Revit.SDK.Samples.CreateSimpleAreaRein.CS.ParameterUtil

contain utility methods find or set certain parameter
ファイルを表示 Open project: AMEE/revit

Public Methods

Method Description
FindParaByName ( ParameterSet paras, string name ) : Parameter

find certain parameter in a set

SetParaInt ( Autodesk.Revit.DB.Element elem, BuiltInParameter paraIndex, int value ) : bool

set certain parameter of given element to int value

Method Details

FindParaByName() public static method

find certain parameter in a set
public static FindParaByName ( ParameterSet paras, string name ) : Parameter
paras ParameterSet
name string find by name
return Parameter

SetParaInt() public static method

set certain parameter of given element to int value
public static SetParaInt ( Autodesk.Revit.DB.Element elem, BuiltInParameter paraIndex, int value ) : bool
elem Autodesk.Revit.DB.Element given element
paraIndex BuiltInParameter BuiltInParameter
value int
return bool