Aveva Diagrams - Link between attribute and visio shape?

 
  • Dear all,

    I have a query in Aveva diagrams. How to interlink a UDA with visio shape?
    Here I have a SCOIN with some defined shape added in the stencil. I have created a UDA for it with some valid values(say A,B,C...). I want like, if I change the UDA value of SCOIN say from 'A' to 'C', geometry of the defined shape should get changed.
    I have seen this happening but dont know how.
    Could anyone help me in this?
  • [COLOR=#696969]It is very easy, to link attributes and graphics. Its almost the same as catalogues in paragon but you need to have some basic knowledge of visio.[/COLOR]
    [COLOR=#ff0000]--Make sure that you have backup and nobody use it :)

    [/COLOR]Copy stencil from you stencil group(A Diagrams) to MS visio drawing.
    Your stencil consists of some primitive shapes, you can select one of that shapes and right click >select [COLOR=#008000]show properties table.
    [/COLOR]There you can find Geometry section with cell 'NoShow', where you should write your formula :
    [COLOR=#696969]If this condition states true then this shape is not visible, so you will have many shapes that will hide or show. [/COLOR]
    IF(STRSAME([COLOR=#006400]Sheet.1[/COLOR]!Prop.VMD_S[COLOR=#333333]COIN[/COLOR]__058[COLOR=#006400]UDAName[/COLOR],"A"),0,1)[COLOR=#008000]
    [/COLOR][COLOR=#696969]
    [/COLOR]
    There are many properties on whick you can affect, different angles, text prop, points..
    and what I like most there is no limit in expression length of that cells.
  • shape could not be changed in diagrams.

    if it is a valve, then graphical representation will be some valve symbol.

    On SCVALV you can change attributes.
  • Hi me_hungry,

    Thanks a lot for this information. I am very close to my answer now :).

    Only 1 thing I didn't get - where to key in the pml expression "IF(STRSAME([COLOR=#006400]Sheet.1[/COLOR]!Prop.VMD_S[COLOR=#333333]COIN[/COLOR]__058[COLOR=#006400]UDAName[/COLOR],"A"),0,1)" ?

    It would be really great if you show me some screenshot if possible.

    Thanks once again. :)