AnsweredAssumed Answered

How to reset the OVERRIDEN status from the Plane Shape?

Question asked by olsmir on May 15, 2014
Latest reply on May 16, 2014 by olsmir

Hello All.


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

    End If



However, the status of all my overrided Plane Shapes remained Overrided.

What am I doing wrong?