SinumerikCaSimplifyBodiesBuilder Class¶
-
class
NXOpen.SIM.SinumerikCaSimplifyBodiesBuilder¶ Bases:
NXOpen.BuilderThis class is used for replace geometry.
A call to
SinumerikCaSimplifyBodiesBuilder.DoReplace()will replace the geometry. CallingBuilder.Commit()on this builder will only return None.Use the
Partclass 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
AddOffsetReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
Associative¶
-
SinumerikCaSimplifyBodiesBuilder.Associative¶ Returns or sets the Remove parms switch
-------------------------------------Getter Method
Signature
AssociativeReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssociativeParameters: 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
CloseGapsReturns: Return type: NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderCloseGapTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CloseGapsParameters: 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
CoordSystemReturns: Return type: NXOpen.CoordinateSystemNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CoordSystemParameters: 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
DistanceToleranceReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceToleranceParameters: 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
ObjectToReplaceReturns: Return type: NXOpen.SelectDisplayableObjectListNew 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
PlanesListReturns: Return type: NXOpen.PlaneListNew in version NX9.0.0.
License requirements: None.
ReplaceWith¶
-
SinumerikCaSimplifyBodiesBuilder.ReplaceWith¶ Returns or sets the object to replace with
-------------------------------------Getter Method
Signature
ReplaceWithReturns: Return type: NXOpen.SIM.SinumerikCaSimplifyBodiesBuilderObjectToReplaceWithTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReplaceWithParameters: 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
SplitOffsetReturns: Return type: NXOpen.ExpressionNew 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.