Showing posts with label 2009. Show all posts
Showing posts with label 2009. Show all posts

Tuesday, August 3, 2010

Trim and Extend. Can’t we do both?

Surely this has happened to you at least once or twice. You run the extend command, but there’s at least one object that needs to be trimmed, not extended. Maybe you ran the trim command and needed to extend a line instead. Never fear because the Autodesk programmers have designed AutoCAD to be multi-talented (thanks guys and gals at Autodesk).

What’s the secret? You can hold the shift key while selecting an object and AutoCAD will run the other command on the selected object.

Here’s an example:
In this image, the red line will be the “cutting edge”. I will trim the green lines and extend the blue line.

At the command prompt, type trim and press enter (or use the trim command found on the Modify ribbon tab in the Modify panel).

When asked to select the cutting edges, left click on the appropriate object(s) or just press enter to select all objects. In our example we’ll select the red line as the cutting edge.

When you are done selecting cutting edges, press enter to continue the command.

At this point, the command line prompts you to “Select object to trim or shift-select to extend…” so we’ll left click on the three green lines to trim them. Now the drawing looks something like this:

To execute the trim command, just hold the shift key while you select the object(s) to be extended. In our example we’ll select the blue line.

One more enter to end the command and the process is complete, using only one command to do two different tasks.

Here’s the final product:

In case you're wondering, this method has been available for several versions of AutoCAD. I guess it pays to read the command line once in a while, even if it is a command that you run all the time.

Thursday, January 15, 2009

Civil 3D 2009 Update 2 Has Arrived

Just a quick post to let everyone know that the Civil 3D 2009 Update 2 has been posted. You can download this update from the Autodesk website here.

Thanks to Lisa P. for the email notification. I was also notified from Autodesk about the patch after submitting a CER that included my email address.

Another quick reminder to send in your CER's when you crash. It's important for Autodesk to see how often an error occurs and how many folks it affects. This ensures that the problem is given a higher priority level and the chances of it being fixed in the next product update are much greater.

Tuesday, December 30, 2008

Removing A Civil 3D Object Without Using the AutoCAD Erase Command

Sometimes using AutoCAD commands on Civil 3D objects is okay and sometimes it causes problems. For example: deleting parcel segments or pipe network objects. According to Autodesk, deleting a pipe using the AutoCAD erase command has been corrected in Civil 3D 2009, but since I know some of you may still be using Civil 3D 2008 or earlier, I'm going to show you the proper way to delete an object in Civil 3D.

Here I have two pipe networks Water (blue) and Wastewater (green). After a round of revisions, the pipe and one of the structures in the red rectangle needs to be removed.

I know it's very tempting to just run the erase command and select the structure and pipe to be deleted, but that's what causes the issue. Here's the proper way to delete the structure and pipe.

From the Pipes menu list, select "Edit Pipe Network...".

The command line prompts you to "Select part from pipe network:". After you select the pipe or structure you are deleting, the Network Layout Tools toolbar will appear. The tool you want is the "Delete Pipe Network Object".

After selecting the "Delete Pipe Network Object" tool, you are prompted to "Select Structure or Pipe". Left click on any structures or pipes that you want deleted from the network.

The reason you should always delete pipe network objects using this tool is because the pipe network part must be disconnected from other parts in the network before they are removed from the drawing.

Something similar happens with parcels so be sure to delete parcel segments using the appropriate tool as well.

[Parcels - Edit Parcel - Edit Parcel Segments]
The tool is labeled "Delete Sub-entity".

Thursday, December 11, 2008

To Link or Not to Link

If you've ever worked with assemblies, you've probably experienced a subassembly not looking the way you initially created it. Now, I don't know what causes it, but I did learn a very simple way to fix it this year at Autodesk University.

