Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed one of the input names #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/DynamoRebar/Nodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,11 @@ public static Revit.Elements.Element SetLayoutAsFixedNumber(Revit.Elements.Eleme
/// </summary>
/// <param name="rebar"></param>
/// <param name="numberOfBarPositions"></param>
/// <param name="arrayLength"></param>
/// <param name="spacing"></param>
/// <param name="barsOnNormalSide"></param>
/// <param name="includeFirstBar"></param>
/// <param name="includeLastBar"></param>
public static Revit.Elements.Element SetLayoutAsNumberWithSpacing(Revit.Elements.Element rebar, int numberOfBarPositions, double arrayLength, bool barsOnNormalSide, bool includeFirstBar, bool includeLastBar)
public static Revit.Elements.Element SetLayoutAsNumberWithSpacing(Revit.Elements.Element rebar, int numberOfBarPositions, double spacing, bool barsOnNormalSide, bool includeFirstBar, bool includeLastBar)
{
Autodesk.Revit.DB.Structure.Rebar bar = rebar.InternalElement as Autodesk.Revit.DB.Structure.Rebar;
if (bar != null)
Expand All @@ -486,7 +486,7 @@ public static Revit.Elements.Element SetLayoutAsNumberWithSpacing(Revit.Elements
{
Autodesk.Revit.DB.Document document = DocumentManager.Instance.CurrentDBDocument;
TransactionManager.Instance.EnsureInTransaction(document);
sda.SetLayoutAsNumberWithSpacing(numberOfBarPositions, arrayLength.ToRvtLength(), barsOnNormalSide, includeFirstBar, includeLastBar);
sda.SetLayoutAsNumberWithSpacing(numberOfBarPositions, spacing.ToRvtLength(), barsOnNormalSide, includeFirstBar, includeLastBar);
TransactionManager.Instance.TransactionTaskDone();
}
}
Expand Down