SphereBoundingVolume Class — NXOpen Python API Reference 12.0.0 documentation

# SphereBoundingVolume Class

class `NXOpen.CAE.``SphereBoundingVolume`

  Bases: `NXOpen.CAE.BoundingVolumePrimitive`

  Represents Sphere Bounding Volume for Selection Recipe

  This is a sub object

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
Containment | Returns or sets the contaiment for the Bounding Volume Primitive.
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
GetCenterDiameter | Gets the center point and diameter for the Sphere Bounding Volume.
GetCreationMethod | Gets the type for the Bounding Volume Primitive.
SetCenterDiameter | Sets the center point and diameter for the Sphere Bounding Volume.

# Method Detail

## GetCenterDiameter

`SphereBoundingVolume.``GetCenterDiameter`

  Gets the center point and diameter for the Sphere Bounding Volume.

  Signature `GetCenterDiameter()`

  Returns: | a tuple
  Return type: | A tuple consisting of (centerPoint, diameter). centerPoint is a `NXOpen.Point`. diameter is a `NXOpen.Expression`.

  New in version NX12.0.0.

  License requirements: None.

## SetCenterDiameter

`SphereBoundingVolume.``SetCenterDiameter`

  Sets the center point and diameter for the Sphere Bounding Volume.

  Signature `SetCenterDiameter(centerPoint, diameter)`

  Parameters:

  - centerPoint (`NXOpen.Point`) –
  - diameter (`NXOpen.Expression`) –

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)