AnsweredAssumed Answered

Macro creation; Pulling word document when adding a part to a certain type of assembly

Question asked by Luke Senerchia on Feb 23, 2016
Latest reply on Feb 24, 2016 by Luke Senerchia

Hello all,

 

I am trying to figure out how to go about creating a macro. What I would like the macro to do is...

 

When a part is being added to an assembly of a table or a cart, I want the word document of the part specifications/part specific instructions to pop up after the part has been placed into the assembly.

 

I think that all of the word documents will likely be stored either in one large folder, or with the corresponding part (whichever this community thinks would be easier)

 

The main questions I have right now are...

 

1.) How will Solidworks will know if the assembly the part is being added to is a table or cart assembly? (Should I make a specific template for a table or cart assembly?)

2.) How will the word document, which will have a different name than the part number, will know to pop up. (is there a form I can edit in the properties of the word doc? or a field in the document itself that Solidworks will be able to read to tie it to this part number?)

 

If anyone has any kind of idea of how I may be able to achieve this, it would be greatly appreciated. This community is a fantastic resource and I'm sure someone here has done something like this before. Thank you very much!

 

Luke

Outcomes