44.2 Part object

The following commands operate on Part objects. For more information about the Part object, see Part object, Section 36.1.

Access
import regionToolset


44.2.1 clashSets(...)

This command prints a message describing the relationship between the contents of two sets. Possible outcomes are:

  • Both sets are the same.

  • Set 2 is a subset of set 1.

  • Set 2 is a superset of set 1.

  • Set 2 intersects set 1.

  • Set 2 touches set 1 (their boundaries intersect).

  • Set 2 and set 1 are disjoint.

This command accepts only positional arguments and has no keywords.

Required arguments

arg1

A Set or Surface object specifying set 1.

arg2

A Set or Surface object specifying set 2.

Optional arguments

None.

Return value

None

Exceptions

None.


44.2.2 deleteSets(...)

This command deletes the given sets from the part.

Required argument

setNames

A sequence of Strings specifying the set names that will be deleted from the part.

Optional arguments

None.

Return value

None

Exceptions

None.


44.2.3 deleteSurfaces(...)

This command deletes the given surfaces from the part.

Required argument

surfaceNames

A sequence of Strings specifying the surface names that will be deleted from the part.

Optional arguments

None.

Return value

None

Exceptions

None.