on 10-13-2014 11:30 AM
I need to write a script that will merge an entity into another entity, adding and renaming attributes where necessary, and documenting the properties of the 'merged from' entity in the 'merged into' entity without overwriting them.
I've experimented with the MergeInto function, but that doesn't do the job properly - it removes the attributes from the 'Merge From' entity, and doesn't check the names of the attributes and identifiers that it creates in the 'merge Into' entity; it also changes all the entity symbols to point to the 'Merge into' entity, which I don't want it to do, as I'll be removing the 'Merge from' entity when I've finished.
Is this an issue that someone has tackled already? The old Bachman Groundworks tool used to have a wizard for merging entities, which I really liked, perhaps there is one for PD that I haven't come across?
I suspect I could find a way of using the model merge functionality to do the job, but it's probably simpler to write something specific.
Hi George,
Are you going from 1 model to another or merging entities within an model?
If you don't miund using VBscripts, this is pretty easy, I have done several similar scripts in the past.
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.