AssignedKCoefficient Property


The assigned kCoefficient of the connector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.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.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →