Skip to content

Commit

Permalink
implemented RetrieveRectangularFabricationPartTags
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed Feb 25, 2022
1 parent f3404b2 commit 302fb71
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions BuildingCoder/CmdChangeElementColor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#region Header
#region Header

//
// CmdChangeElementColor.cs - Change element colour using OverrideGraphicSettings for active view
Expand Down Expand Up @@ -35,7 +35,7 @@ public Result Execute(
ExternalCommandData commandData,
ref string message,
ElementSet elements)
{
{
var uiapp = commandData.Application;
var uidoc = uiapp.ActiveUIDocument;
var doc = uidoc.Document;
Expand Down
2 changes: 1 addition & 1 deletion BuildingCoder/CmdCreateSlopedSlab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace BuildingCoder
/// </summary>
[Transaction(TransactionMode.Manual)]
public class CmdCreateSlopedSlab : IExternalCommand
{
{
public Result Execute(
ExternalCommandData revit,
ref string message,
Expand Down
10 changes: 6 additions & 4 deletions BuildingCoder/CmdCropToRoom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,29 @@

#region Namespaces

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Architecture;
using Autodesk.Revit.UI;

using Autodesk.Revit.UI;

#endregion // Namespaces

namespace BuildingCoder
{
[Transaction(TransactionMode.Manual)]
internal class CmdCropToRoom : IExternalCommand
{
{
private static int _i = -1;

public Result Execute(
ExternalCommandData commandData,
ref string message,
ElementSet elements)
{
{
var app = commandData.Application;
var doc = app.ActiveUIDocument.Document;

Expand Down
2 changes: 0 additions & 2 deletions BuildingCoder/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public static int Compare(Line a, Line b)
d = Compare(qa.GetLength(), qb.GetLength());
}
}

return d;
}

Expand All @@ -194,7 +193,6 @@ public static int Compare(Plane a, Plane b)
d = Compare(a.XVec.AngleOnPlaneTo(
b.XVec, b.Normal), 0);
}

return d;
}

Expand Down

0 comments on commit 302fb71

Please sign in to comment.