Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:scriptsamples:hierarchiallayers [2015/09/14]
127.0.0.1 external edit
developer:scriptsamples:hierarchiallayers [2016/01/22] (current)
sandy
Line 1: Line 1:
 ====== Setting Hierarchical Layer Names ====== ====== Setting Hierarchical Layer Names ======
-====== RhinoScript ​======+===== RhinoScript =====
 > **Summary:​** //​Demonstrates how to rename layers in a hierarchical manner using [[developer:​rhinoscript|RhinoScript]].//​ > **Summary:​** //​Demonstrates how to rename layers in a hierarchical manner using [[developer:​rhinoscript|RhinoScript]].//​
  
-=====Question=====+====Question====
  
-When the Rhino 4.0 file saves to Rhino 3.0 format, all hierarchical layering is lost. Is there a way to rename layers to reflect their hierarchial order? For example, Interior-boat > Dimensions becomes ​"Interior-boat-Dimensions".+When the Rhino 4.0 file saves to Rhino 3.0 format, all hierarchical layering is lost. Is there a way to rename layers to reflect their hierarchial order? For example, ​**Interior-boat > Dimensions** becomes ​**Interior-boat-Dimensions**.
  
-=====Example=====+====Example====
  
-The following sample ​[[developer:​rhinoscript|RhinoScript]] code demonstrates how to rename layers in a hierarchical manner using [[developer:​rhinoscript|RhinoScript]]Users wanting ​to save to Rhino 3.0 can run the SetHierarchicalLayerNames subroutine before saving and then run Undo after saving to roll back the layer changes.+The following sample RhinoScript code demonstrates how to rename layers in a hierarchical manner using RhinoScript. ​If you want to save to Rhino 3.0 you can run the SetHierarchicalLayerNames subroutine before saving and then run Undo after saving to roll back the layer changes.
  
  
developer/scriptsamples/hierarchiallayers.txt ยท Last modified: 2016/01/22 by sandy