GetSecondProfilePoint Method


Ruled Surface Get Second Profile Point Method

If a point was used to define the second profile, returns a copy of that point.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public XYZ GetSecondProfilePoint()

Return Value

XYZ
The second profile point if it was set.
Exceptions
Exception Condition
InvalidOperationException This surface element does not use a point to define the second profile.
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 →