# New Feature: Perspective Piping

**URL:** <https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919>\
**Category:** Ignition Early Access\
**Created:** [August 13, 2021, 8:29pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919 "2021-08-13T20:29:19Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 14, 2021, 3:01am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/81 "2021-10-14T03:01:51Z")

</div>

This is how a colleague’s pipes are displaying in Firefox:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/967e7cfc0623c1aeaf8addeebde7074e2a02186d.png)

They’re displaying correctly in Chrome (the bottom left thick pipe is how all of them should be displaying)

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [October 14, 2021, 3:07pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/82 "2021-10-14T15:07:08Z")

</div>

would you mind `copy-pasting` the affected pipe here? Also which version of Firefox? And is this in a Fixed or Percent coordinate container?

I just tested with Firefox 93.0, and P&ID widths appear to be working on mine, but maybe I’m missing something

---

<div class="post-metadata">

**Author:** ![sam.thompson](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sam.thompson](https://forum.inductiveautomation.com/u/sam.thompson)\
**Post date:** [October 15, 2021, 5:54am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/83 "2021-10-15T05:54:15Z")

</div>

Was using Firefox 93.0 and had the pipes in a fixed coordinate container. The issue seems to be somewhat inconsistent as it doesn’t affect all the pipes on the screen.

```auto
[{
        "appearance": "p&id",
        "end": "none",
        "fill": "",
        "flanges": true,
        "lineVariant": "solid",
        "name": "pipe_2",
        "origin": {
            "connections": [{
                    "connections": [{
                            "connections": [{
                                    "connections": [{
                                            "connections": [{
                                                    "x": 18.5,
                                                    "y": 494.14
                                                }, {
                                                    "connections": [{
                                                            "x": 293.52,
                                                            "y": 568.1
                                                        }
                                                    ],
                                                    "x": 220.51,
                                                    "y": 568.12
                                                }
                                            ],
                                            "x": 220.5,
                                            "y": 494.11
                                        }, {
                                            "connections": [{
                                                    "x": 315.49,
                                                    "y": 567.6
                                                }
                                            ],
                                            "x": 381,
                                            "y": 567.59
                                        }
                                    ],
                                    "x": 380.98,
                                    "y": 494.1
                                }, {
                                    "connections": [{
                                            "connections": [{
                                                    "connections": [],
                                                    "x": 1241,
                                                    "y": 156.75
                                                }
                                            ],
                                            "x": 1409.94,
                                            "y": 156.79
                                        }
                                    ],
                                    "x": 1409.94,
                                    "y": 493.95
                                }
                            ],
                            "x": 978.87,
                            "y": 494.01
                        }, {
                            "connections": [],
                            "x": 978.9,
                            "y": 610.55
                        }
                    ],
                    "x": 978.9,
                    "y": 588.01
                }, {
                    "x": 1097,
                    "y": 612.06
                }
            ],
            "x": 1097,
            "y": 587.98
        },
        "start": "none",
        "stroke": "var(--neutral-50)",
        "width": 10
    }
]

```

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [October 15, 2021, 3:56pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/84 "2021-10-15T15:56:07Z")

</div>

does your view contain multiple coordinate containers with Pipe’s? We recently discovered an issue pertaining to that use case which causes Pipes to incorrectly render

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 15, 2021, 8:04pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/85 "2021-10-15T20:04:54Z")

</div>

Yes it does, in order to have pipes on top of components

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [October 15, 2021, 9:59pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/86 "2021-10-15T21:59:59Z")

</div>

to verify, copy-paste the pipes that are giving you issues into a fresh coordinate container root. with no nested pipes. If they display properly, it’s likely BUG-4892, which I already have a fix for. I’ll push to get the fix out asap

---

<div class="post-metadata">

