Skip to content

Instantly share code, notes, and snippets.

Don Rudder rudderdon

Block or report user

Report or block rudderdon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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 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 / 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>
You can’t perform that action at this time.