You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sketchup/ComponentDefinition.html
+20-7Lines changed: 20 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -789,7 +789,7 @@ <h2>
789
789
790
790
791
791
<spanclass="summary_desc"><divclass='inline'>
792
-
<p>The name= method is used to set the name of the component definition.</p>
792
+
<p>The <spanclass='object_link'><ahref="#name=-instance_method" title="Sketchup::ComponentDefinition#name= (method)">#name=</a></span> method is used to set the name of the component definition.</p>
<p>The name= method is used to set the name of the component definition.</p>
2786
+
<p>The <spanclass='object_link'><ahref="#name=-instance_method" title="Sketchup::ComponentDefinition#name= (method)">#name=</a></span> method is used to set the name of the component definition.</p>
2787
+
2788
+
<p>The name should be unique to the model, if it's not the name will automatically be made unique.</p>
<p>In SketchUp 2022.0 a bug might lead to an available name being incorrectly renamed. Or a name that should be unavailable would be duplicated. This was fixed in SketchUp 2022.0.1.</p>
<p>Here are the build numbers for recent SketchUp releases. Note that build numbers in languages besides English are larger for each release, so it is best to check for builds that are greater than or equal to the numbers here.</p>
171
171
<ul><li>
172
+
<p><strong>SU2022.0.1</strong> = 22.0.354 on Windows 64-bit, 22.0.353 on Mac 64-bit.</p>
173
+
</li><li>
172
174
<p><strong>SU2022.0</strong> = 22.0.316 on Windows 64-bit, 22.0.315 on Mac 64-bit.</p>
173
175
</li><li>
174
176
<p><strong>SU2021.1.2</strong> = 21.1.332 on Windows 64-bit, 21.1.331 on Mac 64-bit. (Contained no Ruby API changes)</p>
<p><strong>SU6 M6</strong> = 6.4.265 on Windows, 6.4.263 on Mac.</p>
239
241
</li></ul>
240
242
243
+
<h1id="label-What-27s+new+in+SketchUp+2022.0.1">What's new in SketchUp 2022.0.1</h1>
244
+
245
+
<h2id="label-Ruby+API+Bug+Fixes">Ruby API Bug Fixes</h2>
246
+
<ul><li>
247
+
<p>In SketchUp 2022.0 a bug might lead to an available name being incorrectly renamed. Or a name that should be unavailable would be duplicated. This was fixed in SketchUp 2022.0.1.</p>
248
+
</li></ul>
249
+
241
250
<h1id="label-What-27s+new+in+SketchUp+2022.0">What's new in SketchUp 2022.0</h1>
@@ -411,9 +411,9 @@ <h4 id="label-Optimizing+and+keeping+Ruby+objects+alive">Optimizing and keeping
411
411
412
412
<p>Similar to the optimization maximization described for <spanclass='object_link'><ahref="Sketchup/EntitiesBuilder.html" title="Sketchup::EntitiesBuilder (class)">Sketchup::EntitiesBuilder</a></span> you might find that avoiding unnecessarily creating new Ruby objects can yield some performance benefits. Below is an example of one way of doing that:</p>
0 commit comments