Hi all,
Anyone ran into this issue and found a solution?
Copying this:
Paste result:
The conveyors are template views (coordinate containers) created from SVGs, and used on the main layout view.
This is one of the many issues, along with poor scaling behaviour, very hard alignment of conveyors despite the SVGs being the exact same size, blank space created around the template for some reason. Altogether very hard to work with.
Is there something I should pay attention to when creating and using template views that I might be missing or is it a problem a lot of us have?
I tried many things. Didn't find a completely satisfying option yet.
This looks like a perfect application for the pipe drawing tool. Any reason your not using pipes?
I've had issues copy-pasting several objects at one time. I vaguely recall a scenario whereby closing a view and reopening just before pasting yielded different results. I wouldn't swear to that vague recollection...
You may try to 'group them' in another container prior to copy-paste.
I second the prior post, in that I wonder if another method would be easier to manage. With your layout, could you utilize a single drawing for an entire comveyor, with any animations / styles applied to the individual paths/sections therein?
1 Like
Because they're not pipes
They need to be templates modifiable in one place, with configurable popups, names for every conveyors linked to various PLC variables, etc.
I'm not familiar with the pipes tool but at first glance it doesn't look like it would do the job.
What Ignition version are you using?
There might have been a few updates in recent versions that might fix what you are seeing.
From: Ignition Release Notes - 8.1.38 - Perspective
Fixed more Coordinate container component duplication bugs.
Also a few more entries from prior versions that could be related. From 8.1.36:
Fixed a bug that was causing Perspective components to move diagonally when the parent container has a border width applied.
I've seen things get misaligned when I have multiple objects selected and I use arrow keys to slide them around. Typically copy/paste puts things as they were for me. At least the recent versions.
I suspect the issue where elements get misaligned while sliding them with arrows is caused by rounding error on coordinates but that's a hunch. If you copy/paste them into a coordinate container instead you can move the coordinate container and the alignment is not altered. You can manipulate the overflow property to prevent scroll bars.
Thanks Steve,
Yes it actually comes from sliding objects around with the keys. Noticed that afterwards. Moving them with the mouse doesn't seem to create issues.
Still almost impossible to align objects properly. And they will move slightly when zooming in/out.
It seems very basic but won't work properly in perspective.
You can mitigate some of that by using the alignment and spacing tools. If you set spacing to zero but there is still some weirdness that can happen.
I've definitely seen what you're describing before.
1 Like