Edit attchment

Function handles attachment files stored as point attributes. In a basic case it saves active attchment file to the main window active point attribute.

Point

Number of the active point in the main window.

Attribute

Attachment attribute name. The list remembers last ten used names.

Full path / Relative path / Just name

Determines how attchment paths are stored to attrbute values. Relative path is relative to the path of the file containing point with attribute.

All

Saves all open attachments to the active point. Ascending index is appended to the attribute name (IMAGE1, IMAGE2, ...).

Prefix, Auto

Connects open attachment files to the points in the main window active file. Prefix is first skipped from the file name and the following numeric value is used as an id. If the main window active file contains point with the same number, the attachment is stored as an attachment to that point. For example, prefix Img_ is removed from name Img_270_150611_152031.jpg and following 270 is used as a point number.

Directory, Extension

Makes it possible to attach files to points without reading them to the window first. The given directory should contain attachment files with the given file extension. Auto-button then connects attachment files to points like above,