Get your technology fix here. Stay tuned for general tech trends, news, and articles. Work with Autodesk products? I do too! I like to write VBA, lisp and create a lot of custom tools for general consumption too. You'll find all that here and more!
Wednesday, January 23, 2008
Maintain FontMap - Multiple Revit Flavor Version
Hope you find that useful!
Saturday, January 19, 2008
Quick tip on "No content" build replacement for Revit
Make sure that you script the replacement or simply delete or rename the existing revit.ini to ensure that your new configuration gets installed correctly.
Note: If you choose "skip content creation" the product will automatically set the default paths to the location of the client install or default to program files....
Hint: You can edit the Revit.ini found under the admin image to fix the paths. If you rename the existing revit.ini found on the users harddrive, then your changes will get copied to the client folder install path.
Friday, January 18, 2008
Creating New Build Deployments - Tips
Here is a tip for you: You can predefine all the correct file locations by editing an ini file.
Navigate to your new deployment, find the "Revit Building" folder inside the "Revit Setup" folder within the "Admin Image" folder. There you will find a file named Revit.ini. This file gets copied to your hard drive's program folder when the deployment is run, so make your standard changes to this file prior to pushing your installs.
You can predefine the file locations by adding them to this ini file. Find the strings between [Directories] and [Design Pane] and edit them to point at your company standard folders.
Ex:
[Directories]
AccuRenderRoot=\\BIM\apps\Data\Office Library\RAC
2008\Content\Rendering\AccuRenderRedistDefaultTemplate=\\BIM\apps\Data\Office
Library\RAC 2008\Content\Imperial
Templates\default.rteFamilyTemplatePath=\\BIM\apps\Data\Office Library\RAC
2008\Content\Imperial TemplatesDataLibraryLocations=Imperial
Library=\\BIM\apps\Data\Office Library\RAC 2008\Content\Imperial Library, Metric
Library=\\BIM\apps\Data\Office Library\RAC 2008\Content\Metric Library, Imperial
Detail Library=\\Bim\apps\Data\Office Library\RAC 2008\Content\Imperial
Library\Detail Components, Metric Detail Library=\\BIM\apps\Data\Office
Library\RAC 2008\Content\Metric Library\Detail Components, Training
Files=\\Bim\apps\Data\Office Library\RAC 2008\Content\Training, Haskell
Standards=\\Bim\apps\Data\Office Library\Haskell
StandardsMaterialLibraryLocations=..\Data\MaterialsProjectPath=C:\Revit_LocalImportLineweightsNameDWG=\\BIM\apps\Data\Office
Library\Haskell
Standards\DataFiles\importlineweights-HASKELL.txtExternalParameters=\\BIM\apps\Data\Office
Library\Haskell Standards\Shared Parameters\Issue_Date.txt
[DesignPane]
This will keep all your users accessing a consistent set of standard files.
Note: The installer doesn't appear to overwrite an existing Revit.ini file in that same location, so be sure to uninstall the previous build or rename this file prior to running the new deployment.
Thursday, January 17, 2008
Maintain Revit Font Map Standards - VBScript Function
Note: it is critical for all your users on the same project to have the same font map or every save to central (STC) has the potential to remap fonts throught out your linked Acad files.
Here is a VBScript function that will solve the problem for you. Put it inside your "local copy" routine or call it from your startup icon to ensure that all your users always have the latest version of your company standard fontmap file.:
Make sure that you change the path to the local file if you installed into a different diretory or are running MEP or Structures. Also, change the path pointing to the master file to reflect the folder that your master copy is in.
‘‘‘ FILENAME:Update_FontMap.vbs
‘‘‘====================================================================
‘‘‘ AUTHOR: Richard Binning
‘‘‘ DATE: 01/16/2008
‘‘‘ DEVNOTE: Initial Build for 2008 products
‘‘‘
‘‘‘ DISCLAIMER:
‘‘‘ Permission to use, copy, modify, and distribute this software
‘‘‘ for any purpose and without fee is hereby granted, provided
‘‘‘ that the above copyright notice appears in all copies and that
‘‘‘ both that copyright notice and this permission notice appear in
‘‘‘ all supporting documentation.
‘‘‘
‘‘‘ THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED
‘‘‘ WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR
‘‘‘ PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
‘‘‘
‘‘‘====================================================================
‘‘‘ DESCRIPTION: Update_FontMap.vbs – Routine compares local fontmap with
‘‘‘ Office master fontmap file of same name
‘‘‘
‘‘‘ CALLED FROM:
‘‘‘ USAGE: 1.) Ensure Place this function in scripted startup routine.
‘‘‘ PREREQ: None.
‘‘‘ VERSION: This version hard coded for Revit Architecture, modify product
‘‘‘ for MEP or Structures See “strClientFontMap” variable
‘‘‘====================================================================
Sub Update_Fontmap()
Dim fs, objMasterFolder, objMasterFiles, objMasterFile
Dim strClientFontMap, objClientFile
Set fs = CreateObject("Scripting.FileSystemObject")
Set objMasterFolder = fs.GetFolder("x:\RevitStds")
Set colFiles = objMasterFolder.Files
For Each objMasterFile in colFiles
strClientFontMap = _
"C:\Program Files\Revit Architecture 2008\Data\shxfontmap.txt"
Set objClientFile = fs.GetFile(strClientFontMap)
If objMasterFile.Name = objClientFile.Name then
' Got Match
If objClientFile.DateLastModified<objMasterFile.DateLastModified Then
'copy standard fontmap to local client because Master File os newer
objMasterFile.Copy(strClientFontMap)
Else
' do nothing because Local File Newer
End If
End If
Set objClientFile = Nothing
Next
Set colFiles = Nothing
Set objMasterFolder = Nothing
Set fs = Nothing
end sub
Thursday, January 10, 2008
Under the Radar indeed...isn't this SP4?
Nevertheless, the "Failed to open document" error is no more with the latest release, so create your deployments and announce them to your users. Now get back to work!
Wednesday, January 09, 2008
The January Fix for REVIT Products is In...under the radar!
Looks like the fix for problems associated with the Jan 2008 bug are now available. Had problems recently opening older files? Trouble editing schedules or groups?...Install the latest build 20080101_2345 to fix these problems and more! It is definitely time to upgrade and install the latest Revit Builds! Learn about and download the latest builds using the links below.
Click on the Web Update Enhancement List links below to read about the changes and fixes provided in the latest builds.
- Download the Architecture Web Update Enhancement List.
- Download the Structure Web Update Enhancement List.
- Download the MEP Web Update Enhancement List.
Want to download the latest English builds directly? Get it/them at Autodesk by clicking on these links:
- Revit Architecture 2008 Build: 20080101_2345
- Revit Architecture 2008 for AutoCAD Suite Build: 20080101_2345
- Revit Structure 2008 Build: 20080101_2345
- Revit Structure 2008 for AutoCAD Suite Build: 20080101_2345
- Revit MEP 2008: 20080101_2345
Thank You Autodesk for understanding the need to release all the disciplines tools at the same time!...
Tuesday, January 08, 2008
Stagger your STCs, use High Speed LAN, Face Based Families and more

