tcpMDT
List drawing codes
Shows all distinct codes present in the active MDT drawing, together with the number of points for each code. Results are returned in alphabetical order. No parameters are required.
Prerequisites: The MDT plugin must be loaded and there must be an active drawing with MDT points.
Parameters
This command has no parameters.
Result
List of objects with code (MDT code) and count (number of points with that code), sorted alphabetically. If there are no points in the drawing, it returns an empty list.
Tip: This is the recommended first step before using Draw breakline by code or Query points, as it lets you know exactly which codes are available and how many points each one has.
Example prompts
You can ask the assistant things like:
What codes are in the drawing?
List the available codes and how many points each one has
How many different codes exist in the project?
Show me a summary of the point types in the drawing