Need help with VB, get and paste a custom property

Discussion in 'SolidWorks' started by SW Monkey, Aug 1, 2005.

  1. SW Monkey

    SW Monkey Guest

    I have a macro I wrote to fill out a form in our PDM system. One of
    the fields in the form is "Description". I want to grab the
    description custom property for the document and paste it in the field
    on the form.

    I eventually want to setup our PDM system to grab all of the custom
    property info from the document automatically, but I need this macro
    for the time being.

    Can someone help me out? Thanks.
     
    SW Monkey, Aug 1, 2005
    #1
  2. SW Monkey

    That70sTick Guest

    Do you mean a SW custom property named "Description", or the generic
    file property?

    If you want the generic property, you probably need the DSOfile object.
    Go to msdn.com and search for "DSOfile".
     
    That70sTick, Aug 1, 2005
    #2
  3. SW Monkey

    SW Monkey Guest

    SW custom property, $PRP:"Description"
     
    SW Monkey, Aug 1, 2005
    #3
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.