Skip to content
Jan Christel edited this page Nov 3, 2024 · 28 revisions

Welcome to the SampleCodeRevitBatchProcessor wiki!

This repository is contains 2 main sections

  • pypi package of duHast
  • A /Samples folder using duHast in the context of Revit Batch Processor

duHast

DuHast is setup in 45 name spaces:

  • Revit: which contains Revit API samples and is broken up by Revit categories
  • Data: attempts to export Revit elements to analyse them
    • Rooms vs ceilings: using shapely package to find which ceilings are modelled in a room
  • Geometry: some basic geometry classes which are used in /Data to store geometry information of elements and make them accessible outside the Revit API
  • UI: A basic user interface to allow file selection in Revit Batch Processor
  • Utility: A collection of, mainly file related, utility functions

Samples

This directory contains:

  • \BAT
    • demos how to run concurrently Revit Batch Processor sessions using .bat files
  • \PowerShell
    • demos how to run concurrently Revit Batch Processor sessions using powershell script files
  • \Flows
    • A number of samples showing the complete Revit Batch Processor set up to i.e export models, report model health properties etc

For a more detailed documentation refer to the docs

Clone this wiki locally