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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server