ConvertToTable Method


Property Line Convert To Table Method

Converts sketch based to table based

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void ConvertToTable()
Exceptions
Exception Condition
InvalidOperationException PropertyLine is sketch-based. -or- PropertyLine contains some unsupported curve type, only line and arc are supported to convert to table. -or- Failed to convert to table if it is already a sketch-based PropertyLine. -or- Failed to convert to table if the sketch contains some other curve types like spline and ellipse, only line and arc are consider as valid curve type when convert to table. -or- Failed to convert if it is already table-based
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 →