Hi there,
I have a question on assignments in EPC models.
Lets say
- Model 'ModelM' has the Occurrences 'OccA' and 'OccB' both of Object "ObjectO".
- Occurrence 'OccA' has an assignment to Model 'ModelA'.
- Occurrence 'OccB' has an assignment to Model 'ModelB'.
So far I am using ObjDef.AssignedModels() to get a list of models which have been assigned by it's occurrences.
But how to find out via reporting what model is assigned to which occurrence? And can an occurrence have more than one assignment?
Thanks,
Ralf
Frank Weyand on
Hi,
I did not get the point actually... assignments are not based on object occurrences, but assignments.
So, if you really have 2 occurrences of the same object definition:
1.) they cannot have different names, since the name is defined at the object definition, not the occurrence
2.) the assigments are the same, since the assignment is also defined at the object definition.
So maybe you made a definition copy? Thus, an additional copy of the object definition will be created and therefore, the definition can have other model assignments.
Bye,
Frank