About Name, Identifier, and Tag Properties
The following tables contain information about the name, identifier, and tag properties for various features in a COMSOL model (see Labels and Names in the Settings Window in the COMSOL Multiphysics Reference Manual for more information). Especially, the table provides information about the relationship between names and tags, whether you can change the name in the user interface or the tag using the API, and the access methods and use of names. This information is useful for understanding how these concepts are related, especially when working with both the COMSOL Desktop and programming using the COMSOL API. In the tables below, user interface refers to the Settings windows in the COMSOL Desktop. The term scope in the Use of Name column in the second table means that the name is used as part of an expression access it in the model object hierarchy; for example, comp1.ht.Cp, where comp1 is the name of the component, and ht is the name of the physics interface (see Variable Naming Convention and Namespace in the COMSOL Multiphysics Reference Manual for more information). The name of a user-defined tag is case sensitive, and it must begin with a lowercase or uppercase letter (a–z or A–Z). All other characters in the name must be a lowercase or uppercase letter, a number 0–9, or an underscore (_). See also Naming Conventions, Reserved Names, and Errors in the COMSOL Multiphysics Reference Manual.
tag
tag(
string)
tag
tag(
string)
get or set function name properties like funcname
get or set name property
get or set probename property
get or set opname property
get or set name property
get or set name property
get or set name property