Skip to main content
Ctrl+K
ansys-speos-core 0.4.0 documentation - Home ansys-speos-core 0.4.0 documentation - Home
  • Overview
  • Getting started
  • API reference
  • Examples
  • Contribute
    • Release notes
Ctrl+K
  • GitHub
Ctrl+K
  • Overview
  • Getting started
  • API reference
  • Examples
  • Contribute
  • Release notes
  • GitHub

Section Navigation

  • ansys.speos.core
    • kernel
      • body
      • client
      • crud
      • face
      • intensity_template
      • job
      • part
        • PartLink
        • PartStub
      • proto_message_utils
      • scene
      • sensor_template
      • simulation_template
      • sop_template
      • source_template
      • spectrum
      • vop_template
    • workflow
    • body
    • face
    • geo_ref
    • intensity
    • launcher
    • logger
    • lxp
    • opt_prop
    • part
    • project
    • proto_message_utils
    • sensor
    • simulation
    • source
    • spectrum
    • speos
  • API reference
  • The ansys.speos.core library
  • The kernel package
  • The part.py module
  • PartLink

PartLink#

class ansys.speos.core.kernel.part.PartLink(db, key)#

Bases: ansys.speos.core.kernel.crud.CrudItem

Link object for a part in database.

Parameters:
dbansys.speos.core.kernel.part.PartStub

Database to link to.

keystr

Key of the part in the database.

Parameters:

key (str)

Overview#

get

Get the datamodel from database.

set

Change datamodel in database.

delete

Remove datamodel from database.

__str__

Return the string representation of the part.

Import detail#

from ansys.speos.core.kernel.part import PartLink

Method detail#

PartLink.__str__()#

Return the string representation of the part.

PartLink.get()#

Get the datamodel from database.

Returns:
part.Part

Part datamodel.

PartLink.set(data)#

Change datamodel in database.

Parameters:
datapart.Part

New part datamodel.

PartLink.delete()#

Remove datamodel from database.

On this page
  • ansys.speos.core.kernel.part.PartLink
  • Overview
  • Import detail
  • Method detail
    • __str__()
    • get()
    • set()
    • delete()
  • Show Source

© Copyright (c) 2025 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.4.2.
Last updated on