Thursday, February 26, 2009

CAD usergroup AFTERMATH!!!!

We had a good user group meeting yesterday. I think it went really well and it could have gone on for another hour easy.

Lineweights
The first thing we touched on was AutoCAD lineweights for the Willdan CAD Standard. With the new standards being developed we want to use object/layer lineweights to control plotted line thickness instead of the using color to determine plotted lightweights. Also, we want the ability to plot full or half scale using the same pen table.

AutoCAD comes with 24 lineweights but with a 400 DPI plotter like the Xerox 510 there are about 11 of the different plotted lineweights. For example, a lineweight of 0.13mm plots exactly the same as a 0.20mm line. With a 600 DPI plotter there are a few more but it is basically the same. I have gone though these lineweights and found six lineweights that can represent all our plotting needs and have the ability to be scale in half to create legable half scale plots.



0.18mm will be a zero weight line, the reason we dont use a smaller lineweight is that when plotted half scale

0.35mm is similar to a weight 1 one in Microstation and will be used for text and call outs.

0.50mm and 0.70mm will be used for proposed linework. For now these two are interchangeable. They do plot different but the 0.70mm lineweight plots better on half scale plots, but both are acceptable. The standard template use the 0.70mm lineweight.

The final 3 lineweights (1.00mm, 1.40mm, and 2.00mm) are there for any other need for thinker linework. Do not vary from these lineweights because half scale results may not result in an acceptable plot.

These changes have been incorporated into the CAD standard document that can be downloaded here "Willdan CAD Standards rev 0.3". Refer to page 21-23 for lineweights.

Drawing Template and import of Layers
I have updated the AutoCAD templates on the Anaheim server. If you are not in the Anaheim office and want to use these templates you can get them on
(\\soc-dc1\config\ACAD CONFIG\Templates)
or
e-mail me and I can send them to you.

I have also created another way to bring in layers into a drawing using the Tool palette


These Tool palette commands will import the layers, color, linetype, lineweight, and descriptions with basically a push of a button. These tools need a little more work and only work in the Anaheim office, for now. I also need to study up a little more on AutoLISP to get them to work perfect, but for now if you are in the Anaheim office and need to bring in the annotation layers you now have a tool. Some setup in your options need to be set but it is easy.

System Variables for Linetypes
With the new annotative scale (AutoCAD 2008+) there is a new system variable that tells linetypes in model space to use the annotative scale to adjust the appearance of linetypes.

MSLTSCALE (system variable)
This variable scales linetypes displayed in model space by the annotation scale
0 - Linetypes displayed in model space are not scaled by the annotation scale
1 - Linetypes displayed in model space are scaled by the annotation scale

The preferred method to get linetypes to display properly is to set all the following variables to "1"
MSLTSCALE - scales linetypes displayed in model space by the annotation scale
LTSCALE - sets the global linetype scale factor
PSLTSCALE - controls linetype scaling of objects in paperspace viewports



This works for linetypes that need to adjust when different scales are used but do not work with linetypes that need to stay the same size at all scales, like lane lines.

Related links
Willdan CAD Standards revision 0.3
Layer Name Format
Layer Codes (based on National CAD Standard)


Wednesday, February 18, 2009

CAD Usergroup meeting Feb 25th

It has been a while since we have done our CAD user group meetings and it is time to get them going again. The next one will take place Wednesday February 25th. If you didn't get an invite and want to come feel free to e-mail me at rshadowen@willdan.com and I will add you to the list. I need everyone to RSVP by Tuesday

Here is an agenda. I hope we CAD hit everything...

Discuss CAD standards

I have made some updates to the CAD Standards manual I have been working on. the main upgrades have to do with lineweights. For the most up to date PDF of the CAD manual, copy and paste the following link into explorer.

\\soc-dc1\config\Willdan CAD Standards\Willdan Anaheim CAD Standards_rev 0.3_.pdf

Annotative elements and Linetypes

In the last two releases of AutoCAD they have introduced annotative scales. I believe we can take advantage of this new feature. Plus get into some of the system variables that control how linetypes appear

AutoCAD 2009 interface changes

AutoCAD 2009 looks quite a bit different than older version. Don't be scared, it does all the same things, they just might be in different places. Also, some of the tools have got upgrades, I will try to show as many of these as I can.

