CaeReuseLibrary Class — NXOpen Python API Reference 12.0.0 documentation

# CaeReuseLibrary Class

class `NXOpen.Tooling.``CaeReuseLibrary`

  Bases: `object`

  Represents a `NXOpen.Tooling.CaeReuseLibrary`

  To obtain an instance of this class, refer to `NXOpen.CAE.BaseFEModel`

  New in version NX7.5.2.

# Methods

Method | Description
--- | ---
CreateReusableObject | Creates a `NXOpen.Tooling.ReusableObject`
ExportBeamSectionToLibrary | Exports a beam section to created reuse library
ImportBeamSectionFromLibrary | Copies a beam section from library to current part
UpdateDescription | Renames and updates preview image for reusable object

# Method Detail

## CreateReusableObject

`CaeReuseLibrary.``CreateReusableObject`

  Creates a `NXOpen.Tooling.ReusableObject`

  Signature `CreateReusableObject()`

  Returns: | `NXOpen.Tooling.ReusableObject`
  Return type: | `NXOpen.Tooling.ReusableObject`

  New in version NX7.5.2.

  License requirements: None.

## ExportBeamSectionToLibrary

`CaeReuseLibrary.``ExportBeamSectionToLibrary`

  Exports a beam section to created reuse library

  Signature `ExportBeamSectionToLibrary(reuseLibraryName, reusableObject)`

  Parameters:

  - reuseLibraryName (str) – Library to which beam-section is exported
  - reusableObject (`NXOpen.Tooling.ReusableObject`) – `NXOpen.Tooling.ReusableObject`

  New in version NX7.5.2.

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

## ImportBeamSectionFromLibrary

`CaeReuseLibrary.``ImportBeamSectionFromLibrary`

  Copies a beam section from library to current part

  Signature `ImportBeamSectionFromLibrary(reuseLibraryName)`

  Parameters: | reuseLibraryName (str) – Library from where beam-section is imported
  Returns: | Beam section created by the given library
  Return type: | `NXOpen.CAE.BeamSection`

  New in version NX7.5.2.

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

## UpdateDescription

`CaeReuseLibrary.``UpdateDescription`

  Renames and updates preview image for reusable object

  Signature `UpdateDescription(descriptiveName, reuseLibraryName, previewImageFile)`

  Parameters:

  - descriptiveName (str) – New descriptive name
  - reuseLibraryName (str) – Library to update
  - previewImageFile (str) – New preview image file name including the path

  New in version NX7.5.2.

  License requirements: None.