Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

new programmer, need help edit SW macro

  • Thread starter Thread starter middle2012
  • Start date Start date
M

middle2012

Guest
Hello Forum Members,
I am a newbie to the SolidWorks forums and still an
amateur programmer, but I have the basics down I think. I
am trying to write record a macro in solidworks that does
a few things but I am having some difficulty.
Here are the 2 things I am currently trying to
accomplish:
1.From an assembly, open a part, then make a
drawing from the part, then dimension the part, then save
the part as a part number that is in an excel
spreadsheet. I want to basically open the spreadsheet,
look at a column and grab a number from the last cell in
the column, then ad a +1 to that number, put it in the
empty cell below, then close and save the part as that
new part number. So far I have been able record a macro
that opens the part, and makes a drawing, but the part
doesn
 

Part and Inventory Search

Sponsor

Back
Top