- [Instructor] We're staying in the same chapter,
but we're opening up another drawing now.
And we're going to start looking at tables in AutoCAD
in more depth.
Now, the simple objects drawing is quite literally there.
It is three simple objects,
rectangle, circle, hexagon.
And what I'm going to show you is how to develop a table style,
then design a table and then add some field data
from the drawing into the table.
And I didn't want to make it too complicated,
so we got three simple objects to work with.
Now what we're going to do, is create the Table Style first.
So the quickest way to do this,
is you can go to the home tab on the ribbon
and click on the flyer out here on the Annotation panel.
And there's our table style icon there,
like so.
I can also go to the annotate tab
and use the little arrow here on the table's panel
that will also open up the table style dialogue box.
I'm just going to go back to the home tab though,
click on the fly out for annotation
and click here on table style,
like so.
Now, you'll open it up and you'll see
that you've got the default table style there.
Now we're not working with the objects just yet.
We're going to create our table style first.
So I'm going to click on New, like so,
and we have touched on tables previously in this course,
but we're now going to go through
and set up a proper table and work out how we can add data
from the drawing into the table.
So we're going to go into it a bit deeper.
So the new style name will literally be,
"Simple Objects",
like that.
We're going to start with Standard
because it's the only one we can start with.
It's the default one in the drawing.
So we'll click on continue, like so.
Now, we want to make sure that when we're creating our table,
everything looks the way it does here in the preview.
So we kind of want to Title with three Headers like that
and then the data cells underneath.
So we need to work through these options here, like so.
Now, I know we've touched on this a little bit before,
but I'm going to go through things in a bit more depth
this time.
So we're going to start with the Title Cell Style,
the one at the top here.
And remember, you've got the three tabs, General, Text
and Borders, like so.
So I'm going to select General first.
Now we've got a choice of having a Fill color here,
now I don't tend to worry too much about Fill colors,
but if you were going to have one
and I went for something like Cyan,
can you say it fills the box like that.
I'm going to set it to None, purely for clarity,
so that we can see the text
When we bring the table into the drawing.
The Alignment is Middle Center,
you've got all your regular Alignments there.
It's up to you how you align this.
I tend to go with Middle Center, most of the time.
Now the Format for the Title bar, is General.
If I click on this little ellipsis here though,
I can pick any type of Table Cell Format.
So General is just General Text,
but you might have some data,
you might have whole numbers and so on.
But General is a good one for Headers and the Title bar,
because they're not actually doing anything,
they're just describing the content of the cells
underneath them in the table.
So I'm just going to click on cancel there
and leave that as General and the type there will be Label.
It's going to be a Label, it's not going to be Data.
Now, the Margins are really important
because what they do, is they define the area
around the words here like, Title, Header, Data.
So we're going to work with the Units we've got
in this particular drawing.
So this is pretty much a Unit less kind of drawing.
I'm not worried about
whether it's inches, feet,past X, light ears, I don't mind.
But what we're going to do,
just make sure that everything is in context.
So if you just follow along with the numbers I'm putting in,
I'm going to go with a Horizontal and Vertical Margin of 25.
So when I press Tab there on each of those 25 like that
and I Tab it again, you'll kind of notice that
things look a bit weird in the preview.
Don't worry about that too.
Let's go to the Text tab now like so
and let's Text style here, just use the Standard Text style
which is Arial in this case, it's Arial font
and we're going to go for a Text height of
one, five, zero, hundred and fifty.
Text color, I always try and make everything ByLayer
like that.
Text angle, zero, for Horizontal.
And then the Borders,
you can change what you have going on with your Borders.
So you can set different Lineweights, Linetypes,
you can Double line it if you want to,
but again, maybe set it all to ByLayer
so it all adopts the properties
of the Layer that you're placing the table on.
Now if you Double line it, what'll happen there is
you can have a Spacing where you Double line it,
so if I made that about 10 and did a tab there,
you can probably just about see it starting to
take shape there in the previous it's not obvious.
I don't tend to Double line anyway,
so I'm going to untick that,
but you can set all different types
of Double lining and where the Double lining goes,
to enhance your organization of the Data
in the table later on.
Visually, Double lining looks quite nice
and you can make it look good
if you want to really spend the time tweaking your table.
So that's our Title Cell Style all set up.
So we're going to go back up to the top now here,
click on the flyer again and select Header.
And again, we're going to start with the General tab here.
Fill color None, Middle Center, General Label,
that can all stay as it is.
Remember those Margins of 25.
So just tab each time you put 25 in, just to check
in the preview that it's doing what you expect.
And then we're going to go to the Text tab again,
Standard Text style, Text type this time, one, two, five
and again Text color ByLayer
and Text angle again, zero Horizontal.
You'll see the words Header appear
nice and neatly there in the preview.
Borders again,
I'm not too worried about what you do with them.
You can Double line them if you wish,
make sure though they are ByLayer again.
Always set everything ByLayer,
then your table will adhere to your Layer settings.
And that's everything done for our Header Cell Style.
Last but not least, on the dropdown we're going to select Data.
This is the important one, so let's go to the General tab,
Fill color None.
What I've noticed with AutoCAD,
is it always sets the Alignment to Top Center for Data.
I'm going to change that to Middle Center.
Format is General but it could be something else,
you could have Percentages, Points, Decimal Numbers,
Currency.
You might be Costing a drawing
and you might want to bring some Costing Data into the table.
So you could perhaps set it to Currency like so
but we're just going to go with General text like that,
and I'm going to okay that.
And the type will this time be, Data.
Now this is really important
because ,if you set the type to Data,
when you do a Data extraction from the drawing,
using the Data extraction command
which we don't cover in this course
but if you were to do it, the Data can be taken
out of the table and sent elsewhere,
more importantly you can create
data links out of your drawing into something like
an Excel spreadsheet.
And that data will go across.
I'm not going to go into all the why's and where force of that
but you can take data out of your drawing
and send it elsewhere.
So make sure that is set to Data in this case
because it is your Data Cell Style.
Margins again will go with 25,
just tip the tab each time you type in 25,
just to check that it is previewing correctly
in the preview box.
Then the Text itself quick and easy again,
Standard Text style, Text type will be 100 this time
and the Text color will be ByLayer.
And as you you see,
we now have a nice, neat table appearing.
Text angle obviously zero horizontal
and the Borders again, just set them to ByLayer
like we've done previously.
So they're all set ByLayer, Double line if you want to
and you can change obviously where the lines appear
and don't appear with your Double Lining and so on.
Like I mentioned earlier.
So we've now been through each of the Cell Styles,
so all we've got to do now, is click on okay.
And there's our Simple Objects Table Style.
So select it in the list,
set it as the current table style and then click on close,
You now have a table style in your Simple Objects Drawing.