Skip to content

SlabShapeEditor.DeletePoint

Public Class

Delete a SlabShapeVertex from the element.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public bool DeletePoint(
SlabShapeVertex vertex
)

Parameters

vertex SlabShapeVertex

The SlabShapeVertex to be deleted.

Return Value

Boolean
True if the vertex is successfully deleted. False if the vertex is not found or could not be deleted.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

Corner vertices are created right after the SlabShapeEditor is enabled. They are tied with the boundaries so that they could not be deleted individually. They can only be deleted using ResetSlabShape.