DrawPoint Method


Slab Shape Editor Draw Point Method

Note: This API is now obsolete.

Adds a point to the corresponding slab, roof or floor.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
[ObsoleteAttribute("This method is deprecated in Revit 2025 and may be removed in a future version of Revit. Use "AddPoint" instead. ")]
public SlabShapeVertex DrawPoint(
	XYZ location
)

Parameters

location XYZ
The location of the point.

Return Value

SlabShapeVertex
The newly created vertex.
Exceptions
Exception Condition
ArgumentNullException Thrown when the location is .
Remarks
If the input location is not on the top face of the slab, this function will return . Drawing a point on boundary crease may increase the number of creases. This method will regenerate the document even in manual regeneration mode.
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 →