User Manual
Development Environment
Note:
Notalltags availableinTags are visible in IntelliSensewhen scripting. Thename
completionfunctionwillnotshow tagsandobjectsthat havenamessimilarto script
commandnames.
If there are errors in script code during validation of a project, it is possible to
navigate to the erroneous position by double-clicking the error in the error list.
Press [Ctrl]+[Shift]+[Spacebar] while editing to get a tool tip with the allowed
variants of an overloaded method. Use [Up arrow]or[Down arrow]toscroll.
Make a new selection or press [Esc] to close the tool tip.
Note:
Itisnecessarytodo anexplicittypecasting ofthetagformatforoperandsofan
overloadedmethod.
Script code can be used to format objects. If an object attribute is selected a tool
tip with allowed methods will appear. Methods not part of the default C# API i s
either addressed with the full path or the library can be included.
Relatedinformation
ErrorList
Tag Format
FormatGroup
Example:
Filling a rectangle object using a color gr
adient from one color to another color.
The following code implements a gradient from red to purple in the rectangle.
The library with the “BrushCF()” method is added with “using” in the beginning
of the example, together with the default libraries.
56
BeijerElectronics, M AEN831P