C# Class BuildingCoder.CmdFamilyParamValue

Inheritance: IExternalCommand
Datei anzeigen Open project: jeremytammik/the_building_coder_samples

Public Methods

Method 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

Method Description
FamilyParamValueString ( FamilyType t, FamilyParameter fp, Document doc ) : string

Method Details

Execute() public method

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

SetFamilyParameterValueFails() public method

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
return void

SetFamilyParameterValueWorks() public method

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
return void