Site Tools


Differences

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

Link to this comparison view

developer:scriptsamples:explodeblockinstance [2015/09/14]
127.0.0.1 external edit
developer:scriptsamples:explodeblockinstance [2016/01/22] (current)
sandy
Line 1: Line 1:
 ====== Exploding Blocks ====== ====== Exploding Blocks ======
 > **Developer:​** //​[[developer:​rhinoscript|RhinoScript]]//​ > **Developer:​** //​[[developer:​rhinoscript|RhinoScript]]//​
-> **Summary:​** //How to explode an instance of a block.//+> **Summary:​** //How to explode an instance of a block//
  
-===== Overview ===== +Use RhinoScript'​s **ExplodeBlockInstance** method to explode an instance of a block into its geometric components. But, it is possible for a block to contain other blocks. These //sub-blocks// are known as nested blocks. The **ExplodeBlockInstance** method will not explode nested blocks. ​It is possible to write a script that uses recursion to do this for us.
-RhinoScript'​s **ExplodeBlockInstance** method ​can be used to explode an instance of a block into its geometric components. But, it is possible for a block to contain other blocks. These "sub-blocks" ​are known as nested blocks. The **ExplodeBlockInstance** method will not explode nested blocks. ​But, it is possible to write a script that uses recursion to do this for us.+
  
 The following sample script demonstrates how to explode all visible block instances into their geometric components. The script works on blocks that have nested blocks. The following sample script demonstrates how to explode all visible block instances into their geometric components. The script works on blocks that have nested blocks.
developer/scriptsamples/explodeblockinstance.txt · Last modified: 2016/01/22 by sandy