Geometry > Geometry Commands > ConvertToSolid, ConvertToSurface, ConvertToCurve, ConvertToPoint

ConvertToSolid, ConvertToSurface, ConvertToCurve, ConvertToPoint
Unite and convert objects to a solid, surface, curve, or point object.
Syntax
model.geom(<tag>).create(<ftag>,"ConvertToSolid");
model.geom(<tag>).create(<ftag>,"ConvertToSurface");
model.geom(<tag>).create(<ftag>,"ConvertToCurve");
model.geom(<tag>).create(<ftag>,"ConvertToPoint");
model.geom(<tag>).feature(<ftag>).selection(property);
model.geom(<tag>).feature(<ftag>).set(property,<value>);
model.geom(<tag>).feature(<ftag>).getType(property);
Description
Use model.geom(<tag>).create(<ftag>,convertOperation) to reduce or extend the topological dimension of objects.
Use model.geom(<tag>).feature(<ftag>).selection("input") to select the objects to convert. The default selection is empty.
The following properties are available:
model.geom(<tag>).
absRepairTol()
on | off
model.geom(<tag>).
repairTol()
auto | relative | absolute
model.geom(<tag>.
repairTolType()
on | off
all | obj | dom | bnd | edg | pnt | off
dom for ConvertToSolid; bnd for ConvertToSurface; bnd (2D) or edg (3D) for ConvertToCurve; and pnt for ConvertToPoint.
Show selections, if selresult is on, in physics, materials, and so on; in part instances; or in 3D from a plane geometry. obj is not available in a component’s geometry. dom, bnd, and edg are not available in all features.
The input objects are united, and the resulting object is then converted to the requested type.
For information about the selresult and contributeto properties, see Selections of Geometric Entities.
Compatibility
The object type Surface was called Face in version 3.5a.
See Also
 Compose, Union, Intersection, Difference