Create Method (XYZ, ElementId)


Creates a point at the given coordinates and assigns it the specified GraphicsStyle.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2016

Syntax

C#
public static Point Create(
	XYZ coord,
	ElementId id
)
Visual Basic
Public Shared Function Create ( _
	coord As XYZ, _
	id As ElementId _
) As Point
Visual C++
public:
static Point^ Create(
	XYZ^ coord, 
	ElementId^ id
)

Parameters

coord
Type: Autodesk.Revit.DB XYZ
The coordinates where the point will be created.
id
Type: Autodesk.Revit.DB ElementId
The id of the GraphicsStyle element from which to apply the point properties.

Return Value

A Point object.

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 →