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.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement