January 09, 2010

Unexpected Automatic Offsets?

If you have ever used the out-of-the-box Door or Window tools with the Offset/Center option current, and wondered why the offset amount always defaults to 6" (Imperial tools), read on. My office's standard offset for Doors is 6" and that is usually the default value for me, so I would not have noticed. But thanks to this post in the Autodesk AutoCAD® Architecture Discussion Group, I discovered that the Door and Window tools on the Imperial Doors and Windows palettes in the Design Tool Palette Group have a "hidden" offset setting of 6". So even if your default offset is set to something else, when using the tool the value will be set to 6".

At first glance, it does not appear that there is any such setting. As shown below, the properties of the Hinged - Single Door Tool do not appear to include a preset offset value.
The Position along wall property is set to "--", which means that the current default value for that property (check the Properties palette after executing the tool to see what that is) will be used. If it is Offset/Center, then the value of the Automatic offset property will control what the offset value will be. But that property does not show up unless Position along wall is set to Offset/Center, in either the Properties palette or the Tool properties. So set the Position along wall property to Offset/Center in the Tool's properties, and the "hidden" Automatic offset property value will appear.
If you do not want this set to 6", set it to a different value, or use the dropdown list to choose "--" to allow the current default value to be the initial value after executing the tool. If you do not want Offset/Center to be the initial value for Position along wall, then reset that to "--" and click OK.

You will need to do that for all of the tools on the Doors and Windows palettes, if you do not want to have the 6" Automatic offset value. The good news is that the tools in the Design Tool Catalog - Imperial do not appear to have a hidden preset value assigned to them. I checked all of the Door tools, and a few of the Window and Door/Window Assembly tools, and the Automatic offset property was set to "--" in each. The generic tools on the Design tab also do not have a preset value.

Users of the US Metric out-of-the-box profile should not feel left out; there is a 125 mm preset offset on the Window tools and all of the Door tools except for the Overhead Sectional tool. I spot checked a few of the Design Tool Catalog - Metric and all of those did not have a preset Automatic offset. I spot checked a few of the out-of-the-box Door tools for the AutoCAD Architecture (UK) profile and none of those had a preset value.

Labels: , , ,



December 29, 2009

Space Schedule with Header Rows, sorted by Level and Building/Wing

A request was posted to this thread in the Autodesk AutoCAD® Architecture Discussion Group, looking for a way to add three blank lines between different building wings in a Schedule Table. A sample image was attached to the post, showing a header label in the middle line.
I suggested that it would be possible to get close to what was shown, by adding some hidden columns to control the sorting and some "non-real" Spaces for the blank rows, similar to the techniques used in two previous posts from some time back (Clustering Spaces Within A Unit in a Space Schedule and Electrical Device Schedule Using Clustering). I noted that it would not be possible to have the vertical lines between columns stop at the row with the header text, and that the header text would not be able to be in a larger font or be able to extend across multiple columns. I was able to use the 2009 release to put together a sample file, posted in a reply in the Discussion Group thread, that demonstrates the required techniques to achieve the desired results. I did choose to omit the remarks column and also chose to make the ceiling height column a separate column, to avoid the need to build an Imperial feet-and-inches formatted string at the end of the ceiling finish.
To achieve the results shown, I took advantage of a feature not available in the 2005 release in which the earlier examples were done – Classification Definitions. I set up a Classification Definition called SpaceHeader that has two classifications: "Header", used to designate the Space Style used for the header rows, which are not "real" Spaces in the project, and "Space", used to designate Space Styles used for actual Spaces in the project. Using a Classification Definition offers two advantages: it allows identifying the header Spaces at the style-level and would make it easy to exclude these "non-real" Spaces from other Space-related Schedule Tables, such as one listing and totaling areas.

A custom Space Style, called Header, has display overrides to place all components on a non-plotting layer, a default size of 1" x 1" x 1" and is classified as "Header". The other Space Styles used in the sample files are out-of-the-box styles, set to the "Space" classification. The sample files include three "construct" files, representing the first, second and third floors, with sample spaces in two wings/buildings in each file, including three Header Spaces for each wing. There is also a "view" file into which the three construct files are externally referenced, with the Schedule Table. While the files are not part of an AutoCAD Architecture "project," the same techniques could be used when using Project Navigator.

The SpaceObjects2 Property Set Definition was created from scratch, to avoid any confusion that might arise from having "extra" properties from the out-of-the-box property sets. Once you understand how the properties in the sample file work, you will most likely want to incorporate the techniques into the object-based property set you are currently using for Spaces, to avoid having to recreate Schedule Tags and other Space-related Schedule Tables.The SpaceObjects 2 Property Set Definition includes manual properties for Sector, Level, Number and Number Suffix, which are combined in the RoomNumber-Composite formula property to create the room number for each real Space. If you are using Project Navigator, you can substitute a project property for the Level property, and, if you are using Divisions for your wings or separate buildings, you can also use a project property for the Sector property. I made the Number property an Integer-type manual property; if you prefer, this could be an Auto Increment – Integer type. The RoomName property is an automatic property, using the Room Name property of the Space. Substitute your firm’s standard way of doing room names if it differs.

