Development

Tips & code for programming Visio & using the ShapeSheet

Maps & Geography

Maps & geography shapes & templates galore!

Network

Shapes & tools for Visio network diagrams.

News

Find out what’s new in the Visio world!

Shapes

Download useful & attractive Visio shapes. For free!

where can i buy windows 7 cheapest buy windows 7 upgrade from xp windows vista purchase price buy inventor 2010 pctools spyware doctor 5.5 buy windows 7 best price norton ghost 12 product key windows 7 price future shop windows xp price singapore windows 2008 web server download omnipage coupon buy windows 7 starter download adobe indesign cs3 for mac buy vista to windows 7 microsoft project 2003 download buy windows xp operating system windows 7 home premium cheap mathcad pricing photoshop buy mac discount autocad 2009 purchase microsoft money 2007 deluxe download photoshop mac autodesk maya 2009 price windows vista business download windows 7 price 64 bit purchase windows 7 ultimate full version buy windows 7 home premium key lightroom for apple purchase windows xp india adobe cs4 photoshop buy where to buy encarta 2009 purchase vista oem buy windows 7 tesco cheap adobe fireworks windows 7 price online best price corel draw 11 mac discount powerpoint buy microsoft office for mac canada buy microsoft project 2002 adobe production premium mac turbotax 2009 deluxe best price windows 7 ultimate 64 bit best price buy windows 7 amazon adobe flash pricing adobe dreamweaver sale purchase windows 7 ultimate buy quickbooks pro 2007 roxio copy & convert 3 buy download photoshop elements 6 steinberg nuendo price uniblue registrybooster 2009 download cheap photoshop programs adobe photoshop elements cheapest buy windows 7 future shop adobe presenter 7 download microsoft office 2003 sale buy quarkxpress 8 for mac purchase adobe cs3 design premium purchase after effects cs3 paperport professional 12 prices cakewalk download parallels desktop price buy microsoft windows 7 home premium cheap adobe after effects for mac how to purchase windows 7 online download microsoft streets and trips 2008 microsoft office 2003 cheapest buy windows 7 online singapore purchase autodesk 3ds max 2009 buy windows xp pro best price adobe flash cs3 buy uniblue registrybooster 2009 cheap windows 7 ultimate retail buy autodesk autocad buy microsoft office document imaging purchase microsoft office 2003 buy windows xp media centre edition discount microsoft windows 7 ultimate windows 7 price upgrade cheap adobe photoshop software burnaware professional price buy acronis true image 2010 windows 7 price change buy acrobat 7 where to buy adobe flash cs3 quicken 2010 price buy windows xp corporate buy office 2007 student product key windows 7 price hong kong buy windows 7 64 buy acrobat professional 9 symantec winfax pro 10.4 buy cheap windows 7 keys adobe photoshop cs4 buy buy microsoft visio 2007 turbotax deluxe 2009 download windows xp price in rupees buy lightroom software buy windows 7 buy windows 7 serial key steinberg nuendo 3 download download autodesk 3ds max 9 buy ms project online windows 7 price egypt windows 2008 enterprise download parallels mac download adobe lightroom sale cheap cubase 5 where to buy windows xp service pack 2 purchase windows vista download cheap windows 7 in singapore lowest price microsoft office purchase windows 7 license key where can i buy windows 7 starter edition buy i.r.i.s. readiris pro 11 cheap windows xp operating system buy office 2003 key where to buy windows xp cheap autocad mechanical 2009 download buy matlab software buy 3ds max 2010 student download dragon naturally speaking autocad inventor download get autocad 2010 buy adobe illustrator cs2 buy windows 7 mac windows xp price canada steinberg cubase sx3 download cheap windows 2003 enterprise download adobe illustrator cs3 can i buy windows xp online windows xp price in malaysia buy adobe cs4 suite best price adobe illustrator cs3 download font folio 11 acdsee pro license key cs3 production premium mac ms streets and trips 2008 download download adobe illustrator mac windows 7 price in india where can i buy cubase sx3 windows vista download iso roxio creator 2010 coupon code microsoft office price student windows 7 home premium 64 bit oem buy microsoft frontpage software buy windows xp 64 pro cheap windows 7 home premium full version buy burnaware professional cheap microsoft works 9 microsoft visio download adobe cs4 web premium oem download disk director cheap adobe creative suite cs4 microsoft money home and business download buy parallels desktop 5 for mac cheapest norton 360 3.0 lightroom price buy windows vista pro microsoft money buy online buy microsoft expression blend 3 buy windows 7 full version for students purchase lightroom 2 buy microsoft office ultimate pdf converter professional 6 promotional code buy adobe cs3 design premium buy indesign cs3 software buy windows vista ultimate upgrade acdsee photo editor download microsoft office 2003 professional cheap windows 7 for college students illustrator cs3 download download adobe indesign cs4 cyberlink powerdirector prices buy windows vista ultimate license buy access 2003 online windows 7 price guide mathcad price buy after effects cs4 mac cheap fl studio 8 xxl cheap photoshop elements 8 buy windows vista home premium oem buy wordperfect x3 buy windows 7 home premium 64 bit buy windows 7 brisbane buy windows 7 bangkok autodesk mudbox price purchase vista license cheap adobe premiere elements 8 download adobe creative suite 4 design premium best price microsoft excel 2003 buy microsoft project 2000 microsoft expression price discount photoshop elements 8 cheap maya software 3ds max sale buy windows 7 ebay windows 7 price 2010 deskshare videoeditmagic 4.3 price buy windows xp 2010 norton 360 price comparison buy windows xp used adobe contribute mac purchase windows 7 for mac buy windows vista home premium product key buy windows 2003 datacenter buy windows 7 professional cheap microsoft windows 7 ultimate buy sony vegas pro 8 purchase access 2007 final cut express 4 cost download microsoft visio 2007 buy onenote 2003 photoshop lightroom for mac symantec pcanywhere download windows 7 price pakistan buy premiere pro cs3 cheap windows 7 for students in australia web page maker 3 download buy windows xp home sp3 adobe photoshop best buy cheap windows 2008 enterprise buy windows 7 direct download download microsoft mappoint 2009 buy windows xp home download microsoft autoroute 2007 europe ashampoo burning studio download buy windows xp calgary archicad 13 download adobe cs4 design premium trial price photoshop elements 8 windows 7 home premium cheapest autodesk lustre pricing purchase archicad 13 acdsee pro 2 download windows 7 discount canada vmware workstation 7 download discount autodesk 3ds max 2009 buy autodesk inventor professional buy windows xp home full version buy windows 7 language pack buy microsoft office 07 buy microsoft excel 2007 download propellerhead reason 4 mappoint 2009 european buy access 2007 only buy frontpage 2003 purchase windows 7 ultimate online purchase microsoft windows vista buy dragon naturally speaking 10 oil price vista gadget pinnacle studio 14 best price cheap corel video studio pro x2 buy photoshop 7 for mac buy adobe cs3 design premium mac download ashampoo burning studio 9 cheap microsoft project 2007 dvd ripper platinum 5 buy adobe premiere pro cs4 download best price microsoft windows vista windows 7 discount for high school students purchase windows 7 professional (64 bit) compare price photoshop buy windows 7 philippines buy microsoft office powerpoint 2007 purchase windows xp sp3 buy photoshop elements 8 mcafee total protection 2009 download best buy autocad 2009 buy windows vista singapore purchase windows 7 now buy windows xp mumbai buy windows 7 ultimate 64 bit oem windows 7 price kenya ms works download adobe acrobat 9 oem buy windows 7 downloadable adobe cs4 web premium trial cheap windows 7 professional best price windows 7 home premium oem download adobe photoshop elements 6 navisworks manage price windows 7 price comparison buy guitar pro 5.2 download acronis true image 11 buy nero 8 ultra edition acdsee price download adobe robohelp 8 buy powerdirector 7 ultra imsi turbofloorplan home and landscape pro 12 buy buy microsoft expression studio 2 windows 7 discount for military buy windows 7 30 download pinnacle studio 12 ultimate adobe acrobat price comparison mappoint 2009 europe buy cheap avanquest mylogomaker professional 2 buy windows xp cheap microsoft office discount code buy windows 7 switzerland buy windows xp volume license buy norton 360 download cheap adobe photoshop cs3 download microsoft expression studio 3 buy office 2010 professional fl studio 8 xxl download buy microsoft office 2007 home and student cheap adobe cs4 design premium abbyy finereader 9.0 express edition where to buy streets and trips 2010 office 2007 price student buy roxio creator 2010 cheap adobe cs4 master collection mac buy windows xp ebay cheap indesign software buy corel photoimpact x3 download avanquest mylogomaker professional 2 cheap ashampoo burning studio 8 adobe captivate pricing autocad architecture oem buy microsoft office pro 2007 where can i buy powerpoint 2003 turbo tax cost buy windows 7 india online purchase windows 7 license online buy adobe flash cs4 buy windows vista ultimate product key buy cs4 mac buy adobe indesign cs4 best buy microsoft windows 7 ultimate cheap adobe dreamweaver cs4 mac cheap windows 7 canada roxio creator 2009 special edition microsoft office 2010 price in india windows 7 price canadian buy windows xp embedded download corel draw 12 adobe creative suite 4 production premium download buy adobe photoshop cs3 extended buy windows vista business 64 bit buy ms office 2003 pro best buy quicken 2010 buy microsoft office for mac cheap buy adobe after effects cs4 cheap norton 360 3.0 best price adobe cs4 master collection windows 7 price for teachers buy windows xp student purchase adobe acrobat 8 professional buy sql server guitar pro 5 mac download
Home » Power User

