NewPointOnEdgeFaceIntersection Method


Construct a PointOnEdgeFaceIntersection object which is used to define the placement of a ReferencePoint given a references to edge and a reference to face.

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

Syntax

C#
public PointOnEdgeFaceIntersection NewPointOnEdgeFaceIntersection(
	Reference edgeReference,
	Reference faceReference,
	bool orientWithEdge
)
Visual Basic
Public Function NewPointOnEdgeFaceIntersection ( _
	edgeReference As Reference, _
	faceReference As Reference, _
	orientWithEdge As Boolean _
) As PointOnEdgeFaceIntersection
Visual C++
public:
PointOnEdgeFaceIntersection^ NewPointOnEdgeFaceIntersection(
	Reference^ edgeReference, 
	Reference^ faceReference, 
	bool orientWithEdge
)

Parameters

edgeReference
Type: Autodesk.Revit.DBReference
The edge reference.
faceReference
Type: Autodesk.Revit.DBReference
The face reference.
orientWithEdge
Type: SystemBoolean

Return Value

A new PointOnEdgeFaceIntersection object.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException Thrown when the input argument edgeReference or faceReference is a null reference (Nothing in Visual Basic).

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 →