Text-type manual properties to hold the floor, wall base, wall and ceiling finishes for each real Space are also included in the SpaceObjects2 Property Set Definition. An Integer-type manual property called SortOrder1, with a default value of 10, is used to control the sorting of the Header Spaces. Real Spaces all keep the default value (no editing required), assuring that they will be sorted after the Header Spaces for each respective floor/wing. One Header Space for each wing of each floor has SortOrder1 set to 1, another (the one with the header text in the room number column) is set to 2 and the third is set to 3. A Text-type manual property called HeaderText, with a default value of an empty string, is provided to allow entry of the header text. Only the Header Space that is assigned the SortOrder1 value of 2 has the default value for the HeaderText property edited.

An automatic property called Height, referencing the Height automatic property source for Spaces, is used to obtain the ceiling height automatically. A classification property called SpaceType is used to determine what SpaceHeader classification has been assigned to each Space.

The header rows are blank (or nearly blank) because the Schedule Table does not display any of the above noted properties directly. Instead, each visible column in the Schedule Table references a formula property, each of which is structured something like the one for RoomNumber-Schedule shown in the image below.In each formula, the value of the SpaceType property is checked to determine if the Space is a "Header" Space. If so, the RoomNumber-Schedule property returns the value of the HeaderText property (blank for header rows 1 and 3; the header text for header row 2). All of the other formulas return an empty string for Header Spaces. If the Space is a "real" Space, then the value of the corresponding property is passed through (RoomNumber-Composite for the RoomNumber-Schedule property).

Sorting is accomplished by including three hidden columns in the Schedule Table, for the Level, Sector and SortOrder1 properties.These three columns, along with the RoomNumber-Schedule column, are used to achieve the desired sorting.All of the Spaces are initially sorted by Level. Within each Level, the Spaces are sorted by Sector, then the SortOrder1 value is used to get the Header Spaces, in order, at the top of each Floor/Sector group. Finally, the RoomNumber-Schedule column is used to sort the real Spaces by room number.

While the final Schedule Table does not match the sample 100%, it is pretty close, and given that all of the graphics are part of the Schedule Table, and not additional, manually placed items that would have to be checked and updated every time the Schedule Table was updated, I think this is a very workable solution. One final note: this technique will not work for Schedule Tables that include a "total" for any column in the Schedule Table, since the blank rows will have a non-numeric empty string value.

Labels: ,



December 18, 2009

AEC Content on the Ribbon - AU Tech Talk

The December 2009 Edition of the AU Quarterly Newsletter is out. If you do not already receive the newsletter, you can do so by becoming a member of the AU Online site and requesting the newsletter in your profile, under the Preferences category. This edition includes a link to an AU Tech Talk article I wrote about accessing AEC Content from the ribbon. I had a chance to look into this topic more deeply since I last blogged about this topic.

The article is a fairly detailed tutorial (with pictures!) on how to customize a CUIX file to add a ribbon tool that "runs" a tool palette tool, enabling you to add your own custom AEC Content to a ribbon tab. You can access the AU Tech Talk page and look for my smiling face,or go right to the article (sorry, there is a picture of me there, too).

Labels: , , , ,



December 04, 2009

Revit Key Plans

Thanks to a little help from the AUGI Revit® Architecture Forum, I was able to add a key plan to the title block family in my current Revit project and, with the setting of one instance-based parameter for the title block on each sheet, display the appropriate key plan, or none at all. There are a number of suggestions and examples in that thread; here is what I did today.

I happened to have an AutoCAD® file that had the structural grid accurately drawn, so I made use of a copy of that, in AutoCAD® Architecture, to quickly draw the building outline and the match lines, determine the amount I needed to scale the outline down to fit in my key plan area and finally paste the scaled-down graphics into a new file created from scratch.

I started a new Generic Annotation family in Revit Architecture 2010, and imported my scaled-down drawing file, matching origin to origin. I traced over the graphics with Revit linework, added text and filled regions for each of the three sectors into which the plans are broken and popped in a north arrow. I then deleted the imported AutoCAD file from the family.

