Wednesday, December 12, 2007

Do you really want to do this?

Issue: I'm getting a message asking me, "Do you really want to do this?"

I stumbled upon this many moons ago. This is one fix I know of. Doesn't always do the trick so give it a try and hope for the best.

The issue I found was my Associative Hatch was using an Xreference Object as my boundary.

I used the Pick Points function in the Boundary Hatch command to create my hatching. I started to see this message shortly thereafter and sometimes after I've closed and reopened my drawing.

My Attributes are Missing

Issue: My attribute text in my title block is not shown. My Layer is Thawed and On. What gives?

Your attributes may be turned off. To return to default use this command.

Command: ATTDISP
Enter attribute visibility setting [Normal/ON/OFF] : N

Normal is default. Invisible attributes are not shown whilst others are.
Many Land Desktop users change this to ON so the profile attributes appear. What they forget is that they should use Normal to change it back, not OFF.

Thursday, October 25, 2007

My Underscores are Missing from my Menus

Issue: Your Menu Bar or Osnap Menu doesn't have underscores under key letters.


Windows XP:
- Open the Control Panel
- Open Display
- Click Appearance Tab
- Press the Effects... Button
- Uncheck "Hide underlined...."
- Press OK Button

The underscores should appear instantly.


Windows 7:  http://superuser.com/questions/16952/how-to-enable-underscore-shortcut-mnemonics-for-menu-items

This post goes hand in hand with my previous post called http://autocad-for-civils.blogspot.com/2007/10/how-to-speed-up-working-with-osnaps.html

How to speed up working with OSnaps

What if I told you that when I work with Osnaps I never see the Osnap Menu? Ahh... Ooo... I don't mean use Toolbars. That would require screen real estate that I'm not willing to give up.


This menu can be accessed a few ways. (See Image -->)

- Middle Button down
- If your middle button is "Pan" then Shift+Right Click
(This function is controlled by the variable MBUTTONPAN)


Focus on the Underscore under Each Osnap.


Work flow...
- Draw a Line
- Bring up the Osnap Menu
(If you remember your Key Letter then just key it in. No menu clicking necessary.)
- Press E for Endpoint
Continue as usual.

If you don't see the underscores in this menu then see my next blog post to change a windows setting.

I hope this speeds you up. Happy Cading...

Wednesday, August 22, 2007

Open a drawing Read Only

Ever wanted to open a drawing Read-Only without changing the file properties?

Thursday, July 26, 2007

Screen Capture for Documentation of Standards

Every day I seem to find myself creating tutorials or writing training material. I add screen shots in every document I write. Users will become accustom to it quickly. Let's be honest, it's tough enough to get people to read the simplest of emails.

My Old Method of Screen Capturing:
I used to use PrintScreen button and paste into MS Paint to make edits. Capturing Menus required capturing the entire desktop. If you used Alt+PrtScn to capture just the active program window the menu would disappear. I was sick and tired of cropping Menus so I did what every Good CAD Manager does and searched for a better cost effective solution.

I found SnagIT here: http://www.techsmith.com/
The price of $39.95 is unbelievable. (08/28/07)

It does Menus in a snap. Not only does SnagIT capture virtually anything on your screen in hundreds of methods it also comes with an Excellent Editor. I seem to learn more and more each day I use it. Techsmith created a video series called "SnagIT 24 in 24" to help any user achieve their goal.

My ROI was accomplished on my 1st project. I had to update my CAD Standards. So I scrapped every screen shot and completed it using SnagIT.

They give you a 30 day trial period. If you do screen captures at all as apart of your job this tool is a must have. No I'm not getting kick backs from Techsmith. I just know a good product when I see it.

Wednesday, June 20, 2007

Error: Unable to write data to locked layer: ???

Do you get this error when opening a drawing file in Land Desktop?
Background Info:

A block named "ADCADD_ZZ" gets inserted by LDT into the 1st layout tab. This block includes information about the name of the project (database) that the drawing is attached to and the drawing setup information.

Solution:
- Change the "ADCADD_ZZ" block layer to Zero (0) and/or unlock it's layer.
- Since you can't select the object with a mouse you have to use something like Quick Select to grab it to change its layer.


How to repeat this error:
- Create a new file using Land Enabled Map.
- Lock the current layer then save & close.
- Open the same drawing using LDT and you'll get a message box with the Unable to... error.

Tuesday, June 19, 2007

AutoCAD Licensing Issue with LDT & Civil 3D

This post is more venting than knowledge passing. Sorry about that. Maybe you'll come across this prior to asking for new license files from your Autodesk Reseller. This is my story as I write this...

