Hello,
I have to make a query that will list to an excel file, the following:
- All the process interfaces in an EPC that have no incomming connections, this means we are talking about a starting process interface (a process interface that it's the starting element of the EPC)
and the process interfaces that have no outgoing connections, this means we are talking about the process interface as
an ending element.
The image attached to this post shows the type of excel that is exactly what I want according to the EPC on the image on the left side.
(the import thing here is to identify which images are inputs and which images are outputs)
Kabelo Mangole on
Hi Ana, this can be done with a script using the below code:
oModel.BuildGraph(true);//Creates (internally) the model graph and assigns the marks.
var oStartObjects = oModel.StartNodeList();// Returns the list of all start objects or roots of a model graph
var oEndObjects = oModel.EndNodeList();// Returns the list of all end objects or sheets in the model graph
From then on you can use an if statement within a for loop to sort out process interfaces from events.