News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Shape snap (computer rack)

Started by jdtools, August 26, 2008, 12:46:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jdtools

I'm working on a server rack and shapes.  I want my server shapes to snap on Connection Point automatically like VisioCafe shape do.  I tried different techniques but none work like they do.  Any idea?



wapperdude

Basically, you have to change the shape's behavior from 2-D to 1-D.  Right click the shape >Format>Behavior and select Line under Interaction style. 

You may want to check out this basic shape tutorial:  http://office.microsoft.com/training/training.aspx?AssetID=RC101324601033&pid=CR101109221033

Visio 2019 Pro

jdtools

But sometimes I want the snap to occur from the bottom of the shape and not at the middle like it occurs when I turn on 1D.


wapperdude

Right click the object and open the shapesheet.  You should see a Shape Transform section.  If not, you can make it available by right clicking anywhere and then either go to view section or insert section and choose Shape Transform.  In the shape transform section, change the LocPinY entry to zero ( 0 ).  That moves the pins to the bottom.
Visio 2019 Pro

wapperdude

If you want your shape to extend beyond the connection points you can use the following technique:
1.)  Draw a line that spans the distance of the two connectors, e.g., 19"
1b.)  I don't remember if you need to add connection points at each end of the line.
2.)  Go to menu bar>shapes>grouping>convert to group.
3.)  Place your shape, and then align it the line, centered horizontally, bottom edge on the line.
4.)  Select the line, and then your shape, go to menu bar>shapes>grouping>add to group
5.)  Identify the group, open the shape sheet, and change the LocPinY to 0.
6.)  Identify your shape, format>protection>lock aspect ratio
7.)  Size your shape as desired, but keep the alignment

That should do it.
HTH
Wapperdude
Visio 2019 Pro

Visio Guy

I should make a couple of empty template-shapes for this sort of thing...
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

jdtools

Got it right like describe above after my last post yesterday.  Somehow different than what Visiocafe is doing but it works.

Thanks everyone!

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 252 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1104KB.
Tokens: post-login.
Cache hits: 13: 0.00124s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]