Skip to content

How it works

Andreas Dieckmann edited this page Jun 2, 2024 · 9 revisions

Supported file types

The package enables you to process three types of Revit-related files:

  • Journals
  • KeyboardShortcuts files
  • Worksharing logs

Basic mechanics

  • All nodes are coded in Python and are structured in classes (documented here).
  • There is one Create type node for each of the above file types that builds a queriable object from the data contained in the file. (Typical graphs therefore start with creating such an object from a file)
  • Any nodes that retrieve object attributes are classified as Query nodes.
  • Any nodes that call methods defined in the respective object are classified as Actions nodes (even though those methods usually do not alter the object and simply perform a query of their own).
  • All nodes are designed to operate on singletons as well as 1D lists. For anything else use Dynamo's List@Level functionality.

Journals

  • Constructor: Journal.ByPath node

Relevant classes:

Journal blocks

  • Journals are structured into blocks.
  • Each block starts with a JournalTimeStamp (except block 0).
  • Each JournalLine knows its block.

Journal line types

  • JournalLines are further classified into different types.
  • Each type is represented by a separate subclass.
  • See JournalLine types for more details.

KeyboardShortcuts files

  • Constructor: KeyboardShortcuts.ByPath node

Relevant classes:

Worksharing logs

  • Constructor: WorksharingLog.ByPath node

Relevant classes: