×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

SWX 2008 macro needed

SWX 2008 macro needed

SWX 2008 macro needed

(OP)
I'm looking for a macro that will link all available drawing views in a SLDDRW file to a BOM table in the same file. Does anyone know of such a macro or is able to provide one? Thanks in advance for any help you may be able to provide.

Dave Lehman

RE: SWX 2008 macro needed

Are you looking for an option to connect each view to the configuration being used for BOM generation??

Deepak Gupta
SW 2010 SP4.0 & 2011 SP1.0
DriveWorks Pro 7 SP5
Boxer's SolidWorks™ Blog

RE: SWX 2008 macro needed

(OP)
I'm presently revising dozens of drawings with a number of views on each sheet. These are all independent assemblies in each drawing. (Not configs) I'm adding parts to each assembly, then updating the prints with additional balloons and sorting the BoM. Only some of the views are linked to the BoM in the drawing view properties, so the item numbers on the balloons don't always update properly unless I check the item in each view's properties to link it to the BoM. This slows things down a lot.

I'm not sure if I've explained this clearly. Does this make sense to you? What I need is some way to automate checking those boxes and selecting the proper BoM for all views on all sheets in the active drawing file. (There is only one BoM in each drawing, but their names vary from one drawing to the next.)

Again, thank you for any help you may be able to provide me.

RE: SWX 2008 macro needed

If all the views on a sheet relate to the same assy model, the BOM only needs to be linked to one view ... usually the first one placed.

RE: SWX 2008 macro needed

Howdy,

Don't you hate that! The SW default is to not check the box "Keep Linked to BOM" when a view is created. Attached is a macro that finds all the views on all the sheets associated with the BOM. It's set up for SW 2007. Sorry I never had a copy of SW 2008, so I can't change the library references for you. If you don't know how, maybe some nice helpful person on this forum will do it for you smile

Enjoy

Tobin Sparks
www.nov.com

RE: SWX 2008 macro needed

(OP)
Thanks Tobin1. I'll give that a try.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources