Plugin to add dynamic component attributes automatically

Hi, first time writing on the forums. I hope someone has a solution to this problem.

For my work, we use many standard components that have dynamic component attributes so you can select the required fixings. For example, on a certain mount we use a dropdown list to select ‘M12 x50mm Bolt’. We then use the ‘generate report’ function to collate the total number of bolts etc. necessary for the project.

The problem occurs when we design custom supports in Solidworks and import them as STL. It takes too long to manually add dynamic component attributes to each one.

Is there a plugin or ruby ​​script to easily add a group of attributes to a component? It would be the same attributes every time.

It would be great to know if anyone has a solution for this!

Thank you.


Maybe:

SketchUp SJ Plugins Add DC Attribute | Accessories store | sketchlocation



2 likes

Hello
I have developed and shared a plugin called SJ Add DC attribute.
Allows you to create, copy dynamic component attributes from a favorites list or from a source component.
You can consult the documentation and download it on my website
https://sketchup.simjoubert.com/my-plugins/sj-add-dc-attribute.html

or in the Sketchucation plugin store
https://sketchucation.com/plugin/2537-sjadddcattribute

Thank you for your comments



2 likes

Thanks for your answer Simon. Your plugin is exactly what I was looking for! Thank you very much for developing that.

Just a couple of suggestions/questions:

  • Would it be possible to select all ‘favorite’ attributes so I can add them in one go, instead of clicking add individually? (I have more than 10 attributes to add)

  • Is it possible to save favorite attributes so they transfer between skp models?

Thanks again !

John



Source link

James D. Brown
James D. Brown
Articles: 9343