I'm curious, can I (or the db admin) make ModelDB (temporarily) writable to the Draw user via PML?
The Long Story:
[/U]
For Model, I wrote pml code to calculate the mass of pipes filled with fluid /water/. It works by copying the pipes into a test zone, assigning /water to their FLUREF attribute and getting brwwei; then deleting the pipes.
It's done this way so I don't modify the existing pipes (which are often locked and their history shouldn't be altered, so I'm not allowed to touch them).
Now I would like to use that code in Draw, so I can write the mass of water-filled pipes into labes. But my code is not allowed to write and copy the pipes into my - model - test zone. I'm using an APPLWD, but I can also use a regular SITE for this; as long as I can make it writable.
In AVEVA Admin from the top menu bar: Project-->Module Definition-->DRAW Module-->Advanced Settings
Change DESIGN Database Mode from Read Only to Read/Write