What would it take to move segments by arrow keys instead of mouse dragging? When I have to do a pixel perfect project I’d prefer to use arrow keys.
Perspective Piplines.mp4
Google Drive file.
What would it take to move segments by arrow keys instead of mouse dragging? When I have to do a pixel perfect project I’d prefer to use arrow keys.
@mperkins
A magnetic grid would be wonderfull !
I’ll file an enhancement ticket for that, shouldn’t be too hard to implement
I’ll file an enhancement ticket for that too
Would it be possible to add functionality to bring the pipes to front? I have some objects I would like to run the pipes through.
Hi Hans, pipes aren’t components so they aren’t part of the Perspective component z-ordering. It’d be possible to enhance it to do that- but it’d be tricky both from a coding and from a user’s intuition standpoint. One workaround would be to add a child Coordinate Container with your pipes that you want to run in front of other components.
Say if you view consisted of
Your suggested workaround did the trick for me, thank you
Is there a way to force two pipe ends to join? I am having an issue where part of my pipe will not join. See example below:
Unfortunately this is not possible with Perspective Piping. Due to Perspective’s props structure, a tree data structure was chosen to represent the pipes wherein a descendent cannot connect to its ancestor. You can see this in the Coordinate Container’s props.pipes, you’ll see that pipes have one origin, each origin can have a number of connections, and those connections can have any number of connections, and so forth… but a connection can’t connect back to a prior connection (an ancestor)- these connections are discrete points that only ever hold more connections.
Technically it’s possible to engineer a solution where we could do so, but from a Designer’s perspective- particularly without a CS background it’d be very confusing- also very fragile to manipulate such a data structure directly within Perspective’s Property Editor so the straight forward tree approach was chosen.
When engineering these features there’s a balance between what is intuitive to the end users, what’s practical using our data model, and what functionality user’s need.
Thank you, good to know.
Is it possible to create custom component anchors? It's really nice to have the "natural" component anchors and would be great if we could set these on embeddedViews, containers and other components
Hey Nader, is this something available to the public? I don't actually have a project in mind, but just curious
Edit: @victordcq Thanks @lrose
Guessing you would need to get in touch with @victordcq.
Hi @nminchin
Unfortunately not
If only you could add id's to the svg groups it would have been easy enough to make it for free.
But the name property given in the designer doesnt do anything at all. So it required quite a bit of work, which i cant make for free sorry...
I have no idea if the recent updates for the svg import now allow id's though? Damn i should have asked about this when they asked for the svg update ideas xd
which i cant make for free sorry...
I think you misunderstood what I meant by available to the public - I meant available at all, paid or otherwise
If only you could add id's to the svg groups it would have been ea
Sooo i updated to the latest nightly and it seems that svg groups finnaly have id's and names! This make a click script a lot easier
welp... i just had to try it out didnt it
Required version 8.1.22
Behold! JS INJECTED SVG CLICKER
jsInjectedSvgClicker.zip (3.6 KB)
edit: I made the value of the binding become the name it writes to in the view.custom props
Be sure to set the custom prop back to null after handling your event so you can trigger the onchange events on the prop
It should only detect things inside this view. Haven't fully tested it though.
you mean custom anchors for Piping?
It's undocumented, but if you add class ia_drawingComponent__pipingAnchor
to an SVG Drawing Element, it'll act like an anchor.
In my example I converted a Sensor Symbol
component to a drawing, it has some of these anchors already built in. I then modified the anchor element, and toggled piping draw mode on and off to move it (unfortunately the code doesn't detect this change as it's happening)
Hi @mperkins
I'd like to show you what is actual the difference in the performance of using Perspective native pipelines tools and SVG drawing and importing for a big page. Here I start to use the Perspective pipeline for my P&ID but in the end, the Runtime Performance is very bad that rejected by the client.
Perspective Pipeline:
Google Drive file.
SVG drawing in Inkscape and import it into the Perspective and put it as background:
Google Drive file.
For me using Perspective is fun and enjoyable if at least we get the same performance as normal SVG. Back and forth between Inkscape and Perspective is annoying but until fixing the performance of the pipeline this is my workflow.