Skip to content

Commit

Permalink
Merge pull request #1198 from mcneel/1.25
Browse files Browse the repository at this point in the history
1.25
  • Loading branch information
kike-garbo authored Oct 11, 2024
2 parents f858b88 + 2a1a2dd commit 275aa89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RhinoInside.Revit.GH/Types/Element.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ protected Element(ARDB.Element element) : base(element?.Document, element)
protected virtual string ElementPath => Nomen;

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
internal string ModelPath => $"{Document.GetTitle()}::{ElementPath}";
internal string ModelPath => $"{Document.GetTitle()}::{ElementPath}".ToControlEscaped();
#endregion

#region Casters
Expand Down
2 changes: 1 addition & 1 deletion src/RhinoInside.Revit.GH/Types/Views/View.cs
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ out Guid guid

if (Value is ARDB.View view)
{
var viewName = $"{Type.FamilyName}::{Nomen}";
var viewName = ModelPath;

// 2. Check if already exist
var index = doc.NamedViews.FindByName(viewName);
Expand Down

0 comments on commit 275aa89

Please sign in to comment.