Sometimes I’ve found I’m working on a project using sections and find that the section I need hasn’t been created. I get confused because the drawing has the needed surface in it, but the section isn’t showing up in the list when I go to try to compute the materials. It usually happens when I deleted an old surface and then come want to use a new one. To sample the missing surface go into the Toolspace and right click on the Sample Line and choose the properties. Then go into the Sections Tab and press the Sample more sources… button. From the Selection Sources dialog box choose the available source and press the Add button. You can also remove all of the section from this dialog also.
A place to put reminders on how to do things or commands that I will use rarely, but are useful to know.
Ad
Wednesday, November 09, 2011
Tuesday, November 08, 2011
SAVE
Have you ever been working on a drawing and wanted to save it at the current point in time and still work in the current drawing? Well you can perform this task by copying the file using Windows Explorer, but it seems it would be a bit of work that isn’t needed if you knew about the SAVE command.
SAVE – Saves the current drawing in the same manner as Save As, but you are left in the original copy.
QSAVE – Quick save, saves the current drawing.
Now it seems a bit counterintuitive to use the SAVE command to create a copy of the current drawing, but that’s the way it works and I imagine it made sense at the time for the software developers. The QSAVE is the command used to simply save the current drawing.
Monday, November 07, 2011
Autodesk University 2011
After Thanksgiving I’m heading to Autodesk University. At the event I’ll be wearing a bunch of hats.
One of the ways I’ll be participating at Autodesk University (AU) will be as a speaker. I’ve got two sessions of Sanitary Musings, both on Wednesday. “In this unconference session, we will discuss sanitary sewer design using AutoCAD® Civil 3D®. We will evaluate the success of pipe rules; are they effective? We will talk about the best workflow for utility conflict resolution and share Label tips for communicating design intent. We will also talk about what to do when the proposed ends and the new begins. Finally, we will discuss how Boss StormNET® fits into the process.” There should be space available in one or both of the sessions. Now the session won’t be me presenting a lecture, but the audience members doing most of the talking with me facilitating the discussions. If you are planning on attending the session? Let me know I need some help from someone to take notes.
Another way I’ll be participating is as an Exhibitor. Come by and meet during nearly all of the exhibit hours (I’ll be missing an hour due to a conflict with my Unconference sessions). Learn about all of the great services I can provide.
During AU I’ll also be checking out the media events and I’m sure a few meeting with other exhibitors. Some of the meetings may even end up as blog posts.
If you are also heading to Autodesk University stop by and say hi.
Select All Blocks in a Drawing
Occasionally I might want to get all of the blocks in a drawing using .NET. The way I accomplished this was to use the Selection Set sample code provided by Autodesk and then use the Typed value of “INSERT”. The insert is the start portion of the DxfCode for blocks.
Private Sub GetBlockIdsBySelection()
'' Get the current document editor
Dim acDocEd As Editor = Application.DocumentManager.MdiActiveDocument.Editor
'' Create a TypedValue array to define the filter criteria
Dim acTypValAr(0) As TypedValue
acTypValAr.SetValue(New TypedValue(DxfCode.Start, "INSERT"), 0)
'' Assign the filter criteria to a SelectionFilter object
Dim acSelFtr As SelectionFilter = New SelectionFilter(acTypValAr)
'' Request for objects to be selected in the drawing area
Dim acSSPrompt As PromptSelectionResult
acSSPrompt = acDocEd.GetSelection(acSelFtr)
'' If the prompt status is OK, objects were selected
If acSSPrompt.Status = PromptStatus.OK Then
Dim acSSet As SelectionSet = acSSPrompt.Value
'Application.ShowAlertDialog("Number of objects selected: " & _
' acSSet.Count.ToString())
For Each objId As ObjectId In acSSet.GetObjectIds
m_BlockList.Add(objId)
Next
End If
End Sub
m_BlockList is a collection of ObjectId’s that I use elsewhere in the code. I use a list so I can remove items from the list or add to it later. There isn’t much flexibility adding or removing items from a SelectionSet.
Thursday, November 03, 2011
Sundt - Construction Technologies
Here’s a video that was sent to me for Sundt’s presentation at the AASHTO Subcommittee on Construction Conference. Eric goes through how Sundt is using the available technology to make models for construction projects through the whole process.
Are you a contractor looking to add this capability to your arsenal of tools? Then contact me to get information on how I can help you implement this work flow.