Here's the original assembly:
Here's the assembly after a few of the subassemblies took on a mind of their own:
Even though the assembly will work as expected, it still bothers me that it doesn't visually look correct. Here's how to fix the visual misrepresentation that you're seeing:
  1. Select the assembly. The assembly is represented by the green line with a blue circle at it's midpoint in the images shown.
  2. Right click and select Assembly Properties... from the list.
  3. In the Assembly Properties, left click on the Construction tab. You must select this tab or the fix won't work.
  4. Now left click on the OK command button.
There you go, all the subassemblies should now be drawn correctly.

Tuesday, December 2, 2008

AU 2008: Day 1

So it's Monday, December 2nd (Day One), at Autodesk University 2008. I arrived at the Venetian (the host hotel) around noon. I could immediately tell that many AUers had already arrived (evidenced by the numerous AU badges that could be seen hanging by a string around the neck).

As I continued my way toward the casino area, I recognized a familiar face. It was Scott McEachron. He gave me a hug and we chatted for a bit. Then I headed down the hall to look for AU registration area.

On the way to the registration area, there were several ladies with AU signs. They were very nice and helped point me in the right direction (since registration was not in the same location as last year).

As I was nearing the entrance to the registration area, I passed by Shaan Hurley. He was in an animated conversation with several other people. I wanted to say hello, but it didn't seem like a good time so hopefully I get another chance to speak with him while I'm here at AU.

I continued to registration and that went very smoothly. There was no line at all to access the registration computers, but if you looked closely, you would notice that there was a line for folks that had used the registration computers and were waiting to pick up their packets. I chose a row that only had one person in the packet pickup line and selected a computer to use.

The gentleman in my line was taking FOREVER asking questions after getting his packet. Finally another lady brought my packet to his left so that I didn't have to continue waiting. Everything I needed was in the packet including my badge, ribbons, and subscription t-shirt and information (though I won't be able to wear the t-shirt in public because it's an XL and I wear a Medium).

Autodesk seems to have really taken this recycle thing to heart because the bag to hold my stuff and the spiral notebook were made from recycled materials. Part of the bag is a different color or colors.

At this point, I took a quick peak at the contents of my packet. I was concerned that I did not receive tickets for subscription meals, so I went to visit with the Subscription Center FAQ folks. They politely explained that all I needed was my badge. COOL.

