AutoCAD block > SketchUP component
-
I am doing the typical import of a .dwg with blocks that will serve as placeholders for more complex components in SketchUp. However, I was wondering if there is any way to give each (block) component a unique id automatically. Since SketchUp import unfortunately disregards ATTDEF info from AutoCAD is there a way to translate any of this info to the SketchUp Component "Name" field? I want to have a series of the same components (same "Definition Name") with unique "Name" fields (just numbering would be perfect) so I can cross reference with the CAD plan and easily locate specific instances. Is there also a way to import or export CSV data related to components in SketchUp. I'm sure someone out there has dealt with this in producing schedules. Thanks. I'll take my answer off the air.
-
Do not use ACAD, but component names are derived from block names in the dxf transfer.
-
I would think about 2 options:
-
Use a autolisp-routine to rename the autocad-block to include the wanted ATTDEF-info in the blockname.
Then a ruby can parse the component-definition-name and store it where you want. -
Use a autolisp-routine to write some ruby's on the fly which does reference the block-name and store the wanted data back to the components.
-
Advertisement