Stats

12.12.13

Sidewalk with Subbase and Optional Subbase Extension


After three years of the thing being available, I've finally gotten around to digging into subassembly composer (or SAC as the kids call it).

The following zip contains a sidewalk subassembly that many consultants back in Wisconsin asked for. Previously, we used generic links and generic pavement structures to do the same thing. Here is an all-in-one, P.I.A.-free subassembly.

https://autodesk.box.com/s/5cvzhp2kscj10af8or6b

The zip contains:

  • SidewalkwSubbase.pkt file
  • SWwSB.png for the tool palette thumbnail
  • SidewalkwSubbase.htm the main help file
  • SidewalkwSubbase_files folder for supporting the help file
When creating a surface model from Datum links, it is important to use the "Bottom Links" option in the corridor properties. This is true for many subbassemblies - but especially where there are deliberate extensions.

If you find any issues with it let me know - but don't be whiny about it. I'm providing this out of the goodness of my heart, so be kind.

Enjoy.

3.12.13

Force OSNAPZ to 1

True story: When I bought my last car, I wanted vanity license plates that read "OSNAPZ". When the dealer looked in the system to see if it was available, it was already taken! I was bummed, but ended up with plan B; plates that said "C3D Girl".

OSNAPZ is a system variable that determines whether or not elevation is taken into account when using object snaps.  When the setting is 0 (the default), Autocad will use the elevation of an object.  When the setting is 1, elevation is ignored on most objects.

Whether or not elevation is taken into account is a huge deal when working in a Civil 3D drawing. This setting affects the distance inquiry commands.

Most other variables are stored in the registry or the drawing – but OSNAPZ is an exception.

To get OSNAPZ to set to 1 every time a drawing is open, see if you already have a file in C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\Support\ called acaddoc.lsp. You may want to check the C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\Support\en-us\ folder too. If you do find this file open it up in notepad and add the following to its own line:

(setvar "osnapz" 1)

Save and close the file and you should be good to go.

If you don’t already have a file called acaddoc.lsp, just make a new text file in one of the paths I mentioned above and rename it (make sure it ends with .lsp rather than .txt). Throw the line in there and save and close the file.



The reason you want to make sure there is only one file called acaddoc.lsp is because Autocad will only read the first one it finds in the support file search paths (pictured right) – so if you put it in a second one your trick will get ignored. 

Have a Happy Snappy Day!