Skip to content
Snippets Groups Projects
Commit 01809d05 authored by Constantin WdP's avatar Constantin WdP
Browse files

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
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment