Get ISimComponent from ProcessNode

Hy,

is there any way to get the ISimComponent from an identified IProcessGroup or an implementation of it like:

Or the other way around get ProcessExecuter or TransportNode in ISimComponent an get this unique IProcessGroup somehow?

Thx & Regards
Feature

vcProcessGroup.Implementations gives you the vcProcessRoutines.
https://help.visualcomponents.com/4.8/Premium/en/Python_API/vcProcessGroup.htm

vcProcessRoutine.Program.Executor gives you the vcProcessExecutor which is also a vcBehaviour.
From any vcBehaviour you can get the Component or Parent node.

vcProcessExecutor also has property TransportNode. However, using this property assumes that the executor only uses a single transport node.

https://help.visualcomponents.com/4.8/Premium/en/Python_API/vcProcessExecutor.htm

The other way around starting from component is to find vcProcessExecutor behavior(s) and from there you can get vcProcessRoutines. Name of the process routine defines which vcProcessGroup it belongs to. In the .NET API this linking is a bit more explicit.

1 Like