19.7 Exercises

 < Day Day Up > 



We're going to recreate the project we did in Lesson 18, but this time our blocks will contain attributes that we'll use to create a bill of materials for our drawing.

  1. Begin by opening the Blocks-arch.dwg file in the C:\Steps\Lesson19 folder. Notice that the drawings have already been created for you.

    1.1  

    Create attributes for each (on the Text layer) as indicated in the chart that follows. Then WBlock each to the C:\Steps\Lesson19\Library folder (create this folder if it isn't already there). (Use the same insertion points you used in Lesson 19.)

      

    Mode

       

    Block

    Tag

    I

    C

    V

    P

    Prompt

    Default Value

    Text Justify

    Door36-at

    Type

    Y

    N

    N

    N

    What type is it?

    Flush

     

    Door36-at

    Size

    N

    N

    N

    N

    What size is it?

     

    Center

    Door36-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    Ideal

     

    Door36-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

      

    Door36i-at

    Type

    Y

    N

    N

    N

    What type is it?

    Flush

     

    Door36i-at

    Size

    N

    N

    N

    N

    What size is it?

     

    Center

    Door36i-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    Ideal

     

    Door36i-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

      

    Door30-at

    Type

    Y

    N

    N

    N

    What type is it?

    Flush

     

    Door30-at

    Size

    N

    N

    N

    N

    What size is it?

     

    Center

    Door30-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    Ideal

     

    Door30-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

      

    Win-at

    Type

    Y

    N

    N

    N

    What type is it?

    DH

     

    Win-at

    Size

    N

    N

    N

    N

    What size is it?

     

    Center

    Win-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    Anderson

     

    Win-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

      

    Sink-at

    Type

    Y

    N

    N

    N

    What type is it?

    Lav

     

    Sink-at

    Size

    Y

    N

    N

    N

    What size is it?

    18x30

     

    Sink-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    American

     

    Sink-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

    W-POR-LA010

     

    Tub-at

    Type

    Y

    N

    N

    N

    What type is it?

    Tub

     

    Tub-at

    Size

    Y

    N

    N

    N

    What size is it?

    30x60

     

    Tub-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    American

     

    Tub-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

    T/S030

     

    WC-at

    Type

    Y

    N

    N

    N

    What type is it?

    WC

     

    WC-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    American

     

    WC-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

    W-PORWC001

     

    WH-at

    Type

    Y

    N

    N

    N

    What type is it?

    WH

     

    WH-at

    Size

    Y

    N

    N

    N

    What size is it?

    50gal

     

    WH-at

    Mfgr

    Y

    N

    N

    N

    Who made it?

    American

     

    WH-at

    MfrID

    Y

    N

    N

    N

    What is the ID?

    E52

     

     

    1.2  

    When inserting the blocks, include the following information.

    Block

    Type

    Size

    Mfr

    MfrID

    door36-at

    Flush

    36"

    Ideal

    X-SOL-36

    door36i-at

    Flush

    36"

    Ideal

    I-HOL-36

    Door30-at

    Flush

    30"

    Ideal

    I-HOL-30

    Win-at

    DH

    42x24

    Anderson

    2-DH-S

    Win-at

    DH

    42x35

    Anderson

    2-DH-M

    Win-at

    DH

    42x74

    Anderson

    2-DH-L

    Sink-at

    Lav

    18x30

    American

    W-PORLA010

    Tub-at

    Tub

    30x60

    American

    T/S030

    WC-at

    WC

     

    American

    W-POR-001

    WH-at

    WH

    50gal

    American

    E52

     

    1.3  

    Open the FlrPln 19.dwg file in the C:\Steps\Lesson19 folder.

     

    1.4  

    Create a layer called Plumbing for the fixtures. Make it Red.

     

    1.5  

    Insert the blocks as shown in Figure 19.7.1.10a.

     

    1.6  

    Create a template file to be used to extract the information shown in the bill of materials. Save the file as ArchTemp.txt to the C:\Steps\Lesson19\Library folder.

     

    1.7  

    Extract attribute data to a space delimited file called MyData.txt to the C:\Steps\Lesson19 folder.

     

    1.8  

    Arrange the data as seen on the finished drawing (Figure 19.7.1.8a).

    start figure
     Windows Block       Type   Size    Manufacturer  ID WIN-AT      DH     42X24   Anderson    2-HD-S WIN-AT      DH     42X35   Anderson    2-HD-M WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L WIN-AT      DH     42X74   Anderson    2-HD-L Doors Block       Type   Size    Manufacturer  ID DOOR30-AT   Flush  30"     Ideal       I-HOL-30 DOOR30-AT   Flush  30"     Ideal       I-HOL-30 DOOR30-AT   Flush  30"     Ideal       I-HOL-30 DOOR30-AT   Flush  30"     Ideal       I-HOL-30 DOOR36I-AT  Flush  36"     Ideal       X-SOL-36 DOOR36I-AT  Flush  36"     Ideal       X-SOL-36 DOOR36I-AT  Flush  36"     Ideal       I-SOL-36 DOOR36I-AT  Flush  36"     Ideal       I-SOL-36 DOOR36I-AT  Flush  36"     Ideal       I-HOL-36 DOOR36I-AT  Flush  36"     Ideal       I-HOL-36 DOOR36I-AT  Flush  36"     Ideal       I-HOL-36 DOOR36I-AT  Flush  36"     Ideal       I-HOL-36 DOOR36I-AT  Flush  36"     Ideal       I-HOL-36 Plumbing Fixtures Block       Type   Size    Manufacturer  ID TUB-AT      Tub    30x60   American    T/S030 TUB-AT      Tub    30x60   American    T/S030 SINK-AT     Lav    18x30   American    W-POR-LA010 SINK-AT     Lav    18x30   American    W-POR-LA010 SINK-AT     Lav    18x30   American    W-POR-LA010 WC-AT       WC             American    W-POR-WC001 WC-AT       WC             American    W-POR-WC001 WH-AT       WH     50gal   American    E-52 
    end figure

    Figure 19.7.1.8a: Bill of Materials

     

    1.9  

    Import the data into the lower right corner drawing as shown on the final drawing (Figure 19.7.1.10a).

    click to expand
    Figure 19.7.1.10a: Completed Drawing

     

    1.10  

    Save the drawing as MyFlrPln20.dwg in the C:\Steps\Lesson19 folder.

  2. Using what you've learned, create the next two drawings (Figure 19.7.2a and 19.7.2b) using attributes to create the lists (BOM and Valve List). If you've access to a database program (MS Access or DBase, for example), create a database file of information for each drawing. Both are on 34"x22" sheets of paper and are NTS.

    click to expand
    Figure 19.7.2a: Sample PID

    click to expand
    Figure 19.7.2b: Bioelectrifier



 < Day Day Up > 



AutoCAD 2004. One Step at a Time
3D AutoCAD 2004/2005: One Step at a Time
ISBN: 0975261371
EAN: 2147483647
Year: 2003
Pages: 96

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net