This commit is contained in:
2025-07-25 16:27:29 +08:00
parent 38b27cd481
commit b5cad3c171
1114 changed files with 68009 additions and 23981 deletions
@@ -681,8 +681,8 @@ Provides functionality for linear motion with stroke and speed limits.</p>
<a id="Hi_NcMech_Topo_NcTranslation_MakeXmlSource_" data-uid="Hi.NcMech.Topo.NcTranslation.MakeXmlSource*"></a>
<h3 id="Hi_NcMech_Topo_NcTranslation_MakeXmlSource_System_String_System_String_" data-uid="Hi.NcMech.Topo.NcTranslation.MakeXmlSource(System.String,System.String)">
MakeXmlSource(string, string)
<h3 id="Hi_NcMech_Topo_NcTranslation_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.NcMech.Topo.NcTranslation.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
@@ -692,7 +692,7 @@ This method may also generate additional resources such as related files.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override XElement MakeXmlSource(string baseDirectory, string relFile)</code></pre>
<pre><code class="lang-csharp hljs">public override XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -702,6 +702,9 @@ This method may also generate additional resources such as related files.</p>
</dd>
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative file path for the XML source</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>if true, the extended file creation is suppressed.</p>
</dd>
</dl>
@@ -718,6 +721,11 @@ This method may also generate additional resources such as related files.</p>
<h4 class="section" id="Hi_NcMech_Topo_NcTranslation_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.</p>
</div>