Skip to main content

A Python helper class to make Plantsim Path usage accessible.

Project description

plantsimpath

A Python helper class to make Siemens Tecnomatix Plant Simulation Path usage accessible.

SetupExamplesFurther documentationNoticeLicense

Setup

Install via pip:

pip install plantsimpath

Find this package on Pypi.

Examples

from plantsimpath import PlantsimPath

station = PlantsimPath(".Models.Model.Station")
station_wo_dot = PlantsimPath("Models.Model.Station")

print(
    f'Do Plantsim path always begin with a "."? {"Yes" if station == station_wo_dot else "No"}'
)

attribute_div = station / "ProcTime"
attribute_add = station + "ProcTime"
attribute_init = PlantsimPath(station, "ProcTime")

print(
    f"Are all paths the same? {'Yes' if attribute_div == attribute_add == attribute_init else 'No'}"
)

model = station.parent()
is_child = station.is_child_of(model)
print(f"Is {station} a child of {model}? {'Yes' if is_child else 'No'}")

system_path = station.to_path()
print(f"{station} is located at {system_path}")

There are further examples in the example folder.

Further documentation

Here is the documentation for plantsimpath

Notice

This package is not developed, endorsed, or maintained by Siemens AG. The names "SimTalk" and "Plant Simulation" are trademarks of Siemens AG.

License

This package is distributed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plantsimpath-0.0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plantsimpath-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file plantsimpath-0.0.2.tar.gz.

File metadata

  • Download URL: plantsimpath-0.0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for plantsimpath-0.0.2.tar.gz
Algorithm Hash digest
SHA256 531a4fc08efc87453ff89f1b17b2a9b59be4c471149b525b4d3e8dc683ec0cfe
MD5 b35abea4d0b54958a194f9528b375da4
BLAKE2b-256 657a72c0407e8c9b42b11ba3c68b37aa1bd3c99ec0341495b3f7667b6cdf2076

See more details on using hashes here.

File details

Details for the file plantsimpath-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: plantsimpath-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for plantsimpath-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c72ccdedb56fc0afec69002cca1ead3969ff4597de592b64f5f904bf4e61039
MD5 aca761f58295f1be0713be6939f2f578
BLAKE2b-256 b9441c22b26d1c0dc59bd9244d12d4562c28ac85b969b61707fe38ad578883c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page