Wednesday, August 22, 2007

Customize the Dashboard

Hi again! This time let's look at how to customize the Dashboard.

I know it's hard to change the way you've always accessed your commands, so I thought perhaps if you knew you could customize the Dashboard to look the way you want it, you all might just give it a try.
First of all, so we're all on the same page - the Dashboard was there in AutoCAD 2007, but only in the 3D Workspace.
Now in 2008 they've added it to the Workspace named '2D Drafting and Annotation'. They've also added a lot of functionality; you can customize your Dashboard now like you could the toolbars, and since they hide themselves when you don't need them, you can maximize your drawing space. (I mean it doesn't have to be all filled up with toolbars any more.)

Each of those rows with the faint grey line underneath is a control panel. You can control which control panels show. Right click on any control panel, you'll see the list of available panels. Only the ones that are checked will show. So, the first way you can customize the user interface is by choosing which control panels you would use. Once you have that set up, go to the Workspace Toolbar ( or the Tools menu; Tools>Workspaces ) and save as a new name. Next time you want just those Control Panels, choose that Workspace from your list and voila, you've got it. ("Tish, you spoke French!")

The fun part is making your own control panels. You can right click on any of the panels (not anywhere else on the Dashboard) and select "Customize". It'll put you into a folded-up display of the CUI dialog box. ( Customize User Interface). In the illustration here I've labeled where you click to open up the dialog box.

To open up the list of exising Dashboard panels, in the top left section of the CUI dilaog box, where it says "Customization in all CUI files" click the "+" in front of "Dashboard Panels". Right click exactly on those words and one of your choices will be "New". I selected that, in this picture you'll see my new panel.
One way to add commands to my panel is to find them from the list on the bottom there, and just drag them one at a time onto the Control Panel. If I wanted to, for example, I could drag every different Arc command onto one Control Panel and have them all at my fingertips.

By right-clicking on your Control Panel, you can add another row, a separator or a flyout; duplicate an object, or remove it.
Another, faster way to make Control Panels is to drag an entire toolbar onto a Control Panel. Up in the top section, find a toolbar that has most of the commands you want, and just drag and drop it onto your Control Panel. You need to drag it right onto the name , it will make a flyout on the row if you drag it there. The tool palette turns into a row on your Panel


Now on the right side of this dialog box you can see a preview of your new Control Panel. Notice the toolbar you dragged down formed a row, and the original row is now moved and became the 2nd row. By right-clicking on it, you can delete the other row if you don't need it.

Also, by right-clicking on individual buttons, you can delete any you don't want.
The fun part is adding new commands to these. Any command that you can find in the bottom left section of the CUI box can be dragged onto any dashboard. In the next illustration, I dragged a command from Express Tools that doesn't have an icon assigned to it. Notice the question mark for a button.
Also notice in the lower right corner, all the icons used for Toolbars and menus are showing there. It's not hard to customize one of those to make your own icon.


Scroll through the icons until you find one that's close to what you would like for your command. For the following example, I dragged the command for snapping Midway between two points onto my toolbar, so I started with the icon for Osnap-midpoint. In the picture below you can see it in the background, I clicked on Edit and then changed the bitmap as you see here. Then I just pick the "saveas" button, and AutoCAD puts me into one of those deeply buried folders, named Icon. Use that to store your custom icons.


Once you've saved it, the icon shows in your list, so all you have to do is scroll down to the bottom of the list and select it. Then it'll show up on your Control Panel.
By the way, if you don't use the botton now, it won't show up here later easily. It's best to do these one at a time.




Here is another custom button I made, for the Express Tools command "Replace block with another block". In this illustraton you can see the path where my custom icons are saved by default. Using this default location makes it easy for you to transfer these next time you upgrade the software.







Last of all, if you want to assign an image to the Control Panel itself, it's as easy as pie. Click on the title of your dashboard, scroll through the icons and click one. It'll then be assigned to the edge of your control panel. You don't have to do that of course. I made a custom one, and perhaps I shouldn't have used red, since all the other icons are just shades of blue. What can I say ? - I like a lot of color!

