VLISP or VBA challenge

Discussion in 'AutoCAD' started by Rob Davis, Aug 5, 2004.

  1. Rob Davis

    Rob Davis Guest

    Would someone like to take on this challenge? I know a bit of lisp,
    almost nothing of VLisp (Bob helped me out on some lisp here a week or
    so ago) anyway, I do know enough to know that the program that I need
    will most likely have to use Mcneel's doslib or equal program (I think
    anyway) What I am needing is a program in Vlisp or I guees it could be
    done in VBA. I would try to start it and get help along the way, but, I
    have NO idea how to even start this one. If someone has something that
    does something like it to get me started I might be able to work it from
    there. I wouldn't even be sure of this though. For some reason I have a
    hard time with doing programs.

    This program would work and do as follows.

    It would allow you to pick a number of dwgs in a folder, then it would
    bind all of the xrefs within those dwgs out to another user designated
    folder. Sounds kind of short and simple I guess. However I know it would
    involve quite a bit of code. Anyone want to take on the challenge or on
    helping me with it? I do know (maybe) a bit more about programming than
    I think, however I have a hard time putting it together.

    Thanks,
    Rob
     
    Rob Davis, Aug 5, 2004
    #1
  2. Why not use eTransmit?

    --
    R. Robert Bell


    Would someone like to take on this challenge? I know a bit of lisp,
    almost nothing of VLisp (Bob helped me out on some lisp here a week or
    so ago) anyway, I do know enough to know that the program that I need
    will most likely have to use Mcneel's doslib or equal program (I think
    anyway) What I am needing is a program in Vlisp or I guees it could be
    done in VBA. I would try to start it and get help along the way, but, I
    have NO idea how to even start this one. If someone has something that
    does something like it to get me started I might be able to work it from
    there. I wouldn't even be sure of this though. For some reason I have a
    hard time with doing programs.

    This program would work and do as follows.

    It would allow you to pick a number of dwgs in a folder, then it would
    bind all of the xrefs within those dwgs out to another user designated
    folder. Sounds kind of short and simple I guess. However I know it would
    involve quite a bit of code. Anyone want to take on the challenge or on
    helping me with it? I do know (maybe) a bit more about programming than
    I think, however I have a hard time putting it together.

    Thanks,
    Rob
     
    R. Robert Bell, Aug 5, 2004
    #2
  3. Rob Davis

    Rob Davis Guest

    Good question Robert. I'm not the one needing it. I'll ask and let you
    know what they say. Didn't even think about it. I know....duh ;-)
     
    Rob Davis, Aug 5, 2004
    #3
  4. It's all in the forest... ;^)

    --
    R. Robert Bell


    Good question Robert. I'm not the one needing it. I'll ask and let you
    know what they say. Didn't even think about it. I know....duh ;-)
     
    R. Robert Bell, Aug 5, 2004
    #4
  5. Rob Davis

    Rob Davis Guest

    One other thing, they don't have 2005 yet, so therefore they cannot tell
    it to bind the xrefs. :-(
     
    Rob Davis, Aug 5, 2004
    #5
  6. I'm going to pass on this one (sorry), as I have no need for this code. Have
    you tried a google search to see if something similar has been posted here
    previously?

    --
    R. Robert Bell


    One other thing, they don't have 2005 yet, so therefore they cannot tell
    it to bind the xrefs. :-(
     
    R. Robert Bell, Aug 5, 2004
    #6
  7. Rob Davis

    Rob Davis Guest

    No didn't do a search, thanks for helping. I'll see what I can find. See
    you on the NG's ;-)
     
    Rob Davis, Aug 5, 2004
    #7
  8. Rob Davis

    T.Willey Guest

    I don't think this should be to hard. Get the old directory, where all the drawings are that you want to bind the xfers, then select the drawings you want to change. Then select the directory you want to save the new ones to. Open the drawings one at a time, then in each one run your program to bind all xref's, either as binds or inserts, then do a save as to the new directory, and open the next one. One of the only problems is if you can't bind the xfer's. I have come across some where I couldn't, so I'm not sure how you would want to handle that.

    Tim
     
    T.Willey, Aug 5, 2004
    #8
  9. Rob Davis

    Matt W Guest

    I love a good challenge.

    Stay tuned....
     
    Matt W, Aug 5, 2004
    #9
  10. Rob Davis

    Rob Davis Guest

    Cool Matt. Ignoring the unloaded is a GOOD thing. I'll let you know what
    they say.

    -Rob
     
    Rob Davis, Aug 6, 2004
    #10
  11. Rob Davis

    Rob Davis Guest

    Matt, can you make it to where if there is not a layout already created
    that it does not try to create one? Or where it just stays with the
    layout or model tab that is current?

    Thanks,
    Rob
     
    Rob Davis, Aug 6, 2004
    #11
  12. Rob Davis

    Rob Davis Guest

    Matt, how hard would it be to make it create a zip file to the
    destination directory and if possible make it start an outlook email
    message with that Zip file as an attachment?

    Thanks,
    Rob
     
    Rob Davis, Aug 6, 2004
    #12
  13. Rob Davis

    Matt W Guest

    Awww.... for cryin' out loud!

    You're killin' me!

    (I'll see what I can do)

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | Matt, how hard would it be to make it create a zip file to the
    | destination directory and if possible make it start an outlook email
    | message with that Zip file as an attachment?
    |
    | Thanks,
    | Rob
    |
    | Rob Davis wrote:
    |
    | > Matt, can you make it to where if there is not a layout already created
    | > that it does not try to create one? Or where it just stays with the
    | > layout or model tab that is current?
    | >
    | > Thanks,
    | > Rob
    | >
    | > Matt W wrote:
    | >
    | >> Here you go...
    | >>
    | >> It's a VBA app that allows the user to select a folder of drawings,
    then
    | >> from the list of drawings in that folder the user can select which
    | >> ones to
    | >> process (bind xrefs).
    | >> The user also has an option to select a destination directory (the
    | >> directory
    | >> where the drawings will be saved, then processed).
    | >>
    | >> At first, I didn't think I'd have a use for this either, but since
    we're
    | >> always sending drawings to clients, architects, engineers, etc... this
    | >> seemed like a pretty good idea.
    | >>
    | >> The only "glitch" that I've run across (and I don't know if there's a
    | >> right/wrong way to handle this) is if the program encounters an xref
    | >> that is
    | >> attached/overlaid but is unloaded, it will just ignore it.
    | >>
    | >> If you have any trouble running it, let me know.
    | >>
    | >>
    | >>
     
    Matt W, Aug 6, 2004
    #13
  14. Rob Davis

    Rob Davis Guest

    LOL, I thought you always liked a good challenge. ;-)
     
    Rob Davis, Aug 6, 2004
    #14
  15. Rob Davis

    Matt W Guest

    Outlook is easy.

    The ZIP thingy isn't.



    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | LOL, I thought you always liked a good challenge. ;-)
    |
    | Matt W wrote:
    | > Awww.... for cryin' out loud!
    | >
    | > You're killin' me!
    | >
    | > (I'll see what I can do)
    | >
     
    Matt W, Aug 6, 2004
    #15
  16. Rob Davis

    Rob Davis Guest

    for my own curiosity, how come? Is it because outlook is MS and zip isn't?

    Thanks,
    Rob
     
    Rob Davis, Aug 6, 2004
    #16
  17. Rob Davis

    Rob Davis Guest

    Thanks Matt, that's pretty quick.
     
    Rob Davis, Aug 6, 2004
    #17
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.