Provides access to value as a string with unit in the given family parameter.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public string AsValueString(
FamilyParameter familyParameter
)
Parameters
- familyParameter FamilyParameter
-
Return Value
StringThe string that represents the parameter value with unit.
Exceptions
Remarks
The method only applies to parameters of value types. If the parameter has no value or does not contain a numeric value,
the method returns
null.
See Also
Reference