Skip to content

Instantly share code, notes, and snippets.

Avatar

Don Rudder rudderdon

  • faciliDATA
  • Austin, Texas
View GitHub Profile
@rudderdon
rudderdon / Revit Remove Empty Elevation Marker Tags
Created Apr 27, 2016
Revit addin code to find and remove elevation marker tags that have no views associated to it
View Revit Remove Empty Elevation Marker Tags
[Transaction(TransactionMode.Manual)]
public class CmdMain : IExternalCommand
{
/// <summary>
/// Command
/// </summary>
/// <param name="commandData"></param>
/// <param name="message"></param>
View Export Revit Key Schedule Data to Json
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 / gist:d8880c26253634b1a2908c14726f3367
Created Aug 30, 2016
Autolisp to Update Titleblock Attributes
View gist:d8880c26253634b1a2908c14726f3367
(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" "")
View keybase.md

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: