the fair gds editor DatatypeMacros
Please Sign in

Datatype Macros

Datatype is an additional informative integer stored with each shape. It is used for different purposes, e.g. it can describe the function of that shape or the exposure dosis for that shape in mask writing. It can be viewed/edited by the PropertiesMode. Furthermore it is accessable via macros. This two macro will give an example and may also be used for datatype dependent layout processing.

Download:

   1 #!/usr/bin/layout
   2 #name=select datatype
   3 #help=all elements with a spezific datatype will be selected
   4 
   5 int  main() {
   6  int i=layout->getInteger("Select Datatype","Datatype to select:");
   7  layout->drawing->currentCell->selectDatatype (i);
   8 }

   1 #!/usr/bin/layout
   2 #name=set datatype select
   3 #help=the datatype of all selected element will be set
   4 
   5 int  main() {
   6  int i=layout->getInteger("Set Datatype","Set datatype of selected elements to:");
   7  layout->drawing->currentCell->setDatatypeSelect (i);
   8 }

See also


CategoryMacro


DatatypeMacros (last edited 2011-02-28 13:20:54 by dslb-092-074-059-143)