×
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

Mass Assign Component Properties
2

Mass Assign Component Properties

Mass Assign Component Properties

(OP)
Hello,

My workplace has been using Component properties to fill in the template for a Drawing, but I see the possibility of using them to help me input data into a costing excel file combined with the export BOM function.

However neither of these component properties (Surface Area and Mass) have been used before in any existing components. Is there a way either at the assembly or even better directory level for me to add these two component properties without overwriting those which already exist.

To add insult to injury anything related to EPDM is not available at this time.

Any help would be appreciated, manually playing with BOM's is not amusing.

RE: Mass Assign Component Properties

Take a look at the task manager. If I recall correctly, you can add rows to your properties through the task manager.

Jeff Mirisola
My Blog

RE: Mass Assign Component Properties

2
Attach is a macro to add these two properties in the files in the specified folder. You can edit the macro to have custom properties or configuration specific properties.

You might have to fix the missing libraries

  1. Extract the file to know location.
  2. Open SolidWorks (SW) and go to Tools > Macro > Edit. This will open the browse window.
  3. Browse to the extracted macro file.
  4. This will open macro editor. Go to Tools > References in the macro editor.
  5. Un-check the libraries with missing symbol and select the required libraries based on your SW version.
  6. Edit the paths as required
  7. Save and close the macro.
  8. Now run the macro via Tools > Macro > Run and browse to this saved macro.
  9. You get a pop up window to select the folder location of the part files. In case you don't see that, press Alt + Tab to get to that window after you run the macro.
  10. Test the macro on sample files before running on the actual data.

Deepak Gupta
CSWE, CSWP, CSDA
SW 2012 SP5.0 & 2013 SP 1.0 EV
Boxer's SolidWorks™ Blog
SolidWorks™ Rendering Contest

RE: Mass Assign Component Properties

(OP)
Thanks Gupta, that script worked perfectly.

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