PrimitiveType Enumeration


Type of geometry primitive represented as a number.

Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2017

Syntax

C#
public enum PrimitiveType
Visual Basic
Public Enumeration PrimitiveType
Visual C++
public enum class PrimitiveType

Members

Member name Description
TriangleList Geometry consisting of a list of triangles.
LineList Geometry consisting of a list of line segments.
PointList Geometry consisting of a list of points.

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 →