Quantcast
Viewing all articles
Browse latest Browse all 4541

How to distinguish 'Plow Mode' and to 'get the trace object' selected during plow mode?

Hi,

Below script is to get the Trace Object (Width of it)

----------------------------------------------------------------------------

Dim Traces,netLine, temp

Set Traces = pcbDoc.Traces(epcbSelectSelected)

 

MsgBox Traces.count

For Each Trace in Traces

MsgBox Trace.Geometry.LineWidth

Next

----------------------------------------------------------------------------

 

The script works in normal Selection state as below.

Image may be NSFW.
Clik here to view.
plow_trace2.jpg

 

But it does not work in Plow Mode.

How can I distinguish Plow mode and how to get the trace obj selected for plow?

Image may be NSFW.
Clik here to view.
plow_trace.jpg

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 4541

Trending Articles