Tuesday, August 21, 2007

Vault server on a 64 bit OS. No problem, right?

So this last week, I went to a customers site to install Vault on their server for them. No problem, I've done this a lot of times. I get to their office and I notice their server is running Windows Server 2003 x64. Uh oh. 64 bit software. I haven't dealt with it yet and I know Civil 3D doesn't run on it. So, off to the Autodesk website to make sure it's supported http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=8915326. Alright! It's supported for the vault server! Away I go. I pull out the disk, throw it in the machine, and up pops a warning. I don't remember the exact wording but it said something along the lines of:

Hey! You can't do that! Civil 3D isn't supported on a 64 bit OS! I'm cancelling the installation setup!

I know, I should have taken a screen shot of the message, but you get the point. So, I can't run the setup.exe for Civil 3D. No problem, there's probably another exe file for the vault just like there was in 2007. I browse through the install disk and find the vault msi file (that's the installer file). I double click on it hoping it will install the vault server and I get another nasty gram (again, I should have taken a screen shot):

Hey! You can't do that! Vault Server has to be installed through the setup.exe file!

Wait a minute, I can't run the setup file because this is a 64 bit OS but I have to run the setup file to install vault, which is supported on a 64 bit OS. Sounds like the left hand wasn't aware of what the right hand was doing.

Now, if you find yourself in this situation, there are a couple things to do. If you are on subscription, you can download the vault install files from the subscription center. I wasn't aware of that option so I didn't do that. The other option is to contact Autodesk Tech Support. They can e-mail you an alternative Civil 3D msi and ini file. Simply copy the install disk to a local drive, replace the two files, and away you go. You can also contact your reseller for assistance with this (if you don't have a good reseller, you can always check out CommTech www.ctcivil.com).

Wednesday, August 1, 2007

Civil 3D and Land Deskotp 2008 Service Packs

For those of you that don't live and breath Civil 3D like I do, you may not be aware that there an now service packs available for both Civil 3D 2008 and Land Desktop 2008. Ok, big deal. So why Blog about them? Well, you have to make sure you get the right one or it won't work for you. Remember, there are two different versions of LDT 2008.

First, the easy stuff. The Civil 3D service pack can be downloaded from the Autodesk website. Simply click here:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9909730&linkID=9240698. There is only one version of the service pack so download it and install it.

Now the tricky part, Land Desktop. For those of you that have licenses of Civil 3D, even if you aren't using Civil 3D will most likely have the Civil 3D Land Desktop Companion. If that's you, then you'll need to download your service pack here:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9909673&linkID=9240698.

If you don't have Civil 3D, you probably have Land Desktop and you can download your servivce pack here:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9909659&linkID=9240778.

Let's all hope this service pack will fix all those little bugs!



Tuesday, July 17, 2007

Custom Multileader Style

Hello and welcome to the CAD Cafe. Unless you live high up in the mountains or right next to the sea, it's HOT where you are! So get yourself an iced drink - if your IT guy lets you have liquids near the computer - relax and try something new from AutoCAD 2008.
Today we're going to make a custom Multileader.

In case you aren't familiar with that phrase, let me explain. It's simply an arrow pointing at something you want people to notice, with a number that corresponds to a keynote, usually with a shape around it like a rectangle or a circle. There are a lot of them that come with AutoCAD, but maybe you want to use the same one you've always used. It's part of your company's signature drawing style! Still, wouldn't it be great to have the functionality offered with 2008 multileaders? You can!

This first illustration shows the different types of multileaders that are included with AutoCAD. I created a few different styles to show that you can use any arrowhead, line/spline, and shape combination you like. The process for creating these styles is exactly the same as for a custom Multileader, just choose one of the shapes from the block list.


First step: create a block if you don't already have a custom one. Draw your keynote & insert an attribute at the size you want your keynote to print out in paperspace. I used this ellipse at the size you see dimensioned here.


Important Note! Don't use an annotative text style for your attribute!
Another thing you might want to consider is creating all this in a template file you always use, so once you've gone to the trouble of creating it, the style is available to you.

Next, make your block but make sure it's NOT annotative. All the annotation happens in the Multileader style.
You'll want to make sure to Save at this point. AutoCAD won't put your block in the list if you haven't saved the drawing. Plus who wants to make the block over again just because they forgot to save?
Second step, use the button in your Dashboard to start the Multileader Styler command.
This is a lot like creating a dimension style, you choose options from each tab.



Reading from left to right; under the Leader format tab you choose either lines or splines, line color, linetype, lineweight, also arrowhead style & size. Next is Leader Structure where you can specify how many points your line will have, as well as a specific line angle if you need that. Here you'll choose how it's scaled - annotative or not, same as with dimension styles. As you choose things you'll see the preview of your multileader change.
The last tab, Content, is where you choose your own block.


Here is illustrated all the choices you have when you create your own Text Multileader Style. I was going to explain it all, but in this case a picture is definitely worth a thousand words, and those of you who aren't interested in this can just skip this picture, and you won't have to read a thousand more words!

Below is the Content tab with 'Block' chosen; you
can see all the choices that come with AutoCAD.
I clicked where you see the words "User block" highlighted, then a list of all the blocks in the drawing popped up and I chose my 'Custom Keynote' block.

Here you can see my preview, I chose my custom block, straight lines, annotative scale and all colors by layer.
Remember, if you want your Multileader to be Annotative, you make it annotative here in the Style Manager, on the Leader Structure tab, under 'Scale'. You don't use an annotative block, it won't work.
Guess who tried it? Right in one! So when I tell you it won't work, you can believe me.

Here are my custom Multileaders, inserted through the viewport and all scaled perfectly. I added more leaders to one of them to demonstrate that a custom block multileader style has all the functionality of the ones that come with AutoCAD.


I couldn't resist changing the layer colors per viewport, just so the electrical would stand out more in that second viewport. While in Paperspace, I clicked inside that viewport, opened the Layers Manager and changed the colors in the "VP Color" column. Here's a picture so you could see which ones I changed and how they're highlighted when you do change them.


I hope this was helpful - you can use the new Multileader functionality in 2008 and you don't have to give up any custom keynote blocks you're already using.
Keep cool until next time!

Monday, July 16, 2007

Feature Line Labels

So, you have a feature line that you would like to label and you want to see the elevations of the verticies. Well, I've got good news for you. You can create a general line label style that can do that.

First thing you'll need to do is create a label style. The general line label styles are found on the Settings tab of your workspace -> General -> Label Styles -> Line. Right click on Line and select New...


Give your new label a name. In this example, I'm creating a label for the end of the line so it's called "End Elevation" (original, I know). On the layout tab, go ahead and remove all the components (select the component name and hit the red X) so we are starting with an empty style.

Now, let's go ahead and build the style. If you've looked at the anchor components, one thing you'll notice is there is no apparent way to attach a piece of text to anything other than the anchor point; which is the middle of the line. Well, we can get around that fairly simply. What we need is a component that goes from the start point of the line to the end point of the line and the component that does that is the direction arrow. So let's go ahead and add the direction arrow to our label.


A couple things to keep in mind. First, we don't want to see the direction arrow, we just want to use it so make sure to set the visibility to false. Second, we want the direction arrow to go from the start of the line to the end of the line so make sure the fixed length is also set to false. Now that have the start and end points of our line, via the direction arrow, we can attach text to them.


A couple notes on this component. We want the anchor component to be the direction arrow and the anchor point to be the end. This will place the label at the end point of the feature line. Now, we need to compose the text value of our lable. Click on the ellipses (that's the three little dots) in the value cell for the text contents to bring up the Text Component Editor.



For the text properties, we want to use the General Segment End Z, format it how ever you like, and then hit the blue arrow to insert it into the label. That's all there is to it. You've just created a style to label the end points of your feature lines. You'll probably need to repeat the process to create a label for the start point, as well as labels for the start and end of curves. Now, when you want to add the label, simply go to the General menu, Add Labels... and select Line and Curve for your feature and the styles you just created for the label styles and away you go!

Tuesday, July 10, 2007

What? Me use Sheet Set Manager?

I've noticed a disturbing trend in the classes I've been teaching recently. Apparently, not many engineers out there are using the Sheet Set Manager in AutoCAD. In my humble opinion, this is by far the best thing that came out of AutoCAD 2005. If you look through the help file, you may find yourself thinking, "Yeah, so it can help me open, plot, and create sheets. Big deal!" These things are nice but the real beauty of the Sheet Set Manager is the fields.



Let's look at a for instance. Say you have a set of drawings that consists of 100 sheets. That's a big set but not too extravagant in this day and age. Now, you've set aside sheets 3-8 for the surveyor's plat and you've gone out and created the rest of your sheets. The day of the submittal roles around and your surveyor forgot to mention that he had to add an additional sheet to his plat. Oh great! Now you have to go open all 90+ sheets to renumber them. Not if you are using Sheet Set Manager.


The way to set this up is to have the piece of text in your title block that displays the sheet number consist of a field. In this example, the sheet number, the project name, number, and address are all fields that are referencing the sheet set. To create these fields, simply edit the text, right click where you want the field to be, and select "Insert Field..." The dialog box for creating the field has a lot of different options (I use this for labeling my labeling my assemblies as well but that's a topic for a different post).


The field you'll want to use to get the sheet number in your title block is CurrentSheetNumber. Set your Field Catagory to Sheet Set and then under Field Names: select CurrentSheetNumber. Now, whenever your sheet number changes in your sheet set, the drawing will reflect that value. The nice thing is, you don't even have to open any of the drawing to make this change. Simply open the sheet set, right click on the sheet you want to renumber, select Rename & Renumber and away you go. The next time the sheet is opened (even if through publishing) the sheet number will be updated.


Now, back to our example, the surveyor added another sheets and now you have to renumber them. Well, since you're using the Sheet Set Manager, simply open the sheet set, runumber the sheets, and your done. Shouldn't take more than a few minutes to do this.


You can use this for other things as well, such as the sheet name, project number, client information, etc. but there are other (possibly easier?) ways to handle that information.


As a last word, if you aren't utilizing the power of the Sheet Set Manager, you really must learn it. It's definitely a huge time saver!

Monday, July 2, 2007

Saving Back with Annotative Styles




I received a question about what happens to these annotative objects when you have to send your drawing to someone with an older version of AutoCAD. A really good question, and one I'd want to know the answer to before I started making all new styles of text and
dimensions. Happily, the answer is short and easy.



Here is the example drawing I'll be using. I made some text and dimensions that only had one scale, and some that had several. Then I saved it back to a 2004 type file, and went and opened it in AutoCAD 2006.

As you can see, when you look at all the viewports in paperspace, it's almost perfect! The only thing you lose is the layer color or linetype per viewport. But everything is showing only in the viewports it's supposed to, and at the right scale.


You can see why - AutoCAD copied my layers and added the appropriate scale factor to the layer name. How clever is that? You can also see that the correct layers are frozen per viewport - so it all works, and someone can view your drawing in an older version. (by the way, if you save as an older version and then just open it in 2008, it doesn't do this. It looks just the same.)








The next logical question is, "What do these annotative objects become? Can I still edit the text, or change a dimension?"
In Model space, you can see everything all at once, so it looks a little confusing. When you click on an object that had several scale factors attached to it, you'll see that each size is there and they're all one object -they've been made into a block.



In the example, I exploded the block and it turned back into two dimensions. Instead of creating new dimension styles, Style Overrides are added. I chose both dimensions, did LIST, & took a picture of this so you could see it. (notice the dimscale)





Hopefully, this will increase your confidence in using the new annotative text. You can save back to earlier versions and still work with the objects formerly known as Annotative.