Skip to main content

plantsimpath

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

Setup • Examples • Further documentation • Notice • License

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}")

table_path = PlantsimPath('.Models.Model.Table["ColumnIndex",10]')
object_in_table = table_path / "ProcTime"

print(
    f"Is {object_in_table} a child of {table_path}? {'Yes' if object_in_table.is_child_of(table_path) else 'No'}"
)

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.

Metadata

Release files for plantsimpath 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plantsimpath 0.0.6
File Size Uploaded
plantsimpath-0.0.6.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plantsimpath 0.0.6
File Interpreter ABI Platform
plantsimpath-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / plantsimpath-0.0.6.tar.gz

Download URL plantsimpath-0.0.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6b9ced0049d75a683f6ea7ac500dc7a701d007f07528eb82aa611dfb495a713e
BLAKE2b-256 checksum
How to use checksums
d3ed22ac34029eeb3e91bd78c5fcd3abf348d82f6f6cce50a2f4601eb7139e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / plantsimpath-0.0.6-py3-none-any.whl

Download URL plantsimpath-0.0.6-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54e879443fdc57eed85cd28bad37659d8722769b1a52bded0ce7531f3bbd1619
BLAKE2b-256 checksum
How to use checksums
1f9512d517146fcd98c52034fed7557ec604d13e4bed7b552d794ebbf64faffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page