Importing Images as Backgrounds for Scaled Drawings

Submitted by Visio Guy on May 21, 2008 – 9:43 pm | | 9246 views 4 Comments

Read Full Article

You’ve already got your plan…but it’s only available in paper format. Not to worry, you scan it and use it in your scaled Visio drawing anyway!

Recently, we talked about techniques for using images as backgrounds for tracing vector-based Visio shapes in the article: Importing Images as Backgrounds for Tracing. What that article didn’t cover were issues related to scaling.

In today’s article, you’ll learn how to quickly import an image of a measured drawing and configure it for used in a scaled environment!

Quick-and-dirty Floor Plans Are People Too!

While it’s great to have precisely-drawn, CAD-created floor plans-plum full of vectors that print beautifully-they aren’t always available. Often times, they exist only on paper…and even then, only after you’ve sketched them out yourself on quadrille paper.

There are many tasks that can be performed with a scaled floor plan that don’t depend on a high-quality rendition of that floor plan. Rearrangement of furniture, layout of office cubicles, the planning of that new Home Theater and the wiring that it will require-all can be done on very simple floor plans, as long as they are drawn and scaled to a reasonable accuracy.

Visio Drawings Can Be Scaled

If you use Visio for creating floor plans or other CAD- and engineering-related tasks, you know that Visio can handle a wide variety of scales. You can enter custom scales such as: 1in = 3.57 in, 1cm = 2m, etc., or select from a bevy of standard scales for Architecture, Civil Engineering, Mechanical Engineering or Metric applications. This allows you to easily work in a measured-drawing environment, just like in CAD. You don’t have to do any math in your head.

