Void layout::addMacroKey(int key, string macroFileName, string title, string iconFileName) As toolbutton, modification of the extra keyboard are not store and it is recommended to set it with an autostart macro. function is the feature code of the featur you want to add. It is numbered from 0 to the amount of keys the keyboard has. Void layout::addFunctionKey(int key,int function) L=Project.new_layout() # open new instance of layout class for Ruby Member Function Documentation l=project.newLayout() # open new instance of layout class for Python A new layout object had to be created via the project class. In LayoutScript for Python and for Ruby the keyword layout does not exists. A direct access of the drawing is possible via the member drawing to an object of the class drawingField.įurther modules to modify the design data are available with the pointers backgroundTool, barcodeTool, booleanTool, drcTool and netlistTool. Most methods of this call require a user dialog. layout->filename="/var/layouts/samples1.gds" It is directly accessible via the classname "layout" from any C macro. This class is the main widget of the window from which the macro was executed. La=backgroundTool=>ba(backgroundModule)Ĭlick ba "/layoutscript/api/backgroundmodule"Ĭlick br "/layoutscript/api/barcodemodule"Ĭlick bo "/layoutscript/api/booleanhandler"Ĭlick ex "/layoutscript/api/extractionmodule"Ĭlick net "/layoutscript/api/netlistmodule"Ĭlick vd "/layoutscript/api/view3dmodule" GetText(string caption,string label,string value="")ĬlassDef thisClas fill:#eaf5fc,stroke:#3c7faa,stroke-width:4px ĬlassDef clas fill:#eaf5fc,stroke:#3c7faa,stroke-width:1px Ĭlick dr "/layoutscript/api/drawingfield" GetSize(string caption,string label, int value=1) GetOpenFilename(string filter="", string path="") GetItem(string caption,string label,stringList values) GetInteger(string caption,string label, int value=0) GetDouble(string caption,string label,double value=0, int digits=1) MemberĪddMacroKey(int key,string macroFileName, string title, string iconFileName)ĪddMacroMenuEntry(string macroName, stringList menu)ĪddMacroToolButton(string macroName,string parameter,string iconfilename)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |