Propagation of Document properties

Discussion in 'SolidWorks' started by Muggs, Jun 21, 2005.

  1. Muggs

    Muggs Guest

    Hello All,

    Occasionally I'll get some files from a client that I have to do some work
    on, and I would like to change their document properties to my document
    properties.
    Is there any way to populate their part files with document properties from
    my part template?

    TIA,
    Muggs
     
    Muggs, Jun 21, 2005
    #1
  2. Muggs

    Seth Renigar Guest

    http://www.esoxrepublic.com/freeware/index.html

    There is a link named Copy Custom Info macro . This is a great macro that I
    use all of the time (thanks Roland).

    With a part open, start the macro. It will instantly ask you what file do
    you want to copy the custom props from. You can then pick and choose which
    props you want to copy, or select all. Click copy and that's it!
     
    Seth Renigar, Jun 21, 2005
    #2
  3. Muggs

    Muggs Guest

    Thanks Seth,
    I have Propagator, and it works great, but what I want to do is propagate
    document properties not custom properties.

    I hope I'm making sense.
    Muggs
     
    Muggs, Jun 21, 2005
    #3
  4. Muggs

    Seth Renigar Guest

    Sorry. I mis-read your question. I don't have an answer for you regarding
    document properties. I too would like to know of a way to do this. I wish
    that macro would do custom properties and document properties because it is
    so very easy to use. But it doesn't.
     
    Seth Renigar, Jun 21, 2005
    #4
  5. Muggs

    That70sTick Guest

    Thanks for the positive feedback, Seth.

    I have considered a similar program for document properties. Mostly I
    am daunted by the sheer number of properties that need to be copied.
    They don't enumerate nicely the way custom properties do. Otherwise,
    it shouldn't be too difficult (in theory).

    I started a new job in February as a project engineer. This has
    dampened (completely halted for the moment) my SW API development work.
    Now that the family is settling into new home & town, I hope to resume
    soon. Maybe this could be a new project (though I still owe Ed Eaton a
    program--I haven't forgotten, Ed!).
     
    That70sTick, Jun 21, 2005
    #5
  6. Muggs

    remy martin Guest

    Try this, copy document properties (excel macro).
    Works for system, part, assy and drawing.

    http://swtools.cad.de/download.htm
    Under freeware section.

    To use the tool, open SW drawing (the one with desired properties).

    Open Excel macro, set to appropriate worksheet (drawing), then select "get
    options". Only need to do this once or for each different template you have
    (multiple Excel files).

    Open client drawing, switch back to Excel macro, then select "set options".

    Copydocoption-1.7.0.xls exists which includes 2005 & 2006 options, but has
    not been released yet. If you inquire, you may be able to get this version
    or maybe he will finally release for public consumption.

    cheers
     
    remy martin, Jun 21, 2005
    #6
  7. Muggs

    Muggs Guest

    Well, it's something that I would pay a reasonable amount for.
    Please keep this NG informed if/when you get around to it.

    Muggs
     
    Muggs, Jun 21, 2005
    #7
  8. Muggs

    Seth Renigar Guest

    OH YES... I forgot about this one.

    I have used this in the past. It works well for the most part. I did have
    some problems with colors IIRC. Seems like it had something to do with
    feature colors. By default if you change the color of "Shading", all of the
    feature colors in the list would change also. After running the excel
    macro, if you change the color of "Shading", none of the feature colors in
    the list change (IIRC). There was no way to get this functionality back.
    You would literally have to change the color for every feature type within
    the document properties>colors to get a single color model. Of course this
    might be fixed now, or I may not be remembering correctly either. I would
    test it on a junk model first.
     
    Seth Renigar, Jun 21, 2005
    #8
  9. Muggs

    Muggs Guest

    That works great! Thanks Remy.

    Now I wish it could populate all part files in a folder.
    I know, I know, don't look a gift horse in the mouth.

    Thanks again,
    Muggs
     
    Muggs, Jun 21, 2005
    #9
  10. Muggs

    Seth Renigar Guest

    I just tested it again using the latest version (1.7.0). It still has the
    problem that I described earlier.
     
    Seth Renigar, Jun 21, 2005
    #10
  11. Muggs

    remy martin Guest

    Please report this as a bug to the author.
    Contact info is on description worksheet inside macro.
     
    remy martin, Jun 21, 2005
    #11
  12. Muggs

    Seth Renigar Guest

    I will do this tomorrow. Can you please confirm this problem for me before
    I do (if you can follow it)? I just want to make sure it is not something
    unique with my system settings that is causing it first.

    Thanks,
     
    Seth Renigar, Jun 21, 2005
    #12
  13. Muggs

    remy martin Guest

    Confirmed.

    Never noticed this before because I only use this macro for drawings and
    system options.
     
    remy martin, Jun 21, 2005
    #13
  14. Muggs

    Seth Renigar Guest

    OK thanks... I just reported the problem to the author (Stefan Berlitz).
     
    Seth Renigar, Jun 22, 2005
    #14
  15. Muggs

    Seth Renigar Guest

    remy,

    Yes I did. He did confirm that what I was seeing WAS really happening.
    Turns out that even if you manually change any of the feature colors in the
    list, they will never be populated with the shaded color again. There is no
    way to reset this. There is a workaround with this Excel macro though. I
    was going to post his response, but it slipped through the cracks as busy as
    I have been around here. Below is a condensed version of his response:
    My preference is the third option. Simply prevent the copydocoptions.xls
    macro from changing any of the feature colors. This is done with a simple
    negative number in the first column of the respective row(s). I have not
    actually tried it yet, but I'm sure it will work. I am going to make a
    permanent change to a copy of this .xls file so I don't have to do this
    every time.
     
    Seth Renigar, Jul 15, 2005
    #15
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.