NewFascia Method (FasciaType, ReferenceArray)


Creates a fascia along a reference array.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public Fascia NewFascia(
	FasciaType FasciaType,
	ReferenceArray references
)
Visual Basic
Public Function NewFascia ( _
	FasciaType As FasciaType, _
	references As ReferenceArray _
) As Fascia
Visual C++
public:
Fascia^ NewFascia(
	FasciaType^ FasciaType, 
	ReferenceArray^ references
)

Parameters

FasciaType
Type: Autodesk.Revit.DB.ArchitectureFasciaType
The type of the fascia to create
references
Type: Autodesk.Revit.DBReferenceArray
An array of planar lines and arcs that represents the place where you want to place the fascia.

Return Value

If successful a new fascia object within the project, otherwise a null reference (Nothing in Visual Basic).

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentExceptionThrown if the fascia type does not exist in the given document.

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 →