×
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 Doc Manager API Help - Paging Handleman

SW Doc Manager API Help - Paging Handleman

SW Doc Manager API Help - Paging Handleman

(OP)
Everything is working well with the program that I have written thanks to a lot of help from users of this forum.  One additional request has been made to add to my program:  The ability to dissolve sub-assemblies into top level assemblies.  This is a one line command if I am using 'SolidWorks' API, however this function is not readily accessible from the Document Manager dialog.  But can get a list of references, both top level and sub components.  Would it be possible to read the sub references, delete out the subassembly reference in the master assembly, and add back in the components?  Basically doing the dissolve command manually.  I imagine that I would lose my mates, but that’s acceptable in most cases.  Thanks.

RE: SW Doc Manager API Help - Paging Handleman

Sorry, but I don't think that'll be possible.  You can't really modify the structure of a document with the document manager.  You can query most of it, and modify things that are there already, but since the top level assembly doesn't actually contain any references to the individual components of the subassemblies, you can't dissolve the subassemblies without opening the files with SolidWorks.

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