Rhino WIP Feature: Export Block Attributes

Rhino WIP now incudes the ExportBlockAttributes command.

What is Export Block Attributes?

Blocks in Rhino can have meaningful data attached to it. Usually in the form of Attribute User Text. The ExportBlockAttributes command extracts this data to a CSV file.

Interview with the developer Dale Fugier

Why is it useful?

Rhino’s blocks can include additional user defined data. Exporting these values for analysis to a program outside of Rhino, was left up to scripting (Python or Grasshopper) in previous versions. Now, in Rhino WIP, you can export this information and create a table or spreadsheet for analysis or data management.

Steps to Use:

  1. Open a model with Blocks that have attribute values associate with them.
  2. Type ExportBlockAttributes.
  3. Select the blocks with attribute to export:
    Use a Windows selection or
    SelBlockInstanceNamed or layer selection can be helpful.
    Enter when the selection is complete.
  4. The ExportBlockAttributes dialog appears.
    There are 2 parts: Block Properties and Block Attributes
  • Block Properties included Name, Insertion Pts, Layer, URL and more.
  • Block Attributes are added to blocks and defined by the user.
  1. Pick OK.
  2. Navigate to location and type a name for the file.
  3. Use your spread sheet application to import the CSV and analyze the data.

See this feature in use below:

Put down scripts” and try this new Rhino WIP command.
Let us know if this works for you.

Sincerely,
Mary Ann Fugier

PS If you want to learn about Attributed blocks, see this tutorial.
Attributed blocks were added in Rhino 7.

Download Rhino WIP…

11 Likes

Hi Mary,
I will make a request hoping that the table feature will also be in r9.

I think it will be very useful to import the the contents of a spread sheet directly into Rhino on the same feature.

2 Likes

Hi @herso,
This is makes sense.
I will get this logged.

I think this button is dependent on all these table features.

  1. Table object RH-30945/Text-Table-editable-spreadsheet-like-table
  2. a way to remove row(s) & column(s) (logging wish fir Edit table command)
  3. a table style (logging wish for Table Style)

I will post the links to the other YTs when I have them completes.
Thanks again for letting us know.

Sincerely,
Mary Ann Fugier

5 Likes

Thank you!

1 Like