×
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

SheetFormatVisible in VB - 2004

SheetFormatVisible in VB - 2004

SheetFormatVisible in VB - 2004

(OP)
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.

RE: SheetFormatVisible in VB - 2004

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

from (the City of) Barrie, Ontario.

Everyone has a photographic memory. Some just don't have film.

RE: SheetFormatVisible in VB - 2004

(OP)
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

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