Offset
Offset the edges of 2D curve or solid objects in the normal direction.
Syntax
model.component(<ctag>).geom(<tag>).create(<ftag>,"Offset");
model.component(<ctag>).geom(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).setAttribute(attribute,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getAttribute(attribute);
Description
Use model.component(<ctag>).geom(<tag>).create(<ftag>,"Offset") to create an offset feature tagged <ftag> in the 2D geometry sequence with the tag <tag>.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input") to select the entities to offset. To set the selection level for the selection object, and to select the input entities see Geometry Object Selection Methods. For example, use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input").init(1) to set the selection to be a selection of boundaries (geometric entities of dimension 1) for the offset feature with the tag <ftag> in the 2D geometry sequence with the tag <tag>.
The following properties are available:
on | off
on | off
fillet | tangent | extend | noconnection
on | off
on | off
on | off
all | obj | dom | bnd | pnt | off
none | custom | integer between 1 and the number of colors in the current theme
The color to use. Active when color is set to custom.
The following attributes are available:
Table 3-117: Valid attributes
on | off | inherit
Designate the resulting objects as construction geometry. Use inherit to set the construction geometry attribute only if all input objects are construction geometry.
See Also
Thicken2D