Skip to content

Instantly share code, notes, and snippets.

View ssippe's full-sized avatar

Sam Sippe ssippe

  • Gold Coast, Australia
  • 18:52 (UTC +10:00)
View GitHub Profile
@ssippe
ssippe / Dumper.cs
Last active March 28, 2026 22:45
Revit BuiltInParameter Dumper
public static class Dumper
{
static IReadOnlyList<string> GetValues(BuiltInParameter builtInParameter, Document doc)
{
var values = new List<string>();
var i = 0;
var targetType = FamilyUtil2.GetElementsElementType<ElementType>(doc)
.FirstOrDefault(dt => dt.get_Parameter(builtInParameter)?.StorageType == StorageType.Integer);
if (targetType == null)