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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →