The assigned kCoefficient of the connector.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
public double AssignedKCoefficient { get; set; } |
Visual Basic |
---|
Public Property AssignedKCoefficient As Double Get Set |
Visual C++ |
---|
public: property double AssignedKCoefficient { double get (); void set (double value); } |
Remarks
Assigned kCoefficient may be assigned for connectors of some family instances, for more information.
In order to set this property, it must be mapped to a writable instance parameter in the family definition.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the connector's domain is not DomainPiping. Thrown when the connector is not in a family instance. |
Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when set an invalid value. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown on failure to get or set kCoefficient. |