About General Commands
Overview of General-Purpose Commands
The following table contains the available general-purpose commands and methods:
model.colorTheme(), model.imageColorTheme()
About Valid Tags
A tag is a string that you use to refer to a model feature. When specifying a tag, it must fulfill the following format requirements: Begin with a character a–z or A–Z followed by any number of _ (underscores), numerals 0–9, or characters a–z or A–Z.
About assigning Values to properties
Even if a property is numeric, it is also possible to use a string or string array. The strings can contain expressions defined in terms of parameters defined in Global Definitions>Parameters. See Table 2-4 under set() below for examples of syntaxes for assignment methods.
About File Paths
In general, the file paths in methods for saving and opening files, for example, are client paths (on the client computer’s file system). The exceptions are methods that explicitly performs an operation on the server, such as ModelUtil.loadOnServer(), which takes a server path as its argument.
The syntax that includes the component level, such as model.component(<ctag>).geom(<tag>)... is the default and is used throughout this chapter for parts of the model object that are stored inside a model component. To use the earlier model.geom(<tag>)... syntax, clear the Use component syntax check box on the Methods page in the Preferences dialog box. You can also run existing scripts without this syntax.