Data|Shapes
  • Data-Shapes package Primer
  • Dynamo
    • Geometry.PruneDuplicates
    • Transform.OriginAndVectors
    • Export Views to NavisWorks
  • Interop
    • Excel.Worksheets
    • Export to FBX
  • Revit
    • ActiveDocument.FileSize
    • Add Shared Parameter(s) from txt
    • All Elements In View(s)
    • All Lines of LineStyle
    • Categorie(s) by ENU Name(s)
    • Categories list
    • Document.LengthDisplayUnit
    • Duplicate Element
    • Element(s) cut
    • Filter.IsApplied
    • Get All Linked Docs infos
    • GetLinkedElement.InHostView
    • GetLinkedElement.InHostViewAndCategory
    • Grid.SetVerticalExtents
    • ImportInstance.IsLinked
    • Line LineStyle
    • ModificationTracker.AllChanges
    • ModificationTracker.GeometryChanges
    • ModificationTracker.ModelComparison
    • ModificationTracker.ParameterChanges
    • ParameterGroup list
    • PerformanceAdviserRule Elements
    • PerspectiveView.ByEyePositionTarget
    • RayBounce On Link Category
    • RayBounce On Linked Model
    • Replace viewports by center
    • Room Status
    • Room.Height
    • Select Face (s) (PickObject)
    • Select Model Elements of Category
    • Set Active Family Parameter By Name
    • SharedParameters from txt file
    • SlabShape.AddPoints
    • SlabShape.AddSplitLine
    • ViewSection.ByLine
    • ViewTemplate.IsApplied
    • WallSweepOnWall
  • UI
    • UI.Boolean Data
    • UI.ColorInput Data
    • UI.ConditionalInput Data
    • UI.DataTable input
    • UI.DirectoryPath Data
    • UI.DropDown Data
    • UI.FilePath Data
    • UI.Image Data
    • UI.InputGroup Data
    • UI.Listview Data
    • UI.MultipleInputForm ++
    • UI.RadioButtons Data
    • UI.SelectEdges Data
    • UI.SelectFaces Data
    • UI.SelectLinkedElement(s) Data
    • UI.SelectModelElements Data (ordered)
    • UI.SelectModelElements Data
    • UI.SelectPointsOnFace data
    • UI.Slider Data
    • UI.TextBox Data
    • UI.TextNote Data
    • UI.TreeView input
Powered by GitBook
On this page
  • 1. Description
  • 2. Workflow
  1. Revit

ModificationTracker.ModelComparison

PreviousModificationTracker.GeometryChangesNextModificationTracker.ParameterChanges

Last updated 6 years ago

1. Description

This node is the first step of the modification tracking. It takes 3 inputs :

  • DocumentA : Current document by default

  • DocumentB : The document you want to compare DocumentA against

  • Categories : List of categories you want the ModificationTracker to take into account

The code of this node uses the elements’ GUIDs to determine whether they are existing, new or deleted. It will return a report of the modifications and lists of the existing, new and deleted elements. The ExistingElements Data output is the data you’ll need to initiate the geometry and metadata comparisons between DocumentA and DocumentB.

2. Workflow

2.1 Visualize geometry changes:

This workflow will prompt the user to select the linked model to compare the current model against, the cotegories to track and the override colors for changed, unchanged, and new elements.

To test this workflow, I have created a “Dummy” Revit file with some walls and colums, then I moved some of these columns and walls and saved it as a new version. I have tried the workflow on a “real” model with over 2000 elements and the performance was still pretty good.

2.2 Vizualise parameter value changes:

This workflow works in a very similar way to the previous one except it tracks parameter value modifications instead of geometric modifications.

As a test, I have two versions of a same model where only some text parameter values have been changed on a wall and two columns.

2.3 Vizualise geometry and parameter value changes:

This workflow allows to track parameter value changes as well as geometric changes. It creates a form that prompts the user to select the linked file to take into account, the categories, and all the override colors.

These nodes were created to serve the following workflows (I make use of and Dynamo Player in order to make them as user friendly as possible ).

UI.MultipleInputForm++
Check Geometry changes between two indices of a same model
Check Parameter Value changes between two indices of a same model
Check All Changes between two indices of a same model