Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Everything E3D

Display Text from a File on the Drawing

  • Last UpdatedMar 02, 2026
  • 1 minute read

The contents of a text file can be read in and placed on a drawing using Programmable Macro Language (PML) file handling facilities. For example (when at a NOTE):

ALIG TB JUST L

OPENFILE /filename READ !TOKEN

READFILE $!TOKEN !RECORD

NEW TEXP AT @ BTEX ’$!RECORD’

VAR !EXTENT EXTENT BTEX

The EXTENT query (together with PML array and string-handling commands) can be used to calculate the position of the next line of text.

Successive READFILE and TEXP commands can be used until the file is exhausted. The file can then be closed using:

CLOSEFILE $!TOKEN

Note that any ‘$’ characters in the file must be doubled.

PML is detailed. Refer to the Software Customisation Guide for further information.

Related Links