ProfileId Property


The element id of the profile family used to create the sweep or reveal.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public ElementId ProfileId { get; set; }
Visual Basic
Public Property ProfileId As ElementId
	Get
	Set
Visual C++
public:
property ElementId^ ProfileId {
	ElementId^ get ();
	void set (ElementId^ value);
}

Field Value

May be InvalidElementId if the default profile is used.

Remarks

This value is not used when creating standalone wall sweeps. The profile id of the wall sweep's type is used instead.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException When setting this property: A non-optional argument was NULL

See Also