"Set Document Property" API Question

Discussion in 'SolidWorks' started by vmuntean, Jun 4, 2008.

  1. vmuntean

    vmuntean Guest

    Hello,

    I am trying to figure out the syntax for checking to see if a file has
    been throught the Set Document Property process or not. I do not need
    to change the property, just to find out if the part is a library part
    (property state NO) or just a regular one.

    (The application is available at C:\Program Files\SolidWorks\Toolbox
    \data utilities\sldsetdocprop.exe)

    I can't figure out the syntax at all. Are the following commands the
    ones that will do this?
    SwDMDocument::ToolboxPart /
    swDmNotAToolboxPart /
    swDmToolboxStandardPart / swDmToolboxCopiedPart

    Any help or direction will be greately appreciated.
    Thank you,
    Vlad
     
    vmuntean, Jun 4, 2008
    #1
  2. vmuntean

    vmuntean Guest

    A slight correction - The property state is YES when the part is
    changed to a toolbox part. It is NO when it is converted back to a
    regular part.
     
    vmuntean, Jun 4, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.