Does anybody know how to use Automation to reset the OVERRIDEN (yellow color) status from the Plane Shape placed on the PCB in ExpeditionPCB?
For example, I have a lot of Plane Shapes in my PCB marked yellow color in Plane Shape properties (i.e. Overriden), and now I want to automatically reset this status from all of them.
I tried the following script:
For Each shapeObj In doc.PlaneShapes
If (shapeObj.PlaneClass.HasOverrides) Then
Set classObj = shapeObj.PlaneClass
shapeObj.PlaneClass = classObj 'Re-assign the same PlaneClass and expect the Overriden status will be reset
However, the status of all my overrided Plane Shapes remained Overrided.
What am I doing wrong?