CylinderBoundingVolume Class — NXOpen Python API Reference 12.0.0 documentation

# CylinderBoundingVolume Class

class `NXOpen.CAE.``CylinderBoundingVolume`

  Bases: `NXOpen.CAE.BoundingVolumePrimitive`

  Represents Box 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
--- | ---
GetCreationMethod | Gets the type for the Bounding Volume Primitive.
GetCsysDiameterHeight | Gets the coordinate system, diameter and height for the Cylinder Bounding Volume.
GetEndpointsDiameter | Gets the end points and diameter for the Cylinder Bounding Volume.
SetCsysDiameterHeight | Sets the coordinate system, diameter and height for the Cylinder Bounding Volume.
SetEndpointsDiameter | Sets the end points and diameter for the Cylinder Bounding Volume.

# Method Detail

## GetCsysDiameterHeight

`CylinderBoundingVolume.``GetCsysDiameterHeight`

  Gets the coordinate system, diameter and height for the Cylinder Bounding Volume.

  Signature `GetCsysDiameterHeight()`

  Returns: | a tuple
  Return type: | A tuple consisting of (centerCsys, diameter, cylinderHeight). centerCsys is a `NXOpen.CoordinateSystem`. diameter is a `NXOpen.Expression`. cylinderHeight is a `NXOpen.Expression`.

  New in version NX12.0.0.

  License requirements: None.

## GetEndpointsDiameter

`CylinderBoundingVolume.``GetEndpointsDiameter`

  Gets the end points and diameter for the Cylinder Bounding Volume.

  Signature `GetEndpointsDiameter()`

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

  New in version NX12.0.0.

  License requirements: None.

## SetCsysDiameterHeight

`CylinderBoundingVolume.``SetCsysDiameterHeight`

  Sets the coordinate system, diameter and height for the Cylinder Bounding Volume.

  Signature `SetCsysDiameterHeight(centerCsys, diameter, cylinderHeight)`

  Parameters:

  - centerCsys (`NXOpen.CoordinateSystem`) –
  - diameter (`NXOpen.Expression`) –
  - cylinderHeight (`NXOpen.Expression`) –

  New in version NX12.0.0.

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

## SetEndpointsDiameter

`CylinderBoundingVolume.``SetEndpointsDiameter`

  Sets the end points and diameter for the Cylinder Bounding Volume.

  Signature `SetEndpointsDiameter(baseCenter, topCenter, diameter)`

  Parameters:

  - baseCenter (`NXOpen.Point`) –
  - topCenter (`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”)