diff --git a/doc/distrib/NodeHelpFiles/en-US/RUAGD4YGKJ6XHPIKDL7GZX63CDAFMI6KUSR6XMXEBGJJOATEI5IA.md b/doc/distrib/NodeHelpFiles/en-US/RUAGD4YGKJ6XHPIKDL7GZX63CDAFMI6KUSR6XMXEBGJJOATEI5IA.md index 8a0182e58b7..3fa1b9c9bf6 100644 --- a/doc/distrib/NodeHelpFiles/en-US/RUAGD4YGKJ6XHPIKDL7GZX63CDAFMI6KUSR6XMXEBGJJOATEI5IA.md +++ b/doc/distrib/NodeHelpFiles/en-US/RUAGD4YGKJ6XHPIKDL7GZX63CDAFMI6KUSR6XMXEBGJJOATEI5IA.md @@ -1,7 +1,6 @@ - - -## BySphereBestFit - Documentation -This documentation file is auto generated by NodeDocumentationMarkdownGenerator, Version=2.14.0.3986, Culture=neutral, PublicKeyToken=null. +## In-Depth +In the example below, a T-Spline sphere primitive surface is created using the `TSplineSurface.BySphereBestFit` node from a provided list of random points. `radiusSpans` and `heightSpans` inputs control the number of faces along the height and radial spans (or meridians). The `symmetry` input controls if the shape has initial symmetry and, finally, `inSmoothMode` defines if the preview is in smooth or box mode. -For more information about adding documentation to nodes see https://github.com/DynamoDS/Dynamo/wiki/Create-and-Add-Custom-Documentation-to-Nodes +## Example File +![Example](./Autodesk.DesignScript.Geometry.TSpline.TSplineSurface.BySphereBestFit_img.jpg) diff --git a/src/DocumentationBrowserViewExtension/DocumentationBrowserViewModel.cs b/src/DocumentationBrowserViewExtension/DocumentationBrowserViewModel.cs index 7176341883b..bad9663d059 100644 --- a/src/DocumentationBrowserViewExtension/DocumentationBrowserViewModel.cs +++ b/src/DocumentationBrowserViewExtension/DocumentationBrowserViewModel.cs @@ -438,7 +438,7 @@ internal void InsertGraph() { if (GraphPath != null) { - var graphName = CurrentPackageName ?? Path.GetFileNameWithoutExtension(GraphPath); + var graphName = string.IsNullOrEmpty(CurrentPackageName) ? Path.GetFileNameWithoutExtension(GraphPath) : CurrentPackageName; raiseInsertGraph(this, new InsertDocumentationLinkEventArgs(GraphPath, graphName)); } else diff --git a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml index 608914f6bd8..7b81b5533c0 100644 --- a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml +++ b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml @@ -4106,6 +4106,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4274,6 +4371,17 @@ + +