Text to point

Modifying texts when reading CAD-drawings. You can copy text to T4-field of the closest point or convert text into single point. There is a need for this because in many CAD-systems data (like point number) is stored as normal text and not as point number or attribute attached to the point.

If text point has a height (text points Z-coordinate), this will be used in height and point conversions. Otherwise the text itself will be used a point height. If text begins with letters or special charters, these will be skipped and only the numeric part is used. E.g. text "Z=12.345" is handled as 12.345.

As point number / height / single point

Select which function to use. In all cases, the original text point remains in file.

As point number

Text is copied as point number (T4-code field) of the closest point.

As point height, As line height

Text is copied as point Z-value of the closest point or line. As line height with the Shift-key asks attribute name and copies text to line attribute. If all lines are closed and text is inside closed lines, line with weight center closest to the text location is selected. If the text is not inside any closed line, closest line is searched normally.

As single point

Converts text point to single point.

List to points, To new file, From clipboard

Converts coordinate list on screen to points. Adjacent field contains format used to parse attributes and coordinates in text. To new file settings save points to a new file element and From clipboard setting reads coordinate listing from the clipboard. In most cases, it is preferable to add text lines to the point group and use Selected setting. Function handles only texts in the active file.

Text code

Text code to be searched. Asterisk (*) finds all codes.

Point code

Point code to be searched, when moving texts to nearest point. Asterisk (*) finds all codes.

Determines the new point code when converting texts to single points. If this field has *, the original text code is used.

Fetch distance

Maximum distance between text and point, when moving texts to nearest point.

Skip alpha

Skip all texts which have other characters than just numbers 0-9.

Skip decimal value

Skip all texts which have decimal point. These are mostly distances or coordinates.

Only first part

Use only the first part of the text. (First word until space).

Remove text

The texts used for copying or converting can be removed from the text list. They will not remain as normal texts in the file.

Selected

Handles only selected texts.


Special settings

There are some special settings related to this function.

MaxDistList

List of predefined distance values in maximum distance setting list.

See also: Using special settings