C# Class Revit.SDK.Samples.NewRebar.CS.RebarShapeParameter

This class wraps an Parameter object which will be added to RebarShape definition. This is a abstract class and it will be inherited by two classes: RebarShapeParameterDouble and RebarShapeParameterFormula.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Protected Properties

Свойство Type Description
m_name String
m_parameterId ElementId
m_rebarShapeDef RebarShapeDef

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Commit ( Autodesk doc, DefinitionGroup defGroup ) : void

Yield the Parameter.

Méthodes protégées

Méthode Description
GetOrCreateDef ( DefinitionGroup group ) : ExternalDefinition

Get a external definition if there exists one, otherwise create a new one.

RebarShapeParameter ( RebarShapeDef shapeDef, string name ) : System

Constructor.

Method Details

Commit() public abstract méthode

Yield the Parameter.
public abstract Commit ( Autodesk doc, DefinitionGroup defGroup ) : void
doc Autodesk
defGroup DefinitionGroup Definition group
Résultat void

GetOrCreateDef() protected méthode

Get a external definition if there exists one, otherwise create a new one.
protected GetOrCreateDef ( DefinitionGroup group ) : ExternalDefinition
group DefinitionGroup Definition group
Résultat ExternalDefinition

RebarShapeParameter() protected méthode

Constructor.
protected RebarShapeParameter ( RebarShapeDef shapeDef, string name ) : System
shapeDef RebarShapeDef RebarShapeDefinition proxy
name string Parameter name
Résultat System

Property Details

m_name protected_oe property

Parameter name string.
protected String m_name
Résultat String

m_parameterId protected_oe property

Parameter id. It is the result of commit.
protected ElementId m_parameterId
Résultat ElementId

m_rebarShapeDef protected_oe property

RebarShape definition proxy object.
protected RebarShapeDef,Revit.SDK.Samples.NewRebar.CS m_rebarShapeDef
Résultat RebarShapeDef