I contacted my Reseller for new license files for 2008 Land Desktop, Civil Design, Survey, Raster Design, & Civil 3D (C3D). I quickly learned Autodesk changed the packages from 2007 to 2008. They now give you the LDT package free and bundled with Civil 3D.

Here's my situation. I have 24 Civil 3D and 18 LDT licenses. Why, long story. Here I'm sitting with 2 icons on my desktop, C3D & LDT. The first 24 users who need LDT open AutoCAD using the C3D icon then access LDT through a Workspace. The next 18 have to use the LDT icon (normal procedure) or they will receive a lovely License Error. This is obviously a problem. I suppose I understand where Autodesk is coming from. If they give me 42 LDT licenses and 24 C3D licenses then I will actually be able to use 66 LDT instances. I'm forced to change my user's habits before we begin the great transformation to C3D.

Here's my solution. May not be the best, but it is one without confusing 42+ people.
- Configure both LDT & C3D installs with all customization the same regarding LDT.
- Choose 24 of my top power users and install only Civil 3D on their work stations. Maybe they'll start exploring and learn something new to boost performance.
- The rest of them get LDT installed.

This is an administrative nightmare but one I will have to deal with till we upgrade all LDT licenses to C3D. If you have to deal with dispersed license servers like myself this is even a bigger deal. How many of which where, Hmmm..., What if...

Good Luck to all who are making the switch to Civil 3D. The good thing is that we're not alone!

Monday, May 21, 2007

Fix broken hatch patterns

This is a classic issue and they're many people who don't know about or seem to forget "SNAPBASE".

Issue: Your hatch is broken into segments. Below is an example of the Gravel pattern. The further your hatch objects are from 0,0 the worse it gets.

Solution:
1) Type "SNAPBASE"
2) Pick a point near your proposed hatch area.
3) If your hatch pattern exists all you have to do is type "HE" for "HatchEdit" and press OK. Double clicking a hatch object also opens the Edit Hatch dialog.
OR
3) Create a new hatch object.

IMPORTANT STEP!!! Reset snapbase back to defaults.
4) Type "SNAPBASE"
5) Type "0,0" (Return to Default)


Updated for AutoCAD 2008 on 12/16/08:
The above workaround doesn't always work.
So here's round 2:
- Create a hatch boundary polyline.
- Wblock, copy clip into a new blank drawing around 0,0,0.
- Hatch as usual.
- Wblock, copy clip into your original drawing around 0,0,0. Remember to include the hatch boundary in your selection. You'll need it to move your hatching into position.
- Finally move it into place.

If you have a faster work around please reply. I will copy your tip into the main post so people can get the answer and return to work.

Thursday, April 26, 2007

Quick select is not permitted in perspective view

I grew some grey hairs on this one. Consider this post as my forwarding of information from this AUGI forum post. Mike.Perry posted this fix on July 22, 2004. Scroll down to his last response for the fix.

This also fixed my problem where I couldn't select objects to edit. Also if I regen my drawing they would disappear. I was ready to block my line work into a fresh new drawing file.

I believe you may view this post as a guest. http://forums.augi.com/showthread.php?t=6039

If you're not a member of AUGI you should be. There's a wealth of info here. Here's the link: http://www.augi.com/join/application.asp

Snippet:
Command: dview

Select objects or <>: Press Enter

Enter option[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: PO

Specify target point <17741.51,>: 0,0,0

Specify camera point <17741.51,>: 0,0,1

Enter option[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: Press Enter to Exit

Thursday, February 01, 2007

Plot Stamp switch from Rtext with Diesel Code to Text with Fields

All of my Title Blocks contained a Plot Stamp using the Rtext object with diesel code. I switched and now use a Text object with Fields.

I was sifting through the vast Field object options and found a field that will only update after I plot. If you want this option it is in the PLOT category and called PLOTDATE in the field names list.

This behavior isn't like the Rtext where it updates after every Regen. I got a tip from my buddy's at CAD Masters on how to use my diesel code inside fields. This is in the OTHER category and called DIESEL EXPRESSION in the field names list. Eueka! Same flavor different smell.

As a CAD Manager you must upgrade your systems and processes as new releases offer better solutions. This move for me was my 1st step towards using fields in general. This post is a bit late, but hey, better late then never.

Wait a minute. Need some code? Here you go.Date: $(edtime,0,mon dd"," yyyy)
Time: $(edtime,0,h:mmam/pm)
Dwg Name: I used the DOCUMENT > FILENAME field.

See my response below to get diesel and autolisp syntax for File Name and Location.

Tuesday, December 12, 2006

Recover drawing data when all seems lost

This is a continuance to my previous post regarding "AutoCAD Automatic Save Feature".

Recovering Drawing Data 101... (AutoCAD 2005 Viewpoint)
1) If you press YES to save changes after a fatal error (assuming it gave you the chance) then a file is created with a "{file name}_recover.dwg" in the same directory as your closed file. Open a new AutoCAD session and run a recover (File>Drawing Utilities>Recover) on the new file. If it's successful REMEMBER to Save As on top of the old file and delete the "_recover.dwg" file. Don't work in the recovered drawing file.

If you can't recover your drawing then move onto # 2.

2) Rename your .bak file to "temp.dwg" and see if that is corrupted too. If that's gone then move onto # 3.

