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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →