Geometry Class

class NXOpen.CAM.Geometry

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a CAM geometry object

New in version NX8.0.0.

Properties

Property Description
GeometryList Returns the geometry list
Tag Returns the Tag for this object.
Topology Returns the topology builder

Methods

Method Description
AppendGeometrySet Append an geometry set with dumb rules
AppendNamedGeometry Append named geometry
CreateGeometrySet Create an empty geometry set
ExpandSets Expanding the geometry sets
InitializeData Prepare and update geometry data
PreselectGeometry Pre-select the wall geometry
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

GeometryList

Geometry.GeometryList

Returns the geometry list

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

Getter Method

Signature GeometryList

Returns:
Return type:NXOpen.CAM.GeometrySetList

New in version NX8.0.0.

License requirements: None.

Topology

Geometry.Topology

Returns the topology builder

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

Getter Method

Signature Topology

Returns:
Return type:NXOpen.CAM.Topology

New in version NX8.0.0.

License requirements: None.

Method Detail

AppendGeometrySet

Geometry.AppendGeometrySet

Append an geometry set with dumb rules

Signature AppendGeometrySet(templateSet, entities)

Parameters:
Returns:

the appended geometry set object

Return type:

NXOpen.CAM.GeometrySet

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

AppendNamedGeometry

Geometry.AppendNamedGeometry

Append named geometry

Signature AppendNamedGeometry(namedGeometry)

Parameters:namedGeometry (list of NXOpen.ScCollector) – array of shared geometry

New in version NX9.0.3.

License requirements: cam_base (“CAM BASE”)

CreateGeometrySet

Geometry.CreateGeometrySet

Create an empty geometry set

Signature CreateGeometrySet()

Returns:the geometry set object
Return type:NXOpen.CAM.GeometrySet

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

ExpandSets

Geometry.ExpandSets

Expanding the geometry sets

Signature ExpandSets(sets)

Parameters:sets (list of NXOpen.CAM.GeometrySet) – array of sets

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

InitializeData

Geometry.InitializeData

Prepare and update geometry data

Signature InitializeData(reloadGeometry)

Parameters:reloadGeometry (bool) – the flag to reload the geometry list if it has been changed somewhere.

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

PreselectGeometry

Geometry.PreselectGeometry

Pre-select the wall geometry

Signature PreselectGeometry()

New in version NX8.0.0.

License requirements: cam_base (“CAM BASE”)

Validate

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