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

contain utility methods find or set certain parameter
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
FindParaByName ( ParameterSet paras, string name ) : Parameter

find certain parameter in a set

SetParaInt ( Element elem, BuiltInParameter paraIndex, int value ) : bool

set certain parameter of given element to int value

SetParaInt ( Element elem, string paraName, int value ) : bool

find certain parameter in a set

SetParaNullId ( Parameter para ) : bool

set certain parameter of given element to int value

Private Methods

Méthode Description
ParameterUtil ( ) : System

Method Details

FindParaByName() public static méthode

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

SetParaInt() public static méthode

set certain parameter of given element to int value
public static SetParaInt ( Element elem, BuiltInParameter paraIndex, int value ) : bool
elem Element given element
paraIndex BuiltInParameter BuiltInParameter
value int
Résultat bool

SetParaInt() public static méthode

find certain parameter in a set
public static SetParaInt ( Element elem, string paraName, int value ) : bool
elem Element
paraName string
value int
Résultat bool

SetParaNullId() public static méthode

set certain parameter of given element to int value
public static SetParaNullId ( Parameter para ) : bool
para Parameter
Résultat bool