digi3d module

digi3d is available to scripts running inside Digi3D.AI: the Python pane and quality checks. It provides drawing and photogrammetric windows, photogrammetric projects, commands, panes, and other services. It cannot be imported in console applications.

The usual entry point is current_view(), returning the active DrawingView.

digi3d also re-exports core digi21.base types. After import digi3d, use them with digi3d. (for example, digi3d.Line) without importing digi21.base. To omit the digi3d. prefix, import with from digi3d import ...:

FeatureCode, Geometry, Point, Text, Line, Polygon, Complex, DigiTab, DigiTabNode, DrawingFile, Camera, TextJustification, StandardViewpoint, PointLineRelativePosition.

Classes

Functions and enumerations

  • Module functions — current_view, open_drawing, photogrammetric window and projects, messages, panes, dialogs, utilities.
  • Enumerations — InputDevice, MusicType, BallonType, TaskType, FillType.
  • Exceptions — GeometryError, GeometryRelationError, GeometryWarning, DatabaseFieldError.