Hope to see you next Wednesday

Monday, February 9, 2009

Profiles.... USE THEM

Once thing I have noticed recently, especially after everyone made the upgrade to 2009, is that almost no one is using Profiles. Your Windows profile is what defines (and remembers) your background wallpaper, your screensaver, icon locations, etc. AutoCAD basically has the same thing. AutoCAD saves your user interface (menus, palettes and toolbars) and other various preferences like, background color, layout color, crosshair size, etc. in a profile


Hopefully 99% of the time you never will have to mess with your profile and you can just draft away at your hearts content. BUT… it is that 1% that can ruin your day. For some reason you open up AutoCAD and everything is out of whack. Your background is white, you go to plot and none of the plotters or pen tables show up, and other, none of your fonts look correct. I am sure AutoCAD has done this to you and most of the time something went screwy with your options. Now, if you have a profile and made a backup of this profile, then you can get it fixed with a few click. If you didn’t have your profile backed up, well then, you will spend the next few hours getting everything back to the way you had it, and you will never get it back exactly the way you had it.


This is what I recommend. Once you are in AutoCAD, go to your options…
Command Line: OP or OPTIONS
Right-Click command line and select Options…

Menu>Tools>Options




Click the “Profiles” tab at the top


Click the “Add to List…” button



Name the profile your name and maybe put the version of ACAD at the end.


***Set the new profile current***

Either by double clicking or highlighting and clicking the “Set Current” button


Now, everything you do to your options will be applied to your current profile.

Once you have everything set, then Export your profile to a safe place. I don't mean in the My Documents folder on your workstation. I mean to a safe network location, floppy disk, jump drive, R drive, or even save it locally and then email it home.


To Export all you need to do is choose Options and then the Profiles tab. From there you will see a button on the right for Export. This will create an .arg file. Name the file the same name as your profile, not the name of the file. This will make it easier to fine down the road.

Now if things get messed up, you can just go to your options profile tab and click the import button and bring in your backed up profile and save yourself the headache of setting everything up again.

In the future I will show ways to have AutoCAD stat up using a specific profile (either local or on the network) and even having multiple profiles for different jobs or tasks.

Friday, February 6, 2009

CAD oriented BLOG for Willdan CAD users

Hey Guys,

I have a bunch of little tips and tricks I have collected over the years. I thought it would be a good time to start a blog and share these tips with everyone plus it is a good way to archive them.

So I will start this first post of with a few quick tips for ACAD 2009 since our office got everyone upgraded to 2009 this week.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hey, where did the menu bar go?

You might notice that all the file pull downs across the top are gone (File, Edit, View, etc...) They are still there. You just have to click the big A in the upper left hand corner. A little different, but they are all there. If you want them they way they used to be without switching your workspace to the classic view, which will get rid of all the cool new ribbon functionality, they just enter the following system variable at the command line


MENUBAR (system variable)
0 = no menu bar at the top of screen
1 = menu bar back at the top of the screen


OSNAPZ (system variable)
0 = default, give you the true distance between using the Z-value of the specified point
1 =Osnap substitutes the Z-value of the specified point with the elevation (ELEV) set for the current UCS

I know this has happened to you. you measue from the centerline to the topo curb line and you get a distance of 1400'. You realize that the centerline is drawn at a Z of zero but the topo lines are at elevation. So if you sent OSNAPZ to 1, you will get a distance in XY dirrection as if everything is at the same elevations.


You can Right Click on the command line to see a list of recent commands


TASKBAR (system variable)
0 = (default) displays only the name of the current drawing on the Windows taskbar
1 = display multiple open drawings as separate items on the Windows taskbar


SETBYLAYER (command)
This is a command to set any object back to bylayer. Including blocks and the elements within the blocks.... BAM!!!!


LAYDEL (command)
ever get that layer that just wont go away. Use LAYDEL to get rid of that layer. Just make sure these isnt ANYTHING you need on that layer still. You might want to backup the drawing before you do this command.


TEXTTOFRONT
(command)
Bring all of the text to the top of the draworder


TXT2MTXT (express tool)
converts single line text to multiline text. You can select multiple text objects and it will join them together into one multiline text object.