Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-plantsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sellers
python-plantsim
Commits
01809d05
Commit
01809d05
authored
4 years ago
by
Constantin WdP
Browse files
Options
Downloads
Patches
Plain Diff
FEATURE: added execute_simtalk to plantsim object functions (COM-command ExecuteSimTalk)
parent
93bcecc5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plantsim/plantsim.py
+5
-0
5 additions, 0 deletions
plantsim/plantsim.py
with
5 additions
and
0 deletions
plantsim/plantsim.py
+
5
−
0
View file @
01809d05
...
...
@@ -102,6 +102,11 @@ class Plantsim:
self
.
plantsim
.
SetValue
(
object_name
,
value
)
def
execute_simtalk
(
self
,
command_string
):
# passed command_string to be executed in "SimTalk" starts from self.path_context
command_string
=
f
'
{
self
.
path_context
}
.
{
command_string
}
'
self
.
plantsim
.
ExecuteSimTalk
(
command_string
)
def
quit
(
self
):
self
.
plantsim
.
Quit
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment