The Geometry Sequence Syntax
In the COMSOL Multiphysics Programming Reference Manual:
Create a geometry node using the syntax:
model.component(<ctag>).geom.create(<geomtag>, sdim)
where <geomtag> is a string used to refer to the geometry and <ctag> is the string defined when the component is created. The integer sdim specifies the space dimension of the geometry and it can be either 0, 1, 2, or 3.
To add an operation to a geometry sequence, use the syntax:
geometry.feature.create(<ftag>, operation)
where geometry is a link to the geometry node. The string <ftag> is used to refer to the operation.
To set the feature property with different values than the default, use the set method:
geometry.feature(<ftag>).set(property, <value>)
where <ftag> is the string defined when creating the operation.
To build the geometry sequence, enter:
geometry.run
Alternatively, to build the geometry sequence up to and including a given feature ftag enter:
geometry.run(<ftag>)