Topology Class

class NXOpen.CAM.Topology

Bases: NXOpen.Builder

Represents a CAM topology builder

Use the NXOpen.CAM.Geometry class to get a topology builder

New in version NX8.0.0.

Properties

Property Description
AngleTolerance Returns or sets the angle tolerance
DistanceTolerance Returns or sets the distance tolerance
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.
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.
GetShellCount Get the count of shell anchors
Rebuild The action of rebuild topology data
RemoveShell Remove shell set
ReverseMaterialSide The action of reverse material side of one connected shell
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnifyMaterialSide The action of unify material side of one connected shell
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

AngleTolerance

Topology.AngleTolerance

Returns or sets the angle tolerance

-------------------------------------

Getter Method

Signature AngleTolerance

Returns:the angle tolerance
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AngleTolerance

Parameters:newValue (float) – the angle tolerance

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

DistanceTolerance

Topology.DistanceTolerance

Returns or sets the distance tolerance

-------------------------------------

Getter Method

Signature DistanceTolerance

Returns:the distance tolerance
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DistanceTolerance

Parameters:newValue (float) – the distance tolerance

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

Method Detail

GetShellCount

Topology.GetShellCount

Get the count of shell anchors

Signature GetShellCount()

Returns:
Return type:int

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

Rebuild

Topology.Rebuild

The action of rebuild topology data

Signature Rebuild()

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

RemoveShell

Topology.RemoveShell

Remove shell set

Signature RemoveShell(shellIndex)

Parameters:shellIndex (int) – the index of shell anchor

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

ReverseMaterialSide

Topology.ReverseMaterialSide

The action of reverse material side of one connected shell

Signature ReverseMaterialSide(shellIndex)

Parameters:shellIndex (int) – the index of shell anchor

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

UnifyMaterialSide

Topology.UnifyMaterialSide

The action of unify material side of one connected shell

Signature UnifyMaterialSide(shellIndex)

Parameters:shellIndex (int) – the index of shell anchor

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

Validate

Topology.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.