If you have a drawing in AutoCAD or DXF format, then Visio will help you with scaling when you import it. For more on the fine-details of working with Visio and AutoCAD, see: Visio & AutoCAD.

But if only have a paper-drawing, or a scanned image to work with, you’ll need to do a little more work to get everything properly set up for working to-scale.

Import That Image!

But enough with the introductory stuff. Let’s roll up our sleeves, and like so many politicians, get to work! Below we see a floor plan of the house we’re staying in, just outside of Vienna.

I whipped this up Old School style, using a pencil *gasp*, ruler, and some graph paper. Yeah I know, I know…

In addition to the amazing draftsmanship, you’ll notice that there’s a scale indicator in the lower-right corner that shows us how big 2 meters (meters: say YARDS) is supposed to be. This will come in handy in a few minutes.

Getting this picture into Visio was simply a matter of clicking the menu: Insert > Picture > From File… or clicking the Insert Picture button on the Picture Toolbar, then browsing for the desired image file.

Resize That Image!

In this example, I started with a default drawing page, which for metric environments is A4: 210mm x 297mm.

When I imported the image file: HausPlan.png, it came in at slightly larger than the page:

Pulling up the handy-dandy Size & Position Window (via: View > Size & Position Window), we can examine the size of our new floor plan shape. You can see in the Width and Height fields that the image is only 327mm x 304mm!

Things are cramped here in Europe, but not that cramped!

Clearly, we need to resize this image. And the fields in the Size & Position window will make this a breeze. So the next question is: By what factor do we resize the image?

Calculate a Scale Factor

Earlier, I mentioned the scale indicator in the lower-right corner. Let’s focus our attention there, since this is our link to the scaled world represented in the plan.

If we zoom in as much as possible, we can draw a rectangle next to the scale indicator. For accuracy, zoom in as far as you possibly can, and get the edges of the rectangle right on the center of the lines in the image.

When drawing the rectangle, it helps to turn off snapping to rulers and grids, so you can really accurately trace over the image.

You can turn the ruler & grid off via: View > Grid and View > Rulers. Or click the Ruler and Grid toolbar buttons on the View Toolbar. You can also toggle snapping via the Toggle Snap button on the Snap & Glue Toolbar. Keyboard shortcut addicts will just hit: Shift + F9 to toggle snapping on and off.

If you switch back to the Pointer Tool (Ctrl + 1) after drawing the rectangle, but leave the rectangle selected, you’ll notice another place where size information shows up: the Status Bar in the lower-left corner of the Visio window.

By the way, you can learn all about the many ways to get Visio shape size information in this article: How Big Is My Shape?

So, looking at the screenshot above, we can see that the rectangle is 62.5mm wide, but it needs to be 2m wide! We could get all mathematical and write something like:

Width = 62.975mm –>2m = 2000mm

