tcpMDT
Active drawing summary
Returns a complete summary of the project status in the active MDT drawing: X/Y/Z coordinate extents, assigned coordinate system (CGEOCS), number of MDT points, active surface (name and plan area) and number of defined alignments.
This is the ideal starting point when beginning a conversation with the assistant about a new project, as it allows the assistant to understand the context before executing any other operation.
Prerequisites: The MDT plugin must be loaded and there must be an active drawing. The surface and alignments are optional; if they do not exist, this is explicitly stated.
Parameters
This command has no parameters.
Result
Object with the following fields:
extents: drawing extents with minimum and maximum X/Y/Z coordinates.crs: coordinate system assigned to the drawing (CGEOCS), or empty if none is assigned.point_count: number of MDT points in the drawing.surface: name and 2D area of the active surface, ornullif there is none.alignment_count: number of alignments defined in the drawing.
Tip: Use this command at the start of each session so the assistant knows the project context. With this information it will be able to guide you towards the most appropriate operations based on the available data.
Example prompts
You can ask the assistant things like:
Give me a summary of the active drawing
What is the current state of the project?
How many points are there and is there an active surface?
Tell me what data this MDT drawing contains
What coordinate system is assigned to the project?