Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 3) - Saving Sets of Shape Data Fields

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
3/13/2014 1:53:35 AM

4. Saving Sets of Shape Data Fields

Now that you’ve toiled to create a set of Shape Data fields, you might want to save it so that you can apply it to other shapes.

You saw that you can edit Shape Data definitions for multiple shapes by selecting a bunch at once and going to the Define Shape Data window. A better way is to save a set of fields as a Shape Data Set.

Creating and Applying Shape Data Sets
1.
Continue with Ch7 Shape Data.vsd.

2.
Select one bulb shape.

3.
Right-click the Shape Data window and choose Shape Data Sets. The Shape Data Sets window appears. It is a taskbar that remains open. You can float it anywhere or dock it to any side of the drawing window.

4.
Note the Sample set that is already defined in the window.

5.
Highlight Sample in the list and then click Define. The Define Shape Data window appears, exactly the same as it appears for shapes. You can inspect and edit field attributes for the set. Click Cancel for now, though.

6.
In the Shape Data Sets window, click Add. The Add Shape Data Set window pops up.

7.
Enter a name, such as Light Bulb Properties, as shown in Figure 3.

Figure 3. Creating a new Shape Data Set from the existing fields in a shape.

8.
Check the Create a New Set from the Shape Selected in Visio radio button. Note that you could also create a new blank set or a new set based on an existing set.

9.
Click OK. The new Shape Data set appears in the Shape Data Sets window.

10.
Inspect the new set and check default values. I created this set from existing fields in a shape. The fields are correct, but the default values might not be right for generic application.

a. Highlight Light Bulb Properties in the list.

b. Click Define. The Define Shape Data window appears.

c. Highlight each field in the Properties list and check the Value.

d. Change any specific default values to something more generic. For Power, set Value to 0. For Bulb Type and Surveyed, leave Value blank, and for Model, enter <model>.

e. Click OK to save your changes.

11.
Take your Shape Data Set for a spin.

a. Draw some rectangles on the page using the Rectangle tool.

b. Select all the rectangles that you just added.

c. In the Shape Data Sets window, check Light Bulb Properties and then click Apply. (Note: The check boxes allow you to apply multiple sets at once.)

d. Check each shape to see that it has the Shape Data fields: Power, Model, Bulb Type, and Surveyed.

When you create a custom Shape Data Set, it isn’t stored globally, so you don’t have access to it when you work on another drawing. This sounds frustrating, but it’s easy to transfer sets. Just copy a shape that has a Shape Data Set applied and paste it to your drawing. The Shape Data Set comes along for the ride.

So one quick way to bring sets into other drawings is to

  1. Quickly draw a rectangle.

  2. Apply all the Shape Data Sets that you want to transfer to the rectangle.

  3. Cut the rectangle and paste it into other drawings.

You can even add this rectangle to your Favorites stencil for easy access in the future.

Other -----------------
- Microsoft Visio 2010 : Working with Data - Introducing Shape Data Fields
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 7)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 6)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 5)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 4)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 3)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 2)
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 1)
- Advanced Windows 7 Programming : Working in the Background - ADVANTAGES OF WORKING IN THE BACKGROUND
- Microsoft Visio 2010 : Importing Graphics (part 6) - Importing AutoCAD Drawings - Manipulating an Imported AutoCAD Drawing and Adding Furniture
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer