Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rudderdon's full-sized avatar

Don Rudder rudderdon

  • faciliDATA
  • Austin, Texas
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rudderdon on github.
  • I am rudderdon (https://keybase.io/rudderdon) on keybase.
  • I have a public key ASBgrBA4W4mbrVZe7OBrmErI9lBIDDLT2qnujWm3qCxW8wo

To claim this, I am signing this object:

@rudderdon
rudderdon / gist:d8880c26253634b1a2908c14726f3367
Created August 30, 2016 17:56
Autolisp to Update Titleblock Attributes
(defun c:magic ()
(setq osm (getvar "OSMODE"))
(setq attq (getvar "ATTREQ"))
(setvar "OSMODE" 0)
(setvar "ATTREQ" 0)
(command "-xref" "p" "TbInfo-CP51" "..\\..\\Blks\\TbInfo.dwg")
(doRevs)
(doSheet)
(command "-layer" "thaw" "*|E-REVS-SIGN-1" "on" "*|E-REVS-SIGN-1" "")
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Newtonsoft.Json;
namespace Stg.ModelMonitor.Entry
@rudderdon
rudderdon / Revit Remove Empty Elevation Marker Tags
Created April 27, 2016 15:32
Revit addin code to find and remove elevation marker tags that have no views associated to it
[Transaction(TransactionMode.Manual)]
public class CmdMain : IExternalCommand
{
/// <summary>
/// Command
/// </summary>
/// <param name="commandData"></param>
/// <param name="message"></param>