SnapToGeometry#
- class ansys.acp.core.SnapToGeometry(*, name='SnapToGeometry', active=True, orientation_type='top', cad_geometry=None, oriented_selection_set=None)#
Instantiate a snap-to geometry.
- Parameters:
name (str) – Name of the snap-to geometry.
active (bool) – Inactive snap-to geometries are not used in the solid model extrusion.
orientation_type (SnapToGeometryOrientationType) – Determines whether the snap-to geometry is applied to the top or bottom surface of the layup.
cad_geometry (VirtualGeometry | None) – The geometry to snap to.
oriented_selection_set (OrientedSelectionSet | None) – Defines the extent over which the snap-to geometry is applied. The normal of the oriented selection set is used to determine the top and bottom surfaces of the layup.
Added in ACP server version 25.1.
Methods
SnapToGeometry.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
SnapToGeometry.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
The name of the object.
The parent of the object.