C# Class BuildingCoder.CmdFamilyParamValue

Inheritance: IExternalCommand
Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

Méthode Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
SetFamilyParameterValueFails ( Document doc, string paramNameToAmend ) : void

Non-working sample code for http://forums.autodesk.com/t5/revit-api/family-types-amp-shared-parameter-values/m-p/6218767

SetFamilyParameterValueWorks ( Document doc, string paramNameToAmend ) : void

Working sample code for http://forums.autodesk.com/t5/revit-api/family-types-amp-shared-parameter-values/m-p/6218767

Private Methods

Méthode Description
FamilyParamValueString ( FamilyType t, FamilyParameter fp, Document doc ) : string

Method Details

Execute() public méthode

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

SetFamilyParameterValueFails() public méthode

Non-working sample code for http://forums.autodesk.com/t5/revit-api/family-types-amp-shared-parameter-values/m-p/6218767
public SetFamilyParameterValueFails ( Document doc, string paramNameToAmend ) : void
doc Document
paramNameToAmend string
Résultat void

SetFamilyParameterValueWorks() public méthode

Working sample code for http://forums.autodesk.com/t5/revit-api/family-types-amp-shared-parameter-values/m-p/6218767
public SetFamilyParameterValueWorks ( Document doc, string paramNameToAmend ) : void
doc Document
paramNameToAmend string
Résultat void