SinumerikCaSimplifyBodiesBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# SinumerikCaSimplifyBodiesBuilder Class

class `NXOpen.SIM.``SinumerikCaSimplifyBodiesBuilder`

  Bases: `NXOpen.Builder`

  This class is used for replace geometry.

  A call to `SinumerikCaSimplifyBodiesBuilder.DoReplace()` will replace the geometry. Calling `Builder.Commit()` on this builder will only return None.

  Use the `Part` class to create a SinumerikCaSimplifyBodiesBuilder object.

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
AddOffset | Returns the Additional offset.
Associative | Returns or sets the Remove parms switch
CloseGaps | Returns or sets the Method used to close the gaps after offset of the wrap
CoordSystem | Returns or sets the coordinate system
DistanceTolerance | Returns or sets the Distance tolerance used to facet the solids.
ObjectToReplace | Returns the object to replace
PlanesList | Returns the Planes to split the geometry, tightens the wrap along this plane
ReplaceWith | Returns or sets the object to replace with
SplitOffset | Returns the Offset applied to both sides of the splitting planes.
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
Destroy | Deletes the builder, and cleans up any objects created by the builder.
DoReplace | Replace the simplify bodies
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit.
GetObject | Returns the object currently being edited by this builder.
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

SinumerikCaSimplifyBodiesBuilderCloseGapTypes Enumeration | Represents the close gap types
SinumerikCaSimplifyBodiesBuilderObjectToReplaceWithTypes Enumeration | The object to replaces with types

# Property Detail

## AddOffset

`SinumerikCaSimplifyBodiesBuilder.``AddOffset`

  Returns the Additional offset.

  Will expand the wrap.

  `-------------------------------------`

  Getter Method

  Signature `AddOffset`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

## Associative

`SinumerikCaSimplifyBodiesBuilder.``Associative`

  Returns or sets the Remove parms switch

  `-------------------------------------`

  Getter Method

  Signature `Associative`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Associative`

  Parameters: | associative (bool) –

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## CloseGaps

`SinumerikCaSimplifyBodiesBuilder.``CloseGaps`

  Returns or sets the Method used to close the gaps after offset of the wrap

  `-------------------------------------`

  Getter Method

  Signature `CloseGaps`

  Returns: |
  Return type: | `NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderCloseGapTypes`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `CloseGaps`

  Parameters: | closeGaps (`NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderCloseGapTypes`) –

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## CoordSystem

`SinumerikCaSimplifyBodiesBuilder.``CoordSystem`

  Returns or sets the coordinate system

  `-------------------------------------`

  Getter Method

  Signature `CoordSystem`

  Returns: |
  Return type: | `NXOpen.CoordinateSystem`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `CoordSystem`

  Parameters: | coordSystem (`NXOpen.CoordinateSystem`) –

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## DistanceTolerance

`SinumerikCaSimplifyBodiesBuilder.``DistanceTolerance`

  Returns or sets the Distance tolerance used to facet the solids.

  Also used for default offset calculation.

  `-------------------------------------`

  Getter Method

  Signature `DistanceTolerance`

  Returns: |
  Return type: | float

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DistanceTolerance`

  Parameters: | distTol (float) –

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## ObjectToReplace

`SinumerikCaSimplifyBodiesBuilder.``ObjectToReplace`

  Returns the object to replace

  `-------------------------------------`

  Getter Method

  Signature `ObjectToReplace`

  Returns: |
  Return type: | `NXOpen.SelectDisplayableObjectList`

  New in version NX9.0.0.

  License requirements: None.

## PlanesList

`SinumerikCaSimplifyBodiesBuilder.``PlanesList`

  Returns the Planes to split the geometry, tightens the wrap along this plane

  `-------------------------------------`

  Getter Method

  Signature `PlanesList`

  Returns: |
  Return type: | `NXOpen.PlaneList`

  New in version NX9.0.0.

  License requirements: None.

## ReplaceWith

`SinumerikCaSimplifyBodiesBuilder.``ReplaceWith`

  Returns or sets the object to replace with

  `-------------------------------------`

  Getter Method

  Signature `ReplaceWith`

  Returns: |
  Return type: | `NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderObjectToReplaceWithTypes`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReplaceWith`

  Parameters: | objectToReplaceWith (`NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderObjectToReplaceWithTypes`) –

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## SplitOffset

`SinumerikCaSimplifyBodiesBuilder.``SplitOffset`

  Returns the Offset applied to both sides of the splitting planes.

  `-------------------------------------`

  Getter Method

  Signature `SplitOffset`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## DoReplace

`SinumerikCaSimplifyBodiesBuilder.``DoReplace`

  Replace the simplify bodies

  Signature `DoReplace()`

  New in version NX9.0.0.

  License requirements: nx_isv_mtb (“Machine Tool Builder”) OR nx_sinumerik_ca (“Sinumerik Collision Avoidance”)

## Validate

`SinumerikCaSimplifyBodiesBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.