3) Go to your local AutoSave directory. Look for the "{file name}.sv$" file Refer to my previous post "AutoCAD Automatic Save Feature" to recover from that.

WHEN ALL ELSE FAILS you can open a New Blank drawing and Insert the corrupted file as a block. If this works you'll only get items in Model Space. Paper Space is kyboshed.

Monday, October 23, 2006

Why are my paper space objects white?

Do you have a situation where all your objects in paper space (layout tab) are white? Your objects are on layers with different colors and they're all bylayer. The problem lies within your current page setup.
  • Set your layout tab current. Right Click on the tab itself and press Page Setup Manager...

  • Press Modify

  • Uncheck "Display plot styles"

Thursday, September 28, 2006

Civil 3D Synopsis

I took my first Civil 3D (C3D) training class a few months ago. Let me tell you that it is going to be difficult to change someone’s mindset from LDT to C3D’s new procedures if they're stuck in their ways. Do you know anyone who screams, “Bring back R14 & Softdesk 8!” It’s a paradigm shift. Everything is object based. This allows for real-time updates. C3D 2007 service pack 3 is the only version worth working with. I haven't worked with 2008 but will be soon. The big issue I still see is Vault. It’s the replacement for Data Shortcuts. Vault is the current method of sharing database information from one drawing to another. No more common database. All “database” work is stored in the drawing which it was created in. For example if someone drops 200 points and creates a surface EG in a drawing called EG-Surface.dwg then you would check the 200 points, EG surface, and the dwg file into a vault so that any other drawings needing to use them will reference through vault. There are IT related issues with Vault that I’m not too savvy with. It deals with SQL Servers, # of users, etc. Not to mention file backup systems.

Points are going to send some surveyors over the edge. However if they’re taught how to protect their points then they shouldn’t fuss too much about that. The thing I don’t like about points is that if I’m in a “Plan” drawing where I’m doing grading design and I check out the 200 points into my current drawing so that I may reference them then they’re actually inserted into my drawing. If I delete any of them and they weren’t protected then they are gone from vault. Picture this. I’ve xrefed my topo into my drawing that shows points then I check the points out so now I have duplicate points displayed. There is a point on top of the xref point. It’s just plain weird. Can you tell I’m the one who’s trying to cope with grasping these concepts? Locking your points is my main point.

Styles were a big topic because everything displayed is based on a style. It will take someone at each company a great deal of time to setup per their company standards. Styles are stored in a .dwt (drawing template) file and can be accessed through the prospector. One method to tackle styles is to teach most of your CAD staff how to created and manipulate styles so they will be self sufficient. If you are 100% standardized in development of plans and layout then someone could create most of them for staff to use without any hassle. It will be a virtual impossibility to create a style for every single use. Designers are going to want to create styles to view design. I’m sure each one will have their own flare to debug designs.

Figuring out the bits and pieces is something that is going to have to be done when companies start attempting to use C3D as their source for design and production.

There was more we covered that I don't have the energy to post. What I can say is that training is immanent.

I'm not going to blog too much about Civil 3D until we roll out pilot projects or convert completely.

A great resource for all Civil 3D needs is http://www.civil3d.com. I have posted some Civil 3D bloggers site on the right pane under Other Bloggers.

Thanks for reading!

Thursday, July 06, 2006

Open explorer in the current open drawing directory

This simple routine has saved me so much time. I work with explorer primarily to navigate through projects. However, I don't use it to open drawings. I work in LDT and we should all know its limitations by now when it comes to associating projects properly.

(defun c:expl () ;;Change "expl" to any command you wish for a macro
(startapp "explorer" (getvar "dwgprefix"))
(princ)
)

Copy the 4 lines above to a ASCII file with an extension of ".lsp". Loading is simple with the "appload" command. Add it to your start up suite and you're good to go!