Next I went straight to the Marin mountain bike that was in the room (since I'm a mountain biker myself). It was at a sustainable design exhibit in the registration area. I completed the survey about sustainable design and gave them my contact info in case I win the bike (crossing fingers). Then I reviewed the sustainable design board and added my own idea for how to help improve sustainable design for the future. For this idea, I received my choice of metallic water bottles. COOL.

Then I made the trek through the buttons. I grabbed any that I thought applied or were funny including "Drafty" and "Got Work". There were so many from which to choose. Then I debated about printing my schedule, but I kept reminding myself that I already had a printout in my suitcase.

As I was about to leave the registration area, I noticed another familiar face. It was Lynn Allen. She was interviewing an AU attendee about his experience at AU so far. Though there was already a crowd gathering around her, and since I'm not real fond of cameras in the first place, I headed in the opposite direction.

Next I went to register at the Venetian. In case you've never been to Las Vegas or AU, there is a TON of walking. I made the trek to the hotel lobby and got in line, only to be sent around the corner and upstairs to a different registration area. I was told that many of the AU rooms had already been assigned and that not many others were ready for occupancy. I was given the choice of a handicap accessible room or a room with a "great view of the strip". The caveat was that the "room with a view" was an extra $25/day. No way, Jose. I declined the "room with the view" and went for the handicap accessible room. Though I would prefer the room be saved for those that need it, the accessible room was a great choice for me. In the elevator on the way up to the room, something occurred to me that proved correct. The accessible room was very close to the elevator. YEAH!

I dropped off my AU stuff then went for a walk down the strip looking for a place to eat. I settled on Outback Steakhouse (at the Coca Cola and M&M store, then I returned several hours later to get ready for the AEC BIM Mixer.

I had already spoken with Lisa Pohlmeyer and she was with some of the current and previous DC CADD employees. They were heading to the Mixer within the hour (though I thought that was a bit early).

I brought my stuff from the car to the room, took a shower, and got ready for the Mixer. I headed directly to the Sands Expo area and found the first AU information lady. She directed me to the fifth floor and up the escalators I headed. As I got off the escaltor, I noticed that a line was already forming. I thought that I had arrived too late and would have to wait for someone to leave before I could enter the room. Actually, I was just too early and ended up being near the front of the line when the room finally opened.

During my wait, I visited with several AU attendees that were near me in line. We even ended up at the same table after getting our meal and drinks. One gentleman was a Department of Defense employee and the other worked in the structural industry. We had a nice visit about our experiences with Autodesk products.

Later during the Mixer, I found Lisa P. and the DC CADD (now and then) crew. I visited with Lisa, Gabe, Mark Martinez, Scott Durham, and Matt Castelli. Before she left the mixer, Lisa introduced me to Angel Espinoza. I was thrilled to meet him and we spoke about what portions of Civil 3D 2009 were giving me the most issues (my response was pipes and feature lines for grading = crash, for ease of use the problem area = pipe labels).

I then left with Lisa, Scott, and Matt to go to the Venetian Food Court. T. J. joined us later from the MGM Grand. We all had quite a discussion on the economy, stocks, and iPhones before retiring to our rooms.

Well, that was Day One. I hope the classes I chose are great ones.

Monday, October 6, 2008

Viewport Change Scale Lockup

Here's a quick workaround for an issue that has occured in a couple of Civil 3D 2008 drawings. The workaround was found by Matt Castelli of DC|CADD. Here's the deal:

We have a 2008 drawing that contains 8 or so xref overlays. Some of these xrefs have attached xrefs and most have at least one xref overlay. After creating a viewport in paperspace, the viewport scale was changed to 1" = 10'. It worked fine. Then the annotation scale dropdown was selected so that it could also be changed to 1" = 10'. That's when Civil 3D 2008 froze. The only solution was to kill the AutoCAD process tree.

The workaround is:
  1. Unload all xrefs.
  2. Change the annotation scale.
  3. Reload all required xrefs.

The long-term solution is to open all xref drawings and audit, purge reg apps, reset scale list, and detach missing xrefs. Most of this process can be achieved relatively quickly through two utilities released by Autodesk this year.
  1. Scale List Cleanup Utility
  2. Regapp ID Cleanup Utility
NOTE ADDED 10/06/2008: This drawing freezes in 2009 also

Wednesday, October 1, 2008

Walk This Way, Talk This Way

I know, I know. I haven't posted in a while, but this particular subject is well overdue.

I'm sure you all know what it's like to get drawings that have objects in the wrong layer. So today I wanted to share with you an AutoCAD tool that might help you identify layering issues before you ever send the drawing to the client or start working with the drawing in your project.

The tool is called LayerWalk. The tool can be found in the AutoCAD LayersII toolbar. Or it can be accessed from the command line by typing laywalk and pressing enter.


After executing the command, a dialog box will appear that shows all the layers in the current drawing including xref layers.



By left clicking on any layer in the list, you can see what objects are on that layer. For us civil folks, it works great for checking the layers in a survey drawing before you start working with the file.




Unfortunately, it can work with Civil 3D objects if you set up your styles correctly. For example,create an alignment style with the alignment lines, arcs, and spirals on layer ALIGN. Now create an alignment object on layer WW-A-ALIGN. During execution of the layerwalk command, select only layer ALIGN, and you will see all the alignment linework in the drawing. If you select only layer WW-A-ALIGN, you don't see any alignment linework in the drawing.

On the other hand, create your alignment style with the alignment lines, arcs and spirals on layer 0. Now create an alignment object on layer WW-A-Align. During execution of the layerwalk command, select only layer ALIGN, then you don't see any linework. If you select only layer WW-A-ALIGN, then you see only the WW-A alignment linework.

Now don't forget to audit then purge your drawings (including regapps) and it just might brighten someone's day.

Sunday, April 27, 2008

How Many Inches in a Meter?

I know that the easiest way to convert your existing template to a new version of Civil 3D is to just open and save the template. However, you will be missing some of the new settings that just got implemented into the new version of the software.

One of these new settings can be found in the Drawing Settings dialog box, Units and Zone tab. There is a new "Imperial to Metric conversion" setting there. It defaults to "International Foot(1 Foot = 0.3048 Meters)" for the OOTB templates. This means that when you open and save your existing template, it will also be set to "International Foot".

So depending on your location and project, you might need to change this setting to "US Survey Foot(39.37 Inches per Meter)".


Although it could be found in previous versions, you may not know that there is a similar setting in the Land XML export settings under the Data Settings properties.

Friday, April 25, 2008

*Warning* Multiply owned object

Since I'm already having to use this in Civil 3D 2009, I'm going to post it here so it's easier for me and others to find in the future.

Isn't it frustrating when you get this type of warning message?


Great. Now what do I do? Is the drawing corrupt? Do I have to start from scratch?

Some discussion forum posts suggest that wblocking the drawing can help. Yes, it does get rid of the warning messages, but you could lose all your styles, object layer settings, defaults, etc. That's not acceptable.

Well, according to Scott's Superman post, there is a command you can type to get rid of the problem object (Replace C5C with the handle shown in your command line):

(entdel (handent "C5C"))

Since it is possible to lose a style or two by running this command, I'd like to know what I'm deleting. So after a bit more research, I found a link to Shaan Hurley's post about DbView for AutoCAD 2007. I followed the instructions and ran the program. It works with Civil 3D 2009. I only wish someone could a "delete" command button for the selected object.

Here's a few screen captures of the DbView program in action:




At this point, I would love to give you some great and wonderful insight as to what you're seeing in that last image. Unfortunately, for now all I can do is look at it and see what type of object will be deleted.

As far as deleting the object goes there are several options for running the command from Scott's post.

  1. You could edit the handle number in a text document, then paste it into the command line.
  2. You could also create a script file on your desktop. Then you would just edit the handle in the script file, save and close, then drag and drop the script file into AutoCAD. You'll need to either put a space after the final )) or make sure and add a return after the final )) in the script file or you'll have to hit enter after running the script file.
  3. Running this command through a lisp routine is another option.
It seems to me that every time I've seen this warning message, it's always been when I have been dragging styles between drawings. In Civil 3D, it definitely happens when you drag child styles into a drawing that already contains the parent style. This happens even if the parent styles were just created by dragging them from the same drawing. Hopefully it can be fixed with C3D 2009 SP1.

Saturday, March 22, 2008

AutoCAD 2009 Properties Improvement

We've all gotten used to the fact that if you select multiple objects, then view the listing in the properties box, you'll see "All (#)" in the listing. This is also the case for viewports made from an object. If you select the viewport, you'll get "All (2)" in the properties drop down list. You have to select viewport from the drop down list to access only the viewport properties.

Well in AutoCAD 2009, in addition to all the other improvements, there's one little jewel that you may not notice immediately. If you select a viewport created from an object, you will still be selecting two items (one viewport and one polyline), but the default view in the properties box will be "viewport (1)". If you select the drop down list, you can still access the polyline properties for the viewport.

Way to go Autodesk!

Technorati Tags:

Wednesday, March 12, 2008

Don't Plot Those Image Frames Ever Again

Have you ever sent your plot to the plotter only to notice that the frames are visible around the images?

The problem is that if you set the frame visibility off (imageframe=0), then you can't select the image and execute commands on it such as draworder.

So you can spend your time changing the visibility of the image frame on then off, or you can take the advice of Lynn Allen and set the imageframe variable to 2. This will allow the frame to be visible, but it won't plot. This funcationality has even been added to AutoCAD LT 2009.

One more thing before I go. This variable is drawing specific, so you can set it in your template and never have to worry about it again for new drawings created from the template.

Technorati Tags: