Author Topic: disable connections for a shape  (Read 430 times)

0 Members and 1 Guest are viewing this topic.

Nikolay

  • Hero Member
  • *****
  • Posts: 931
    • UnmanagedVisio
disable connections for a shape
« on: February 26, 2020, 10:26:26 AM »
Looks like a very simple question but don't know the answer  :(

How do I disable connections for a specific shape?

So that user can't connect dynamic connector to it (so that the shape does not show any "hover" when he tries to)
For example, if I convert a 2D shape into 1D, then the dynamic connector does not try to "glue" to it. Is it possible to have the same behavior while keeping the shape 2D?
So that the shape is completely ignored by all dynamic connectors, like it does not exist.

I thought about putting the shape on a separate later... or maybe there is an easy solution, like setting some cell in the ShapeSheet?
« Last Edit: February 26, 2020, 10:28:34 AM by Nikolay »

Yacine

  • Hero Member
  • *****
  • Posts: 2698
Re: disable connections for a shape
« Reply #1 on: February 26, 2020, 10:59:42 AM »
I would only know of the layer solution. Sorry.
Yacine

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3800
  • Ideas Visio-lized into solutions
Re: disable connections for a shape
« Reply #2 on: February 26, 2020, 11:28:30 AM »
In shapesheet, Misc Section, try setting Object Type = 4.
Visio 2019 Pro

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2892
    • Paul Herber's website
Re: disable connections for a shape
« Reply #3 on: February 26, 2020, 12:35:59 PM »
You could put the shape on a background page.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 931
    • UnmanagedVisio
Re: disable connections for a shape
« Reply #4 on: February 26, 2020, 01:17:40 PM »
In shapesheet, Misc Section, try setting Object Type = 4.

I have tried that, does not seem to work? Maybe the drawing is somewhat special (attached)?  ???
Setting "Do not lay out and route around" is exactly setting ObjectType = 4, as far as I understand?

(click the picture to view the animation)
« Last Edit: February 26, 2020, 01:22:18 PM by Nikolay »

Nikolay

  • Hero Member
  • *****
  • Posts: 931
    • UnmanagedVisio
Re: disable connections for a shape
« Reply #5 on: February 26, 2020, 01:20:28 PM »
You could put the shape on a background page.

Dear Paul, thank you for the advice, unfortunately not an option (all shapes are supposed to be on the same page in my case)
« Last Edit: February 26, 2020, 01:24:00 PM by Nikolay »

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3800
  • Ideas Visio-lized into solutions
Re: disable connections for a shape
« Reply #6 on: February 26, 2020, 04:16:59 PM »
Really weird.  Your XXX shape has this special affinity for your rectangle. 

Tried a normal connector from GUI, and it does not glue.  Drew a rectangle, set to the "4" option, and neither the connector nor the XXX shape would glue. 
Visio 2019 Pro

Nikolay

  • Hero Member
  • *****
  • Posts: 931
    • UnmanagedVisio
Re: disable connections for a shape
« Reply #7 on: February 26, 2020, 06:49:37 PM »
Yea. I've tried ObjType=4 with standard dynamic connector. Seems to work properly for dynamic connect actually, you are right!
I thought the behavior should be the same for all connections. Looks like this one is indeed somehow special.. :o

bmwk100dk

  • Jr. Member
  • **
  • Posts: 14
Re: disable connections for a shape
« Reply #8 on: February 27, 2020, 03:37:12 AM »
Hi Nikolay
maybe this could be of use http://www.visguy.com/2016/07/12/no-glue-to/

Nikolay

  • Hero Member
  • *****
  • Posts: 931
    • UnmanagedVisio
Re: disable connections for a shape
« Reply #9 on: February 27, 2020, 03:41:52 AM »
Oh. Thank you! Sounds just like what I was after. I'll give it a try today!

UPD: checked. It worked! Thank you all.
« Last Edit: February 27, 2020, 04:54:02 AM by Nikolay »