Thursday, June 22, 2006

Viewport Conflict

1) Scenario: You have two viewports ontop of eachother and you can't get into one or the other. Use Ctrl+R as a toggle into any viewport within current Layout tab.

Tuesday, June 20, 2006

Here's a list of a few must know setvars

1) Missing dialog boxes use: FILEDIA - Set to (1)

2) Getting a prompt About to Regen - Proceed?: REGENAUTO - Set to ON

3) AutoCAD point display: PDMODE - This varies based on how you wish them to be displayed. Use DDPTYPE to change the display using a dialog box. We "use AutoCAD POINT for Marker" for our AECC_POINT objects. This allows us to control their display without changing the master dwg where the points are located.

4) Attribute display: ATTDISP Enter attribute visibility setting [Normal/ON/OFF]: - Set to Normal if they're not displaying, this is default. Set to ON to view invisible attributes. (Use ON to see LDT Profile tag in the lower left corner of your grid). I haven't found a reason for OFF.

5) Middle button to Pan or Osnap: MBUTTONPAN - Set to (0) for Osnaps or (1) for Pan.

6) Change your pick box size: PICKBOX - Set to desired size. Typically around (5).

7) Change your Cursor X,Y vector length: CURSORSIZE - Set to (100) for standard length. Set to a lower # for shorter vectors.

Wednesday, June 14, 2006

Missing Icon Images on Toolbars (v2005)

This topic probably has been exhausted over the years but I have a tidbit to add to the mix for AutoCAD 2005. I updated a menu (.mnu) file and recompiled it. I opened my AutoCAD session and my icons were missing from my toolbars. Look familiar? ( ) I've done this a few hundred times and couldn't figure it out. I realized that the AutoCAD profile I had current didn't have any of my Support File Search Paths. The one I needed points to the location where I keep my bitmap files. I added that directory to my Search Paths and recompiled my menu and walla. It was found !

I get the task of working with the Custom User Interface (CUI) editor for our up and coming upgrade to 2007.

Saturday, June 10, 2006

Civil 3D Styles

This article on Cadalyst's Website by Bill Frederick was very informative.
http://aec.cadalyst.com/aec/article/articleDetail.jsp?id=324287

It gives a good insight to the undertaking that will have to be done with every office. The first line poses a question, "Why are so many Autodesk users terrified to make the jump to Autodesk Civil 3D?" I will have to agree that Styles are a BIG deal. Every object has a style associated to it. If you want to change the appearance of an object slightly you have to create yet another style. I think if you don't have someone like a CAD or IT Manager tasked to manage these it can get out of control quickly.

One of the things that I'm a bit worried about is that Styles are stored inside the dwg. file. How do I safeguard my styles if I have to send out my dwg files? I know that I'm going to be spending a great deal of time to establish styles based on my company's standard.

I haven't had the opportunity to work with Styles as of yet but this task will be on my plate soon.

Tuesday, May 30, 2006

AutoCAD Automatic Save Feature

The automatic save feature explained... (AutoCAD 2005 TESTed)

I did some research regarding why Autosave does and doesn't save a backup on your local system.

We had an incident a few months ago where AutoCAD crashed a .dwg and corrupted the .bak file in the current drawing directory and didn't save a .sv$ in the temp local directory. Definition: FILE WAS TOAST and work was lost!!! :-(

To test this I set the time located in my Options to 1 min. because I didn't think that it saved a .sv$ file ever. It actually works even if you don't see it pop up in your command line. The thing to be aware of is that the .sv$ file gets deleted from your local directory when you successfully Exit your drawing file. This feature is designed to be used when AutoCAD exits abnormally, i.e. Fatal Error.

If your drawing crashes and you loose work attempt to rename the .bak file to a different name but use a .dwg extension. If your work is still not all there go to your local temp directory and look for your drawing name with the extension .sv$. Rename the extension to .dwg and open it to see if that recovers more data. You can compare Modified times as well. If the file doesn't exist, it only means that AutoCAD failed to perform as designed...

Sometimes AutoCAD will save a .bak file in your local directory along with .sv$ files. AutoCAD designed the autosave feature to delete the .sv$ after the second autosave and create a permanent .bak file. This is a Crap Shoot. I had it work on 2nd save then on the 3rd then it didn't do it at all on one of my tests. Another AutoCAD program failed to perform as designed... again...

The moral of the story is to, "SAVE Often"...

To find your temporary Autosave directory go to your options and under the Files Tab is an Autosave location.




















For more information about recovering drawing data refer to my new post "Recover drawing data when all seems lost".