I want to get the minimum spacing between two clinesegs(line to line or arc to arc), which were in different layers, such as one segment was in ETCH/layer_3 and the other was in ETCH/layer4. When I used the command axlAirGap(), sometimes it could return the airgap data, but sometimes it returned nil.
Given 2 cline seg dbids (obj1 and obj2) do: axlAirGap(obj1 obj2 nil 'anyLayer)
The default for axlAirGap is same layer measurement.
In reply to fxffxf:
Very good, it works well,
Thank you very much