To be able to control the visibility of the graphics, I created four Yes/No parameters in the Family Types dialog: Outline, SectorA, SectorB and SectorC.I then created five family types: No Key Plan (all parameters unchecked), Outline Only (Outline parameter checked, others unchecked), Sector A (only Outline and SectorA checked), Sector B (only Outline and SectorB checked), Sector C (only Outline and SectorC checked) and Sectors A-B-C (all parameters checked).In the Instance Properties dialog for all of the graphics in the family, I set the Visible parameter to be equal to one of the Yes/No parameters. All of the graphics except for the filled regions were set to the Outline parameter and the filled regions were set to the appropriate "Sector" parameter.

After saving the family file, I loaded it into my title block family and placed an instance in the Key Plan area. I gave that instance a Label tied to an instance-based parameter called Key Plan that I placed under the Graphics category. I set the default value to No Key Plan, saved the title block family and reloaded it into my project.

Now, by simply setting the Key Plan parameter in the Instance Properties of each sheet's title block file, I can make the appropriate key plan display, and that key plan will be in the same location on each sheet.The Sector A key plan is shown above; the other options (other than No Key Plan, which is blank) are shown below and are a parameter setting away.Pretty slick, if I do say so myself. ;-) [As always, reduced images can be viewed full-size by clicking on them; use the Back button on your Browser to return to the article.]

Labels: , ,



December 03, 2009

Writing on the Wall?

I can not say I looked very closely at the class offerings for AU 2008, but my recollection from AU 2007 and earlier was that there was a relative parity in the offerings for AutoCAD® Architecture and Revit® Architecture (even if Revit had a "Power Track" and ACA did not).

For AU 2009, if you use the search feature on the class catalog and specify AutoCAD Architecture as the "software", there are all of thirteen AutoCAD Architecture classes (one lab) and one unconference session listed, if you count Matt Dillon's "two-part" class on scheduling as one class and eliminate the "Digital Tools" unconference and Revit Visualization class that are clearly mis-associated with AutoCAD Architecture. There are no AU Virtual classes on AutoCAD Architecture. Thanks to double-booking in some time slots, you could not schedule an entire slate of ACA classes this year, as there are time slots that do not have an ACA class offered.

Searching on Revit Architecture, on the other hand, yields a bumper crop of seventy-six classes (including four labs) and eight unconference sessions. I did not check through all of those classes to see if any were miscategorized or to check for repeat offerings. There was at least one class in each time slot and many slots with multiple choices. There are also nine AU Virtual sessions covering one or more versions of Revit, including one specifically covering Revit architecture. So if you were wondering which program Autodesk wants you to learn, wonder no more.

Make of the above observations what you will. I did not have the pleasure of attending AU in 2008 or 2009. Perhaps the ACA classes offered in 2008 were sparsely attended, and the drop in the number of classes offered simply reflects market demand. Or perhaps it is simply an extension of the marketing push to Revit. Given how much I still have to learn about Revit, I suppose I should be glad there will be a lot of learning opportunities once the recorded sessions are posted to AU Online.

Labels: , ,



November 25, 2009

ACA Scheduling by "Mark"

The out-of-the-box Door and Window Schedules and Schedule Tags are set up to identify each Door or Window with a unique identifier and list each one in the Schedule Table. While that suits many practices (including mine, for Doors), there are many who prefer to assign a "mark" to a particular Door or Window configuration and use that mark on all instances of that configuration. The Schedule Table would then list each mark only once. This is easily done in Autodesk AutoCAD® Archtecture, with the addition of a few properties and some tweaks to the Schedule Table and Schedule Tag you are using.

You can find a sample file done in the 2010 release (and, therefore, in the 2010 drawing format) posted in a reply in this thread in the Autodesk AutoCAD Architecture Discussion Group. The purpose of the sample file is to demonstrate a way of scheduling Doors by Mark, and the Property Sets, Schedule Table Style and sample data focus on that, and are not meant to represent a finished system, ready for use (or a compelling architectural design). Several other properties are included in the Property Sets and Schedule Table, to give a sense of context, but do not show all of the information you would want in a Door Schedule.

I made the following assumptions:
  • There would be a unique mark for each combination of Door parameters, including size.
  • Most Doors would be a "standard size" and that the mark for those Doors would be entered in the standard size description.
  • The system had to allow for an occasional, non-standard-size Door, without requiring that the Door Style of that Door be edited to have the non-standard size added.
  • An office-wide set of standard mark designations can be established and built into the office-standard Doors Styles, so that the standard sizes and associated marks do not have to be added to the Door Styles for each project.
If you have a unique Door Style for each mark you require, then a simple manual property in a style-based Property Set can be used to hold the mark value, add that to your tag and schedule and you would be done. If you can not establish office standards that will cover a large majority of the Doors on your projects, you may be better served with a manual property in an object-based Property Set and entering the value for each Door.