**Author:** ![sam.thompson](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sam.thompson](https://forum.inductiveautomation.com/u/sam.thompson)\
**Post date:** [October 18, 2021, 12:39am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/87 "2021-10-18T00:39:00Z")

</div>

I have tried it in a new coordinate container on the same page but it did not fix the issue.

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [October 27, 2021, 9:49pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/88 "2021-10-27T21:49:01Z")

</div>

A fix for performance while zooming- as well as a few overall performance enhancements will be in the next nightly @nader.chinichian Bug-4551

Also a fix for displaying multiple coordinate containers containing pipes will be in the next nightly- I believe this was the issue that @nminchin was encountering. Bug-4892

More bug fixes, performance optimizations, and streamlining the piping UI are in the “pipe line” 🙂

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [November 12, 2021, 12:40am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/89 "2021-11-12T00:40:53Z")

</div>

The next nightly will contain a feature for toggling the visibility of pipes. This is a per pipe prop, ie props.pipes[3].visibility. The default is true, but any value other than false will keep the pipe visible.

Also the Pipe Property Editor has been updated to reflect this new visibility setting.

![pipe_editor_single_simple](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/a/9a4149c51ee07b6c49db1489de5404bdeb179d28.jpeg)

![pipe_editor_multiple_mimic](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d0b72a92e3b756fe633568da6afdec008269980.jpeg)

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [November 16, 2021, 10:20pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/90 "2021-11-16T22:20:21Z")

</div>

The next nightly will contain a new Coordinate Container Component event: onPipeClicked, the arguments include self (a reference to the coordinate container), pipeIndex (the index within the pipes array of the pipe being clicked), pipeName (the name of the pipe being clicked), and an event object containing most of the same properties as an onClick event’s properties.

 ![onPipeClicked](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/0596e4f132d4c4df80db5bff29f2d74f4f914e92.jpeg)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 9, 2021, 3:32pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/91 "2021-12-09T15:32:23Z")

</div>

Hi @mperkins

Do you know why the style doesn’t work on pipes?  
Also, it is very helpful if we have a style for each pipe instead of a total pipe folder.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/913ac265f82cd322b429007ecf11fa37b9249326.png)

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [December 9, 2021, 3:51pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/92 "2021-12-09T15:51:44Z")

</div>

Hi Nader,  
That style prop, like other props when pipes/pipe folder are selected, actually belong to the coordinate container.

I agree that it would be nice to be able to style individual pipes. However, I’m doubtful that having style props for individual pipes would allow you to use filter: I tried using Chromes development tools, modifying the inline styles for pipe elements to include that filter and it doesn’t appear to work. My guess is that SVG elements are limited in which CSS properties they support.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 10, 2021, 6:19am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/93 "2021-12-10T06:19:49Z")

</div>

Interesting but I’m sure the filter will work because until now I use background SVG which is draw in Inkscape and import it in perspective and apply the filter: drop-shadow and it works OK. The only thing is it only runs in runtime and not designer if I add style to individual elements in the SVG tree.  
In any case, the style would be perfect for us.

Also, could you increase the crossing space between two cross pipe?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 10, 2021, 6:29am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/94 "2021-12-10T06:29:11Z")

</div>

There is a strange bug in binding in the color part of pipes lines.  
The binding doesn’t work every time and rolls back to its previous value after changing it.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/25469a6e0657705bf81ffe378f7dcd8fc9b36489.png)

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [December 10, 2021, 5:56pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/95 "2021-12-10T17:56:27Z")

</div>

that is odd, I see it too. Though it seems to fix itself when reopening the edit binding window. (probably) has more to do with bindings than piping itself though.

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [December 10, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/96 "2021-12-10T17:58:35Z")

</div>

if you’re referring to the gaps with P&ID pipes crossing, I believe @nminchin requested that [New Feature: Perspective Piping - #4 by nminchin](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/4)

I’ll go ahead and create an enhancement ticket right now so it doesn’t get lost in the shuffle

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 11, 2021, 4:03am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/97 "2021-12-11T04:03:53Z")

</div>

Yes but some times it restore its first binding value after apply the new one and close and open popup.  
So at the end the new value doesn’t change for me.  
This behaviour only apply for pipe lines properties.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 28, 2021, 4:01am UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/98 "2021-12-28T04:01:29Z")

</div>

Hi @mperkins

Is there any way by CSS injection in perspective global CSS file I can change the look of pipes right now?  
As I use this pipe for single line diagram of power system I want to add some filter: drop-shadow to them to make them glow.

---

<div class="post-metadata">

**Author:** ![mperkins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mperkins/32/71722_2.png) [@mperkins](https://forum.inductiveautomation.com/u/mperkins)\
**Post date:** [January 3, 2022, 6:10pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/99 "2022-01-03T18:10:35Z")

</div>

👋 I’m back from holiday vacation.

try this:

```auto
.ia_pipe {
  filter: drop-shadow(2px 2px 6px #4444dd);
}

```

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [January 7, 2022, 6:52pm UTC](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919/100 "2022-01-07T18:52:51Z")

</div>

Great, now I am stuck on how to dynamically on/off shadow.

I try this for specificity selection and apply style on root style but not working:  
.psc-mypipe-on .ia\_pipe {  
filter: drop-shadow(2px 2px 6px #4444dd);  
}

.psc-mypipe-off .ia\_pipe {  
filter: none;  
}

[Previous page](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919.md?page=4)

[Next page](https://forum.inductiveautomation.com/t/new-feature-perspective-piping/49919.md?page=6)
