×
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

SW API Help - change configuration of drawing view

SW API Help - change configuration of drawing view

SW API Help - change configuration of drawing view

(OP)
First, the background - we have products that can fit into many applications, the same product can be used in several hardware configurations, so I have created drawing templates that we use, and all that needs to be done is to change the configuration of one drawing view within a drawing.  I would like to automate this process, but I just can't seem to find any way to write code to change a configuration of a drawing view.  Any help would be greatly appreciated.

Thanks,
Steve

Steven Danasko, CSWP
SolidWorks 2007 - SP2.2
UG NX3
Pro/Engineer Wildfire 2.0

RE: SW API Help - change configuration of drawing view

I use Lenny's "ConfigManager" macro.  It may not due exactly what you want, but the code example may help.
http://www.lennyworks.com/solidworks/default.asp?ID=20

Joe
SW Office 2006 SP5.1
P4 3.0Ghz 1GB
ATI FireGL X1

RE: SW API Help - change configuration of drawing view

What is your experience level with API?  Have you looked at View::ReferencedConfiguration?

RE: SW API Help - change configuration of drawing view

(OP)
Handleman,
Not much experience at all.  I can write some simple code, but basically trying to learn as I go.

Steven Danasko, CSWP
SolidWorks 2007 - SP2.2
UG NX3
Pro/Engineer Wildfire 2.0

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