the fair gds editor GenerateTechnologyMacro

Generate Technology Macro

  • Icon: alt icon

Description

A macro is generated, which will restore the actual layer setup. All layer relevant data will be saved like layer name, color, fill style, 3D setting, etc. The generated macro will be displayed in the TextEditor. This feature is part of the LayerManager.

Optional a similar feature can be added to the menu or tool bar by a macro command. ( see MacroClassLayout for details, Shortcut: Shift+F12 )

Example

   1 #!/usr/bin/layout
   2 #name=technology file: 1.layout
   3 #help=technology file automatically generated
   4 
   5 
   6 int main(){
   7 layers::enableAllLayer();
   8 layers::num[1].name="active";
   9 layers::num[1].setStyle(5);
  10 layers::num[1].setColor(95,95,36);
  11 layers::num[1].set3dView(0,0);
  12 layers::num[1].shortkey="a";
  13 layers::num[2].name="pwell";
  14 layers::num[2].setStyle(8);
  15 layers::num[2].setColor(33,0,0);
  16 layers::num[2].set3dView(0,0);
  17 layers::num[2].shortkey="w";
  18 layers::num[3].name="nwell";
  19 layers::num[3].setStyle(8);
  20 layers::num[3].setColor(13,44,0);
  21 layers::num[3].set3dView(0,0);
  22 layers::num[3].shortkey="Shift+w";
  23 layout->netlistTool->technologyLayerRemoveAll();
  24 layout->netlistTool->libraryRemoveAll();
  25 }

See also


CategoryFeature CategoryFullVersion CategoryLayout FeatureCode:1120


GenerateTechnologyMacro (last edited 2015-09-02 18:04:15 by JurgenThies)