In the sample file, there are four Door Styles in which standard sizes have been entered and the desired mark has been assigned as the Description. The image below shows the Standard Sizes tab for the Single - Wood Full Flush - No Light Door Style.
There is an automatic property source for Doors, Standard Size Description, that will make the Description entered in for a Standard Size available in a Property Set. The DoorObjects2 Property Set in the sample file makes use of this for the MarkFromStdSize property. If you only use Standard Sizes, you can use this property directly in your Schedule Tag and Table. This property will display the value of the Not Applicable property of the assigned Property Data Format (NA for the out-of-the-box Case - Upper Property Data Format used in the sample file) if a non-standard size is used for a Door, so I included two additional properties: a text-type manual property (MarkOverride) to hold the value of the mark for non-standard-sized Doors and a formula property (Mark) to pass through the appropriate value for each Door.The Mark property is the one that appears in the tag and schedule. The MarkOverride property has a default value of EDITME, so that if a non-standard size is used and a MarkOverride value is not entered, it will be obvious in the tag or schedule.

The formula property checks the value of the MarkFromStdSize property. If it is "NA", then the value of the MarkOverride property is passed through; otherwise, the value of the MarkFromStdSize property is passed through. Note that in this example, changing the value of the override property is not the trigger for the formula property - the override value is only passed through when a non-standard Door size is used.
Add the Mark property to your Door Schedule Table Style, and delete any other "Mark" or "Door Number" column. To get all of the Doors with the same Mark to collapse into one row, add a quantity column to your Schedule Table Style. Hide this column if you do not want it to show in the final Schedule Table, as I did in the sample file.Keep in mind that for rows to collapse, all of the columns must show identical information. If you have an object-based Remarks column, such as the sample file has, you would need to add the exact same text the to Remarks property for each Door of a given mark for the rows to collapse. The same will hold true of any other columns in your Schedule Table.

The Door Tag in the sample file is simply a copy of the out-of-the-box Aec6_Door_Tag that has had the Multi-View Block and the assigned AutoCAD block renamed. The Attribute Tag of the assigned AutoCAD block was edited to reference/display the DoorObjects2:Mark property.

All of the Doors in the sample file are a standard size of their Door Style, except for the A4 Door, which is not and derives the "A4" mark from the MarkOverride property.

Labels: , ,



course|notes

course|notes are six-page reference cards that provide quick access to the basics of a particular program. Paul Aubin now has three titles available for the 2010 releases of AutoCAD Architecture, AutoCAD MEP and Revit Architecture. If you are interested, you can find out more in this article in his blog.

Full Disclosure: I helped Paul with the AutoCAD Architecture 2010 course|notes and was compensated for my efforts.

Labels: , ,



November 18, 2009

Mastering AutoCAD Architecture 2010 Available

As reported in his blog, Paul Aubin's Mastering AutoCAD Architecture 2010 is now available. Read more about it in his blog article or at his website, from which you can also link to amazon.com to order the book if you are so inclined.

Labels: ,



November 13, 2009

Best Error Dialogs Ever!

We migrated our project to Revit Architecture 2010 this week, for reasons too boring to relate here. Our computers, however, remain the same, and what in 2009 was a relatively infrequent out-of-memory error situation has become a multiple-times-a-day nightmare. Add that to the even more frequent loss of the floating network license and this week has been a real treat. (Thankfully, the transit strike was settled early Monday morning, so I have not been walking six miles each way this week.)

Even under the stress of trying to get a progress printing done today, I could not help but laugh at this incredibly helpful error dialog that appeared on my computer today.
I thought I had seen it all until this beauty came up.
You really have to admire the efficiency with which it fails to communicate what the problem is. At least there was no question as to the action to take, since "OK" was the only choice. Sadly, after clicking on the OK button ten or so times, Revit crashed and burned.

Labels: ,



November 04, 2009

Off Topic: Transit Strike

The oh-so-considerate union leadership called a strike at 3 am on Election Day (yesterday, November 3), giving commuters (including me) no opportunity to make alternate arrangements and squandering any sympathy those same commuters might have had for the strikers. Thanks to the intervention of the governor and the mayor, the strike was postponed until after those rich enough to afford World Series tickets but too cheap to pay for parking at the stadium were able to get home from Game 5 in Philadelphia. So those who only ride public transit when the Phillies make it to the World Series were accommodated; those who ride every day were [insert expletive of your choice here].

I now find myself with a 6-mile walk each way, in and out of work. The good news is I have been able to do it in 90 minutes (average rate of 4 mph!), which is much faster than I would have estimated. The bad news is my commuting time is now about two hours longer than it was, and my schedule needs to adjust accordingly. As such, it is unlikely I will have time to post much to this blog until such time as the transit strike is resolved. As of Day 2, no additional talks have taken place (or even been scheduled).