tcpMDT
List drawing alignments
Lists all alignments defined in the active MDT drawing. For each alignment it returns its name, start station, end station and total length. If there are no alignments, it returns an empty list. No parameters are required.
Prerequisites: The MDT plugin must be loaded and there must be an active drawing. If the alignment module is not loaded, the assistant will indicate this.
Parameters
This command has no parameters.
Result
List of objects with name (alignment name), pk_start (start station), pk_end (end station) and length (total length in metres).
Tip: Use this command before Find alignment by name or Generate longitudinal profile to know exactly the names of the alignments available in the project.
Example prompts
You can ask the assistant things like:
What alignments are in the drawing?
List all the alignments in the project
How many alignments are defined and how long is each one?
Show me the available alignments with their start and end stations