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
        • BodyLink
        • BodyStub
      • client
      • crud
      • face
      • intensity_template
      • job
      • part
      • 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 body.py module
  • BodyLink

BodyLink#

class ansys.speos.core.kernel.body.BodyLink(db, key)#

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

Link object for a body in database.

Parameters:
dbansys.speos.core.kernel.body.BodyStub

Database to link to.

keystr

Key of the body 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 body.

Import detail#

from ansys.speos.core.kernel.body import BodyLink

Method detail#

BodyLink.__str__()#

Return the string representation of the body.

BodyLink.get()#

Get the datamodel from database.

Returns:
body.Body

Body datamodel.

BodyLink.set(data)#

Change datamodel in database.

Parameters:
databody.Body

New body datamodel.

BodyLink.delete()#

Remove datamodel from database.

On this page
  • ansys.speos.core.kernel.body.BodyLink
  • 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