Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4174

Help with Layers in a Script

$
0
0

Here is a Rhino script that I have worked with. The goal of the script is to read a CSV file that has either a one line description or X,Y,Z coordinates. When it hits a description, it creates a layer and adds the following points to that layer. The plan was for the script to create the new layers a sublayers of the current layer. However, in practice is creates the first few layers as sublayers of the current layer then makes the rest top level layers.

I was wondering if someone could identify what is wrong. I have the script and sample data attached.

Bulkhead #3 V2.zip (7.6 KB) ImportPointsToLayers.py.zip (1.1 KB)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4174

Latest Images

Trending Articles



Latest Images