Grasshopper

algorithmic modeling for Rhino

extracting data sets from imported .shp file in python grasshopper

Hello,

I am a novice python programmer and I am hoping someone can please spare a sec to help me out?? I am importing a .shp file with @it plugin but I want to be able to manipulate this data through a custom python script. ideally the code will search through the .shp file and identify only the RELHMAX data set for further manipulation.

This is what the .shp data looks like https://drive.google.com/file/d/0BySL_YFrwgAuTTAzeVlacFdFXzA/view?u...

I am only interested in the RELHMAX data.

so far this is what I am doing but I want a=RELHMAX only

Views: 291

Attachments:

Replies to This Discussion

    w = fileSource()
    height = w['RELHMAX']
    a = w

this doesnt work when I thought it may isolate the RELHMAX data set?

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service