Jump to content
Sign in to follow this  
crsimmons

Edit line weight in nested blocks of all XREF drawings.

Recommended Posts

crsimmons

The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks. When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number? Thank you for any advise/recommendations.

Share this post


Link to post
Share on other sites
crsimmons
Have you check SETBYLAYERMODE?

And look here: http://helengorina.com/2008/08/various-cleanup-scripts-post-4-in-series-autocad-cleanup/

 

I'm not sure if it works with xrefs, but you can try :)

 

Blackfish,

 

Thanks for the advise! Yes, this does the trick by setting that variable to 4. I have to open all the XFEFs though individually. Lot better than opening all the blocks.

 

Thanks again,

Chris

Share this post


Link to post
Share on other sites
Blackfish

You're welcome :)

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

×
×
  • Create New...