Results 1 to 2 of 2

Thread: Philosophical Thread

  1. #1
    Login to Give a bone
    0

    Default Philosophical Thread

    Ok, here's the score.

    I have a dwg w/ an embedded VBA program. Currently a form is launched once the dwg is activated. After a series of forms a boat load of variables are transferred to the dwg. Additionally the VBA loads a LISP then launches it. After the program runs a print has been generated for our clients. Here's where I have a delimma. Project handlers are saving this file that loads all of the unnecessay programs. I want autoloading when they autosave, however once the save I don't want any auto loading.

    What are some alternative methods to this?

    Thanks.

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Philosophical Thread

    Well, I wouldn't use an embedded VBA macro. There is never a guarantee that will be be run anyway, since the user is always given the chance to refuse to run the code (think anti-virus).

    Therefore, executing the code from AcadDoc.lsp gives you the chance to see if the correct .dwg environment exists before executing the code.
    R. Robert Bell
    Design Technology Manager
    Stantec
    Opinions expressed are mine alone and do not reflect the views of Stantec.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •