Skip to content

Commit

Permalink
removed doc argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed Jul 12, 2022
1 parent 838219a commit d4b2ab8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions BuildingCoder/CmdSetTagType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,9 @@ var builtInParam
/// https://forums.autodesk.com/t5/revit-api-forum/tag-width-height-or-accurate-boundingbox-of-independenttag/m-p/11274095
/// </summary>
public static Tuple<double, double> GetTagExtents(
Document doc,
IndependentTag tag)
{
Debug.Assert(
tag.Document.GetProjectId().Equals(doc.GetProjectId()),
"expected same document");
Document doc = tag.Document;

//Dimension to return
double tagWidth;
Expand Down

0 comments on commit d4b2ab8

Please sign in to comment.