→ Private area
Aplitop · Surveying the Future

tcpMDT

Draw cross sections

Updated on tcpMDT Leer en español

Draws the cross sections of an alignment with their data table, at the specified scale. Always drawn in model space, with the origin computed automatically.

Prerequisites: generate_cross_sections must have been run beforehand for that alignment (it generates the .tra file).

Parameters

Parameter

Type

Required

Description

alignment_name

text

Yes

Alignment name (partial, case-insensitive). E.g.: eje2.

h_scale

number

No

Horizontal scale denominator (e.g.: 1000 → 1:1000). Default 1000.

v_scale

number

No

Vertical scale denominator (e.g.: 1000 → 1:1000). Default 1000.

draw_guitar

boolean

No

Draw the data table associated with the cross sections. Default true.

Result

Object with the following fields:

  • num_points: number of points drawn.

Tip: If you have not generated the cross sections yet, run generate_cross_sections first; otherwise this command returns a file-not-found error.

Example prompts

You can ask the assistant things like:

  • Draw the cross sections of eje2 at scale 1:500

  • Render the cross sections of the road with the data table

  • Draw the cross sections of the main alignment at horizontal scale 1:1000 and vertical 1:200

Type your question and pick a product to narrow the results. Use ↑ ↓ and Enter to open an article.