| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
3D geometry display system using DirectContext3D transient rendering.
Display Revit geometry (curves, faces, solids, meshes, points, bounding boxes) directly in the active 3D view without creating model elements or affecting the Revit database.

See visualization_curve_script.py:
from Autodesk.Revit.DB import Line, XYZ
# Create geometry
start = XYZ(0, 0, 0)
end = XYZ(10, 10, 0)
line = Line.CreateBound(start, end)
# Print geometry object - displays in 3D view
print(line)
# Line appears immediately in active 3D viewMore examples:
See Samples/CSharpDemo/CurveVisualization.cs:
using Autodesk.Revit.DB;
using RevitDevTool.Visualization;
// Create geometry
XYZ start = XYZ.Zero;
XYZ end = new XYZ(10, 10, 0);
Line line = Line.CreateBound(start, end);
// Display
TraceGeometry.Show(line);More examples:
See: Complete Geometry Types Reference
See complete examples:
The Clear Geometry button displays a live count badge showing the number of geometry objects currently visualized:
For developers extending the visualization system:

Rendering: DirectContext3D (hardware-accelerated) Performance: Real-time (60 FPS) Revit Support: 2022-2027
| Back | FazBrowse Home | New Git URL |