Author Topic: Snap to background  (Read 300 times)

0 Members and 1 Guest are viewing this topic.

Cindrich

  • Newbie
  • *
  • Posts: 4
Snap to background
« on: May 26, 2022, 02:30:32 PM »
Hi all, I'm working on a D-Tools drawing set that will use the same background layer (floor plan) on several foreground layers.  How can I snap my device placement shapes to lines in the background layer?

Only workaround I can find right now is to use a bunch of guides that are nudged into visual alignment and snap things to those.  Can this be done?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3280
    • Paul Herber's website
Re: Snap to background
« Reply #1 on: May 28, 2022, 10:52:08 AM »
You can only glue to shapes on the same page.
However, if you have an item on the background page then you can have an item on a foreground page with its coordinates locked to the background shape.
Just set the PinX and PinY to be a guarded formula that refers to the shape on the background page.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

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

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4367
  • Ideas Visio-lized into solutions
Re: Snap to background
« Reply #2 on: May 28, 2022, 11:57:44 AM »
Gluing behaves as Paul indicates.

WRT to snapping, the guidline technique is the most straight forward.  You can goto the background page, setup the guidelines there.  That way, they'll be more precise.  Then, go back to drawing page.  As  you drag shapes, they will snap to the guideline (assuming snap to guideline is enabled.)
Visio 2019 Pro

Surrogate

  • Hero Member
  • *****
  • Posts: 1564
    • ShapeSheet™ Knowledge Base
Re: Snap to background
« Reply #3 on: May 30, 2022, 02:40:14 AM »
You can only glue to shapes on the same page.
I make this gif-demo for show difference.

Cindrich

  • Newbie
  • *
  • Posts: 4
Re: Snap to background
« Reply #4 on: May 31, 2022, 04:32:04 PM »
Gluing behaves as Paul indicates.

WRT to snapping, the guidline technique is the most straight forward.  You can goto the background page, setup the guidelines there.  That way, they'll be more precise.  Then, go back to drawing page.  As  you drag shapes, they will snap to the guideline (assuming snap to guideline is enabled.)

This is the secret I needed.  It seems like I can snap to geometry of shapes on the background page but it's intermittent.  Some shapes work, some don't.  I wasn't aware that guides in background pages would be visible on the foreground pages.  That seems to be the trick. 

Note, I'm not trying to glue anything.  Only snapping for alignment.

Thanks all!