AnsweredAssumed Answered

Set layer for Dimensions

Question asked by andrew_french on Apr 27, 2012
Latest reply on Apr 27, 2012 by andrew_french

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;

     }

}

 

 

Outcomes