Jump to content

Linking blocks between DWG's


gazzalp

Recommended Posts

Everyone, does anyone know if its possible to link certain attributes in a block between DWG's? IE: we have a floor plan xref where we have a column block with the attributes of: size and number. We then have a column schedule, which also has the column size. Occasionally we will change the size on plan but forget to change it on schedule. Is there a way we can make it so if we change the block on plan, it changes automatically on the schedule? our schedule doesnt actually use a block but if what i has suggested is plausible i can make it a block. Also if it is possible i will upload a sample, but theres no point yet if its not possible.

Link to comment
Share on other sites

It is kind of possible. One way to do this is using Excel. Create your schedule in Excel then in AutoCAD, goto TOOLS > DATA LINKS > DATA LINK MANAGER. Then click on Create a New Excel Data Link, name it whatever you like. Then BROWSE for the Excel spreadsheet you created as your schedule. Select a range for sheet and set properties as required.

 

To insert a table goto DRAW > TABLE and select Data Link we created earlier.

 

We now have a table of the schedule. Following the same process as previouslt mentioned you could create a Data Link for each block inserting the data link into seperate blocks. Not the best solution as you need seperate blocks for every instance but is a way to do it.

Link to comment
Share on other sites

Thanks for your help. Im not sure if theres a better way to go about it, but i think im going to have to learn VBA anyway so i might hold off and do it in that. Thanks again

Link to comment
Share on other sites

  • 2 weeks later...

You can definately look up a block and then change another blocks attributes automatically.

 

To explain more I pick a block its used as a text label and read out 1 of its attribute its a unique id, I then pick points etc and write these answers to another block (different name but has an attribute with the same unique IDMore tommorrow battrey dying

Link to comment
Share on other sites

Sorry about that battery died

 

The code I wrote just works inside one drawing but it should work across drawings you would get the answers from one drawing and then jump into the other drawing and update. It does what you are talking about picking one object but upadting something else within the drawing, my case model space pick but schedule in a layout space is updated. let me know will paste if you think usefull.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...