Site Tools


Differences

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

Link to this comparison view

rhino:rhinov5status_layernames [2015/09/14] (current)
Line 1: Line 1:
 +====== Rhino 5 - Layer Names and Trees ======
 +{{:​rhino:​v5_samenamedlayers.png|Here are two sublayers named "​Walls"​ and two sublayers named "​Doors"​}}
  
 +Rhino 5 allows sublayers to have the same layer name, shown in the example above. In the example there are two sublayers named //Walls// and two sublayers named //​Doors//​. ​
 +
 +Some Rhino users requested this ability to have sublayers with the same layer name to help them organize layers to make it easier to find similar small features in a large model.  ​
 +
 +Other users have designed their work flows and parts libraries assuming that there are no duplicate layer names. If you are one of these users, the section below explains how you can configure Rhino so it will not create duplicate sublayers when importing models.
 +
 +
 +
 +
 +==== Controlling layer names when importing files ====
 +For some users, having more than one layer with the same name disrupts their workflow. So Rhino 5 lets you control how layers are combined when Rhino imports an external model into an existing model.
 +
 +**Note** There are many ways to //import// an external model into the existing model including:
 +  * Use the Import command
 +  * Use the Paste command
 +  * Use the Insert command to insert a file as a group or as objects
 +  * Use the Insert command to insert a linked block with reference layers as a group or as objects
 +
 +The **Rhino Options > Files** tab in the **Options** command dialog offers two options for managing layer names.
 +  * **Use complete layer tree from source file** Rhino will create a copy of the imported model'​s layer tree in the existing model.
 +  * **Use existing layers with matching name** If a layer in the existing model has the same short name as a layer in the external model, Rhino will add everything on the external layer to the existing layer.
 +
 +{{:​rhino:​rhinooptionsfilesimportedfilelayers.jpg|}}
 +
 +==== Example ====
 +
 +Below is an example that shows what happens when you open a model named //​ThreeStooges.3dm//​ that has empty layers named //Curly//, //Larry//, and //Moe// and then import geometry from models named //Curly Howard.3dm//,​ //Larry Fine.3dm// and //Moe Howard.3dm//,​ which respectively contain layers named //Curly//, //Larry//, and //​Moe//​. ​
 +
 +You may download the files used in this example from {{:​rhino:​stoogesimportexample.zip|}}.
 +
 +{{:​rhino:​stoogesexample.png|}}
 +
 +===== Layer names in linked block definitions =====
 +{{ :​rhino:​insertlinkedblocklayerstylesettings.png|}}
 +Rhino 5 has full support for linked block definitions. ​ A linked block definition references an external file.  Every time a model containing a linked block definition is loaded, Rhino also reads the referenced file to create the contents of the linked block definition. When you create a linked block definition (or edit its properties using the BlockManager command) you can specify one of these linked block definition layer styles:
 +  * **Active** All layers for the linked block definition are in the active model and are saved in the active model. ​ All layer attributes, including rendering material, can be edited and are saved. For each layer in the reference model, if there is a layer in the active model with a matching short name, then that active layer is used. Otherwise an active layer is created.
 +  * **Reference** The layer tree from the reference model is added to the active model as reference layers under a //​grandparent//​ layer that has the name of the reference file.  All the added layers are //reference layers//​. ​ You cannot change the reference layer settings except for the visibility, locked, and color settings.
 +  * This image shows where you specify the linked block definition layer style when creating a linked block. ​
 +
 +
 +
 +==== Example ====
 +You may download the files used in this example from {{:​rhino:​producelinkedblockexample.zip|}}.
 +
 +This example demonstrates the two ways Rhino 5 manages layer names for the contents of a linked block definition.
 +
 +The model called //​ProduceDepartment.3dm//​ has four linked blocks that reference files called //​Apple.3dm//,​ //​Banana.3dm//,​ //​Squash.3dm//,​ and //​Carrot.3dm//​.
 +
 +{{:​rhino:​v5_linkedblockitemlayers.png|}}
 +
 +{{:​rhino:​v5_producedepartmentlayers.png|}}
 +
 +
 +
 +Back to [[rhinov5status|Rhino 5 Status]].
rhino/rhinov5status_layernames.txt ยท Last modified: 2015/09/14 (external edit)