Jump to content

Edit line weight in nested blocks of all XREF drawings.


crsimmons

Recommended Posts

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.

Link to comment
Share on other sites

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

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...