Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

SheetFormatVisible in VB - 2004

Status
Not open for further replies.

DMichaels

Mechanical
Mar 5, 2002
22
0
0
US
I would like to turn off my sheet formats before doing a save as DWG. I am having trouble getting the sheet.sheetformatvisible property to work in VB. Would someone please show me how a VB program that would just do this one thing would like ? By the way, this appears to be a new property for Solidworks 2004.
 
Replies continue below

Recommended for you

Could you not just create a simple "record keystrokes" macro to do the same.

[cheers] from (the City of) Barrie, Ontario.

[lol] Everyone has a photographic memory. Some just don't have film. [lol]
 
I have tried the macro record method. I have created macros to turn on and turn off the sheet format. They error on the line :

Part.SetupSheet4 "Sheet1", 12, 12, 1, 1, False, "C:\Program files\SolidWorks\data\Templates\belcan\a3paper.slddrt", 0.42, 0.297, "Default", False

 
Status
Not open for further replies.
Back
Top