So forgive me as I attempt to stand on the back of giants. I am trying to incorporate two earlier (way earlier) posts to create lines (connectors or as I like to think of them: pipes) via JuneTheSecond (
http://visguy.com/vgforum/index.php?topic=1893.0) and VisGuy's blog post (
http://visguy.com/vgforum/index.php?topic=1893.0) to color them. Where I am running into difficulty is with the fill of the arrows. I can't seem to get them to match consistently if at all.
I have six types of pipes:
Condenser Inlet
Condenser Outlet
Evaporator Return
Evaporator Supply
Greyed Out
Hot Water Inlet
Hot Water Outlet
White
and corresponding colors:
RGB(0,112,192);RGB(0,176,240);RGB(146,208,80);RGB(120,148,64);RGB(217,149,143);RGB(255,0,0);RGB(191,191,191);RGB(248,248,248)
Just an FYI when I first cobbled this together I had the Hot Water Inlet and Outlet reversed from my required color scheme and that is precisely where I am falling down in the implementation. I had the following shapesheet cells and tried changing them but to no avail:
Original:
=IF(STRSAME("Condenser Inlet",Prop.color1,TRUE),RGB(146,208,80),IF(STRSAME("Condenser Outlet",Prop.color1,TRUE),MSOTINT(THEME("AccentColor2"),-25),IF(STRSAME("Evaporator Return",Prop.color1,TRUE),RGB(0,176,240),IF(STRSAME("Evaporator Supply",Prop.color1,TRUE),RGB(0,112,192),IF(STRSAME("Hot Water Inlet",Prop.color1,TRUE),RGB(217,149,143),IF(STRSAME("Hot Water Outlet",Prop.color1,TRUE),MSOTINT(THEME("AccentColor"),40),IF(STRSAME("Greyed Out",Prop.color1,TRUE),MSOTINT(RGB(255,255,255),-25),IF(STRSAME("White ",Prop.color1,TRUE),RGB(248,2485,248),1.5))))))))
User.colorValues
="RGB(0,112,192);RGB(0,176,240);RGB(146,208,80);RGB(120,148,64);RGB(217,149,143);RGB(255,0,0);RGB(191,191,191);RGB(248,248,248)"
User.PipeType
="Evaporator Supply;Evaporator Return;Condenser Inlet;Condenser Outlet;Hot Water Inlet;Hot Water Outlet;Greyed Out;White"
=THEMEGUARD(IF(CELLISTHEMED(FALSE),SETATREFEXPR(THEMEGUARD(IF(User.visDGCBVFill<>1.5,User.visDGCBVFill,IF(CELLISTHEMED(FALSE),THEME("LineColor"),THEMEGUARD(IF(CELLISTHEMED(FALSE),SETATREFEXPR(THEMEGUARD(User.color1)),SETATREFEXPR(THEMEGUARD(User.color1)))))))),SETATREFEXPR(THEMEGUARD(IF(User.visDGCBVFill<>1.5,User.visDGCBVFill,IF(CELLISTHEMED(FALSE),THEME("LineColor"),THEMEGUARD(IF(CELLISTHEMED(FALSE),SETATREFEXPR(THEMEGUARD(User.color1)),SETATREFEXPR(THEMEGUARD(User.color1))))))))))
Changed:
=IF(STRSAME("Condenser Inlet",Prop.color1,TRUE),RGB(146,208,80),IF(STRSAME("Condenser Outlet",Prop.color1,TRUE),RGB(120,148,64),IF(STRSAME("Evaporator Return",Prop.color1,TRUE),RGB(0,176,240),IF(STRSAME("Evaporator Supply",Prop.color1,TRUE),RGB(0,112,192),IF(STRSAME("Greyed Out",Prop.color1,TRUE),RGB(191,191,191),IF(STRSAME("Hot Water Inlet",Prop.color1,TRUE),RGB(217,149,1430),IF(STRSAME("Hot Water Outlet",Prop.color1,TRUE),RGB(255,0,0),IF(STRSAME("White ",Prop.color1,TRUE),RGB(248,248,248),1.5))))))))
User.colorValues
="RGB(0,112,192);RGB(0,176,240);RGB(146,208,80);RGB(120,148,64);RGB(217,149,143);RGB(255,0,0);RGB(191,191,191);RGB(248,248,248)"
User.PipeType
="Condenser Inlet;Condenser Outlet;Evaporator Supply;Evaporator Return;Greyed Out;Hot Water Inlet;Hot Water Outlet;White"
Anyone with some pointers in the right direction for me? I know this should be simple but I obviously don't understand enough about the shapesheets to make it work correctly.