pyrevit.revit.geom

Geometric utilities for Revit.

pyrevit.revit.geom.convert_point_coord_system(rvt_point, rvt_transform)

Return coordinates of point in another coordinate system.

Parameters:
  • rvt_point (DB.XYZ) – Revit point
  • rvt_transform (DB.Transform) – Revit transform for target coord system
Returns:

Point coordinates in new coordinate system.

Return type:

DB.XYZ

pyrevit.revit.geom.convert_point_to_metric(rvt_point)

Convert given point coordinates to metric.