Creating a box with attribute from an excel file

I have been using the build box extension from JimHami42 that creates a box from a csv comma separated file. I would like to expand on it and add an attribute automatically (the name) in entity info. the text would come in from three different values sorted previously in an excel file. Would anybody know where to begin with this?

Thanks for your help.

What version of SketchUp are you using? Your profile indicates SketchUp Free (Web) 2015 which doesn’t exist. The correct information will help us help you.

Thanks for reaching out, I am actually using Sketchup Pro 2015.

How about fixing your profile?

Maybe you could get what you need by making a Dynamic Component?

You might also ping @jimhami42 and see if he has any thoughts for you.

Thanks for that DaveR, I fixed my profile. I will look into the Dynamic components to see if I can find a solution

1 Like

No the DC “Name” attribute will not be reflected in the Component “Name” property that you see displayed in the Entity Info inspector.

You will need to solve this using the SketchUp Ruby API.
To use it, you should first learn the basics of Ruby (as SketchUp’s API only extends the Ruby language.)

So, please edit this topic title, and reassign the topic to the Ruby API subcategory.

I created a bunch of different plugins to create things from data files. If you could be more specific, or provide the plugin, I can maybe help you.

1 Like

Hello Jim,
Thank you for replying to this thread, I have been using your plugin jimhami42_import_boxes.rbz extensively to import shapes from an excel list. In an effort to streamline my process I would like to figure out how to add some attributes to the box creation if possible.

Here’s a quick fix to see if this is what you need. The name needs to be the first element on each line of the list and may not contain any spaces.



The modified plugin is here: jimhami42_import_boxes_alex.rbz (607 Bytes)

Let me know if this works for you.

Jim, this works perfectly, thank you for taking the time to do this.
Would you be able to send me a private message as I would like to develop the extension further?

Again Thank you,


Dear Jim, maybe you have a solution on fast moving these solids out of bundle?

Can you provide a sample of the what you need? Do these need to be spread out? In an array? I’m not clear on what you’e trying to accomplish … a picture might help.