Visio Guy

Visio Discussions => Shapes & Templates => Topic started by: JackobPlaster on June 21, 2021, 06:53:46 PM

Title: Custom line pattern alignment
Post by: JackobPlaster on June 21, 2021, 06:53:46 PM
Hi Folks,

I had some success with custom patterns before and I became overly complacent. Visio must've felt it because it's giving me a hard time. Any ideas?
(Click on the thumbnail for the anim gif)

(https://i.ibb.co/gRJnrvr/custom-line-pattern.gif) (https://ibb.co/gRJnrvr)

Thanks!
Title: Re: Custom line pattern alignment
Post by: Surrogate on June 21, 2021, 08:05:24 PM
Quote from: JackobPlaster on June 21, 2021, 06:53:46 PM
Visio must've felt it because it's giving me a hard time. Any ideas?
Hi, Jackob ! What behavior you want get in you custom pattern ?
Title: Re: Custom line pattern alignment
Post by: JackobPlaster on June 21, 2021, 08:49:33 PM
Quote from: Surrogate on June 21, 2021, 08:05:24 PM
Quote from: JackobPlaster on June 21, 2021, 06:53:46 PM
Visio must've felt it because it's giving me a hard time. Any ideas?
Hi, Jackob ! What behavior you want get in you custom pattern ?

Hi, I just want a regular old line. I just made that blob to illustrate the problem but if I do a Connector or anything my custom line is still off.
(https://i.ibb.co/c3BRZbB/image.png) (https://imgbb.com/)
The only difference between these two is the Dash type.

(https://i.ibb.co/qDMZQVP/image.png) (https://imgbb.com/)
Title: Re: Custom line pattern alignment
Post by: Surrogate on June 23, 2021, 08:46:11 AM
Quote from: JackobPlaster on June 21, 2021, 08:49:33 PM
Hi, I just want a regular old line. I just made that blob to illustrate the problem but if I do a Connector or anything my custom line is still off.
Jackob, can you attach your document there ?
Title: Re: Custom line pattern alignment
Post by: JackobPlaster on June 24, 2021, 02:59:27 PM
Quote from: Surrogate on June 23, 2021, 08:46:11 AM
Jackob, can you attach your document there ?

Attached. I was playing around a lot with the bitmap but couldn't make it better. I wonder if this is some issue with Visio on my particular computer due to display scaling or something similar.
Thanks for looking into this!
Title: Re: Custom line pattern alignment
Post by: wapperdude on June 25, 2021, 12:21:44 AM
The problem is you're using a picture to create a line style.  That won't work.Visio won't barf, but, as you can see, the results are quite unpredictable.
Title: Re: Custom line pattern alignment
Post by: Yacine on June 25, 2021, 10:02:21 AM
Wapperdude is right.
I took your picture of the wire, inserted it in Inkscape, vectorized in and pasted it back into Visio.
--- provided --- the resulting vectors are not too complexe, you can use them as line pattern and get satisfying results.