- High Speed LAN Required - 100mbs is just not enough...standardize on 1GB LAN...Anyone working with black fiber?
- Stagger STC for Teams - Ensure that Save to Centrals are done on set intervals at different times for each team member.
- Provide Dedicated Server for BIM/Revit Projects
- When using multiple disciplines in a single model, ensure that hosted families are used only where necessary...otherwise Face based is the choice du jour.
Monday, January 07, 2008
Layer Set by Pick Lisp
(defun c:ls ()
(while (not e) (setq e (entsel))) ;get layer of item picked
(setq lyr (cdr (assoc 8 (entget (car e)))))
(command "-LAYER" "set" lyr "") (setq e nil)
)
Friday, January 04, 2008
Revit and January aren't getting along - The Fix
You might run into problems editing groups and schedules from the project browser or opening old files. This occurs in Revit 2008, 9.1, Structures 4, etc. If you encounter a "failed to open" or "unspecified error encountered" message than set your pc clock to a month other than January and perform the same task.
Watch the following video or scroll down for the step by step how to:
- Double click on the system time shown in the system tray located at the lower right corner of your windows desktop.
- When the system date and Time Properties dialog box is displayed change the Month to anything other than January
- Click the Apply button then click "OK"
- Open your legacy file or perform your edit within Revit as necessary
- The system clock may set it self back automatically if you are controlled by group policy otherwise follow these steps in reverse to reset the date manually.


Revit and January aren't getting along
You may run into problems doing certain actions inside Revit during the month of January. You may be unable to open files saved from older releases. You may have trouble editing groups, schedules, interacting with the project browser....
Temporary Workaround: Set system time to any other month than January.
Permanent Workaround: Autodesk is working on it. I hope it gets completed prior to February when the need is moot.
Links:
Discussion at AUGI
Autodesk Support Services
Thursday, January 03, 2008
Use VBA to detach unloaded External References (XREFs)
Public Sub DetachUnloadedXrefs()
Dim o_Blk As AcadBlock
For Each o_Blk In ThisDrawing.Blocks
If o_Blk.IsXRef And o_Blk.Count = 0 Then
ThisDrawing.Utility.Prompt o_Blk.Name & _
" is an unloaded xref and has been detached." & vbCrLf
o_Blk.Detach
End If
Next
End Sub
Hope you find that useful.
Wednesday, January 02, 2008
Kudo's to Haskell Gingerbread House Team
In November, 2007 a group of Haskell employees created an entry for the charity fundraiser Rotary Gingerbread House Extravaganza 2007. It was decided to choose a popular children's book this year "Three Little Pigs." Our display consisted of gingerbread, marshmallows, M&M's, fruity pebbles, candy corns and pumpkins, sugar babies, chocolate cookie wafers, twislers, pretzels, coconut, shreaded wheat, big red gum, Hershey bars, (1) ice cream cone, graham crackers, Oreo cookies, necco wafers, lifesavers, fruit roll ups, dots, tree lollipops, marzapan, food coloring and long lasting icing to hold it all together like glue.
The Gingerbread House Extravaganza is a holiday tradition started in 2002 by the Rotary Club of South Jacksonville. Over the years more than $325,000 has been raised to assist charities such as the Ronald McDonald House of Jacksonville, HabiJax and the club's own charities. For more info see this article in the Times Union.
Tuesday, January 01, 2008
Open Explorer using current drawing as root.
(defun c:this () ;Open Explorer in Current folder (command "shell"
(strcat "explorer \"" (getvar "dwgprefix") "\"")
) (princ))
To use this, make sure that you have it loaded before you call it. Then at the command line you can simply type the word "this" to launch an explorer window. Hope you find it as useful as I have.
~Richard
Happy New Year - Blog back from blogspot
Problems have been resolved with posting to IPower based domain, so Beside the Cursor is back from blogspot. Those of you who didn't follow can resume reading here on Beside the Cursor, those of you who did follow, I thank you for your patience.
This year will find more posts and more goodies here on Beside the Cursor. Happy New Year to all!
