Author Topic: Arrow Head Line thickness  (Read 1356 times)

0 Members and 1 Guest are viewing this topic.

sankarram90

  • Newbie
  • *
  • Posts: 3
Arrow Head Line thickness
« on: September 08, 2022, 02:49:26 AM »
I recently (2 days back) discovered the dark arts of Shapesheets and it gave hope to my long lost dream of using visio for Bond graphs.
See, bond graphs uses 3 arrows a half arrow, a vertical line and a half arrow with vertical line. [Pic Attached]

Here are my steps:
  • Open visio - > Developer Tab - > New Stencil
  • Set page Size to 10 mm x 10 mm
  • Go to Drawing Explorer -> New Pattern -> (Line End, Scaled)
  • Create the shape ___\ and set Pin pos to Bottom Right

Awesome Everything Works EXCEPT

  • The line thickness of arrow doesn't change depending on connected line thickness.
  • The included arrows scale according to the line thickness. That doesn't happen in my case.

What am I doing wrong?
Is there a way to see the shape sheet of original arrows in Visio to see how it's done?

Croc

  • Sr. Member
  • ****
  • Posts: 347
    • Visioport
Re: Arrow Head Line thickness
« Reply #1 on: September 08, 2022, 03:53:01 AM »
Set arrow line thickness to 0 pt.

Yacine

  • Hero Member
  • *****
  • Posts: 3239
Re: Arrow Head Line thickness
« Reply #2 on: September 08, 2022, 05:53:02 AM »
@Croc,
I tried it, but it only works when set to no scale.
And the result was disappointing, all details "swallowed" by the thick line.
Do you happen to have a good working example?
Yacine

Croc

  • Sr. Member
  • ****
  • Posts: 347
    • Visioport
Re: Arrow Head Line thickness
« Reply #3 on: September 08, 2022, 06:33:54 AM »
Quote
I tried it, but it only works when set to no scale.
Yes, it's true.
I am attaching an example.
« Last Edit: September 08, 2022, 06:38:03 AM by Croc »

Croc

  • Sr. Member
  • ****
  • Posts: 347
    • Visioport
Re: Arrow Head Line thickness
« Reply #4 on: September 08, 2022, 06:46:47 AM »
Additional details
« Last Edit: September 08, 2022, 06:54:41 AM by Croc »

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4885
  • Ideas Visio-lized into solutions
Re: Arrow Head Line thickness
« Reply #5 on: September 08, 2022, 09:10:29 AM »
Here are links that delve into custom line patterns:
https://visualsignals.typepad.co.uk/vislog/2008/03/creating-random.html
https://visualsignals.typepad.co.uk/vislog/2008/03/creating-rand-1.html

@visguy.com:  Release the Power of Visio Custom Line Patterns
Visio 2019 Pro

sankarram90

  • Newbie
  • *
  • Posts: 3
Re: Arrow Head Line thickness
« Reply #6 on: September 08, 2022, 02:16:38 PM »
Additional details

THANKS!! That did work. Now the arrow line thickness is updating as line thickness is changing

How ever, in my case the arrow head is really small. In your example it seems the bounding box is quite small compared to the whole arrow head drawing. Is that doing the trick?
In my case if I put the size to Jumbo, it gets to the size of medium of normal arrows.
« Last Edit: September 08, 2022, 02:57:35 PM by sankarram90 »

Croc

  • Sr. Member
  • ****
  • Posts: 347
    • Visioport
Re: Arrow Head Line thickness
« Reply #7 on: September 08, 2022, 03:30:20 PM »
Quote
In your example it seems the bounding box is quite small compared to the whole arrow head drawing. Is that doing the trick?
Yes, I did it on purpose. There may be other ways, but I liked this one.
Quote
When I try to change the bounding box size, it is just shrinking the whole thing.
I used such sequence:
1. make a small group, for example from a short line
2. Open it for editing, add an arrow image
3. Delete the primary shape
4. Close the group and do not update the bounding box
In this case, the group remains small, and the arrow goes beyond the group.

sankarram90

  • Newbie
  • *
  • Posts: 3
Re: Arrow Head Line thickness
« Reply #8 on: September 09, 2022, 04:39:45 PM »

I used such sequence:
1. make a small group, for example from a short line
2. Open it for editing, add an arrow image
3. Delete the primary shape
4. Close the group and do not update the bounding box
In this case, the group remains small, and the arrow goes beyond the group.

I think that worked. I am still not sure how that happened and why it did.
Don't know why such a simple task needs such specific things to be done to get it correct. However really happy there is such a good community behind it.

Attaching the VSSX file incase someone looks for it in future and reaches here.

Yacine

  • Hero Member
  • *****
  • Posts: 3239
Re: Arrow Head Line thickness
« Reply #9 on: September 10, 2022, 12:45:54 AM »
There must have been free beer somewhere when they taught us bond graphs at the university. Well, not even sure about this, because there isn't even a German page on Wikipedia about them.
Reading the English version, I remembered why I gave up on OpenModellica.
Then I consoled myself with the serenity prayer and went back to Visio.
« Last Edit: September 10, 2022, 04:44:27 AM by Yacine »
Yacine