Skip to content

Commit

Permalink
added code regions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Tammik committed Jan 20, 2016
1 parent 80d7c25 commit 6db4fdf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions TrackChanges/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ Dictionary<XYZ, int> vertexLookup
}
#endregion // Retrieve solid vertices

#region Retrieve elements of interest
/// <summary>
/// Retrieve all elements to track.
/// It is up to you to decide which elements
Expand Down Expand Up @@ -490,7 +491,9 @@ ElementFilter isModelCategory
( null != e.get_BoundingBox( null ) )
&& ( null != e.get_Geometry( opt ) ) );
}
#endregion // Retrieve elements of interest

#region Store element state
/// <summary>
/// Return a string representing the given element
/// state. This is the information you wish to track.
Expand Down Expand Up @@ -530,7 +533,9 @@ static string GetElementState( Element e )
}
return s;
}
#endregion // Store element state

#region Create snapshot
/// <summary>
/// Return a dictionary mapping element id values
/// to hash codes of the element state strings.
Expand Down Expand Up @@ -562,7 +567,9 @@ Dictionary<int, string> d
}
return d;
}
#endregion // Create snapshot

#region Report differences
static void ReportDifferences(
Document doc,
Dictionary<int, string> start_state,
Expand Down Expand Up @@ -630,6 +637,7 @@ static void ReportDifferences(
dlg.MainContent = s;
dlg.Show();
}
#endregion // Report differences

/// <summary>
/// Current snapshot of database state.
Expand Down

0 comments on commit 6db4fdf

Please sign in to comment.