And this is where we’ll get our scale factor. The factor by which we need to multiply our image’s width and height is the ratio of the IS and SHOULD-BE numbers written above. So:

Scale Factor = 2000 / 62.5 = 31.758634378721714966256450972608 ~ 31.759

So we just need to multiply the Image’s width and height by 31.759!

Resize the Image

Once again, the Size & Position window comes to the rescue. As it turns out, the fields in this window understand math, so we can simply multiply directly in the fields themselves!

We just select the image shape, then append * 31.759 to the Width and Height values. Visio recalculates as soon as you leave a field or leave the window. Here’s an example:

After changing the size of the floor plan, you’ll notice that the shape becomes VERY LARGE! But no time for gawking, let’s check our accuracy! We can ZOOM WAY OUT and have a look at what we’ve accomplished.

(Incidentally, if you do a lot of zooming, you’ll want to Work Faster With Our Top Visio Keyboard Shortcuts)

After we’ve zoomed out, we can draw another rectangle over the top of one of the rooms, and see if its size makes any sense at all. Below, I’ve traced the living/dining room, which I happen to know is 10m x 4m. Glancing down at the Status Bar, you’ll see that we’re off by 6mm in both directions. This is more than accurate enough for many, many layout tasks.

But there’s still one problem remaining. Notice way down and to the right is a teensie-weensie, white rectangle. THAT is the page, still with A4 dimension, at a 1:1 scale.

Set the Drawing’s Scale

We need to give our page a scale, so that it can accommodate the extents of our drawing. We don’t want to change its “A4-ness”, just the value that 1mm represents on paper.

Before we start, let’s make a quick note of the size of our image. Select it with the Pointer Tool, then glance down at the Status Bar, or in the Size & Position Fields.

In our Haus example, we now have:

  • Width = 10385.987mm ~ 10.4m
  • Height = 9654.936mm ~ 9.7m

Let’s keep those values in mind for a few seconds.

No we’ll go to: File > Page Setup > Drawing Scale Tab, where we can set the Drawing Scale in the Page Setup Dialog,

We click the Pre-defined scale radio button, and in this case, we select Metric from the first drop-down list. This narrows our choices of scales in the second drop-down list to those that make sense for metric drawings.

Notice that as we select different scales, such as: 1:5, 1:10, 1:20, 1:25, 1:50, 1:100, the page size in the lower-left corner changes.

Here, I’ve selected 1:25, and I am notified that the page will be 7.425m x 5.25m. Not quite big enough for our floor plan.

If I continue on to the next scale, 1:50, we can see that the drawing will be 14.85m x 10.5m. This is big enough to hold our Haus Plan, so I go with a scale of 1:50.

You can see that the page size fields are extremely useful aids when selecting a drawing scale!

You can also type desired page-width and page-height values directly into these fields, but that can easily end lead to odd paper sizes if the aspect ratio doesn’t match your printer’s paper.

Working at Scale

The final test was to add some furniture to my floor plan. I whipped open the furniture stencil, located under: Shapes > Maps & Floorplans > Furniture, and dropped some shapes into our living room:

As you can see, the seating and coffee table pass reasonably well in the living room!

Epilogue

Now that you understand how to configure and work with image backgrounds in scaled drawings, there are some other tips that will enhance your work flow. These are covered in detail in the afore-mentioned article: Importing Images as Backgrounds for Tracing, but I’ll list some highlights here:

  • Place the image on a Layer and lock the layer, so that you don’t continually select the image and accidentally move it.
  • Give the image transparency to de-emphasize it, and allow the grid to show through. This is especially useful if you plan to trace-over the image with vectors, or if your image has lots of distracting colors or details.
  • Consider the format of your image before you import it. JPGs and PNGs are generally more efficient in the Visio file than are BMPs. More details here: Effects of Imported Images on Visio File Size

Related Posts

  1. Importing Images as Backgrounds for Tracing
  2. Create Clean & Tidy Visio Shapes Using Images With Transparent Backgrounds
  3. Remove Backgrounds From Images With Office 2010!
  4. Effects of Imported Images on Visio File Size
  5. Masking Images in Visio

4 Comments »

  • Philippe C says:

    This is the article I didn’t dare to ask for after “Importing Images as Backgrounds for Tracing”.
    Who isn’t afraid of scaling ?

  • Visio Guy says:

    Hi Phillippe,

    It was the math wasn’t it…31.758634378721714966256450972608… :)

  • Frances Bee says:

    Awesome. Relatively new to Visio. Scanned in a CAD produced floor layout printed on A3. Straightened the scan in iPhoto. Then imported the TIFF file thinking it would be straightforward to scale it. It wasn’t. Was about to recreate the floor plan from scratch but found this article. Has saved me hours.

  • Visio Guy says:

    Hi Frances,

    Nice to know our article helped you out!

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.