Skip to content

Commit

Permalink
cleanup and implementation complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Tammik committed Nov 12, 2014
1 parent 7bab61f commit 482bddd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion BuildingCoder/BuildingCoder/JtPairPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public JtPairPicker( UIDocument uidoc )
_doc = _uidoc.Document;
}

/// <summary>
/// Return selection result.
/// </summary>
public IList<T> Selected
{
get
Expand All @@ -62,9 +65,13 @@ public IList<T> Selected
}
}

/// <summary>
/// Run the automatic or interactive
/// selection process.
/// </summary>
public Result Pick()
{
// Select all T elements in the entire model.
// Retrieve all T elements in the entire model.

_a = new List<T>(
new FilteredElementCollector( _doc )
Expand Down
2 changes: 1 addition & 1 deletion BuildingCoder/BuildingCoder/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// 2014-10-11 2015.0.115.0 implemented CmdNewCrossFitting
// 2014-10-11 2015.0.115.1 fixed some of the warnings about deprecated use of Selection.Elements collection
// 2014-11-10 2015.0.115.2 converted CmdNewSweptBlend to use manual transaction mode and implemented CreateNewSweptBlendArc
// 2014-11-10 2015.0.116.0 implemented CmdDimensionInstanceOrigin
// 2014-11-10 2015.0.116.0 implemented CmdDimensionInstanceOrigin and JtPairPicker
//
[assembly: AssemblyVersion( "2015.0.116.0" )]
[assembly: AssemblyFileVersion( "2015.0.116.0" )]

0 comments on commit 482bddd

Please sign in to comment.