Please enable JavaScript to view this site.

TerraScan User Guide

Navigation: Batch Processing Reference > Macros > Macro actions

Delete by line

Scroll Prev Top Next More

Delete by line

Not Lite

Delete by line action performs about the same process as the By line option of the Delete command. The action deletes points from the block binary files. You can define a certain line number and specify the area from which to delete points.

For LAS 1.4 files, you can specify that the withheld bit is set instead of deleting points.

macro_delete_by_line

SETTING

EFFECT

Method

Defines what method is applied to points:

Delete points - deletes the point. This is the normal method to remove points from a file.

Set withheld bit - sets the withheld bit for points in LAS 1.4 files. The point itself is kept in the file.

Line

Line number(s) to be effected. Use a comma or minus to separate several line numbers, for example 1-3,5. Use numbers from 0 to 65535.

Points

Specifies the area for which to delete points:

All points - all points are deleted.

Inside fence only - all points inside a fence or selected polygons are deleted.

Outside fence only - all points outside a MicroStation fence or selected polygons are deleted.

Return value: Number of points that were effected by the process or -1 if the process failed due to missing fence information.

TerraScan User Guide   01.01.2024   © 2024 Terrasolid Ltd