Power InRoads V8i SS4

I would like to know what else is needed from the following in order to be able to place a cell from an attribute value,

From the Power InRoads Tools, Style Manager, Edit Style, Custom Operations;

IF $(valveUse)=BlowOff THEN AS=1 AC=WW BLOW OFF VALVE

IF $(valveUse)=Contol THEN AS=10 AC=333700-001

Parents
  • The correct syntax would be:

    IF $(valveUse) = BlowOff then AS=1

    IF $(valveUse) = BlowOff then AC=WW BLOW OFF VALVE

    But, the parser may not like spaces in cell names. So you might need to use AC="WW BLOW OFF VALVE" or you might need to rename the cell to use underscores instead of spaces. You might also be able to use an ASCII character substitute for spaces in the cell names.

    We have used multiple if's to get multiple results, including ones that are effectively if else statements since one or the other is always true.

    I don't think these are case sensitive, but don't quote me on that.  


    Charles (Chuck) Rheault
    CADD Manager

    MDOT State Highway Administration

    • MicroStation user since IGDS, InRoads user since TDP.
    • AutoCAD, Land Desktop and Civil 3D, off and on since 1996
Reply
  • The correct syntax would be:

    IF $(valveUse) = BlowOff then AS=1

    IF $(valveUse) = BlowOff then AC=WW BLOW OFF VALVE

    But, the parser may not like spaces in cell names. So you might need to use AC="WW BLOW OFF VALVE" or you might need to rename the cell to use underscores instead of spaces. You might also be able to use an ASCII character substitute for spaces in the cell names.

    We have used multiple if's to get multiple results, including ones that are effectively if else statements since one or the other is always true.

    I don't think these are case sensitive, but don't quote me on that.  


    Charles (Chuck) Rheault
    CADD Manager

    MDOT State Highway Administration

    • MicroStation user since IGDS, InRoads user since TDP.
    • AutoCAD, Land Desktop and Civil 3D, off and on since 1996
Children
No Data