1 Reply Latest reply on Apr 27, 2012 1:10 PM by andrew_french

    Set layer for Dimensions


      There are certain things we want to change on cells in our library. How do I set the layer for Dimension text/gfxs that already exist on a cell in the cell editor programatically?


      EE7.9.1 and C#


      The following code selects the Dimensions that I want to change their layer but it seems like all the layer commands are read only.

      private void fixDimensions()


           MGCPCB.Dimensions dims = ExpDoc.get_Dimensions();


           foreach (MGCPCB.Dimension dim in dims)


                dim.Selected = true;