Check Arc Data

From Macros Wiki
Jump to: navigation, search
local xs, ys, xe, ye
get_feat_start iref, ics, xs, ys
if xs < xmin then xmin = xs
if ys < ymin then ymin = ys
if xs > xmax then xmax = xs
if ys > ymax then ymax = ys
get_feat_end iref, ics, xe, ye
if xe < xmin then xmin = xe
if ye < ymin then ymin = ye
if xe > xmax then xmax = xe
if ye > ymax then ymax = ye