Hi,
I wanted to create a script, which would copy a model in different model type maintaining the same model and object attributes from source.
For now, i am able to copy a model in different model type. All objects get copied, as needed.
But the attributes maintained in the source model and source objects are not copied.
Is there a way, by which we can achieve this?
Dear Kiran,
In an ARIS database you have objects stored with their attributes as so called object definitions. However, in models there are only so called object occurrences, which are not really copies of the object definitions but reused as visual placeholders.
This concept ensures that your data is kept consistent and manageable, so that a renamed object (occurrence) in a model will actually rename all occurrences in all other models.
So with this in mind you would need to copy the object definitions as well with your script to really have newly created objects. If that makes sense to create such a data redundancy from a data consistency point of view, you need to decide by yourself.
Cheers
Rune
Hey,
By using model generation class, i was able to copy the old model in different model type using the existing object definitions.
Which now solves the below problem:
- No duplicacy of object definitions
- Also the attributes of objects are correctly reflected.
But observed a different problem. The positioning of objects in the target model is different. Any idea how can i solve this now?