PrimitiveType Enumeration


Primitive Type Enumeration

Type of geometry primitive represented as a number.

Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public enum PrimitiveType
Members
Member name Value Description
TriangleList 0 Geometry consisting of a list of triangles.
LineList 1 Geometry consisting of a list of line segments.
PointList 2 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 →