dvb loaded - test by lisp

Discussion in 'AutoCAD' started by Jan Tappenbeck, Jul 24, 2003.

  1. is it possible to check by lisp if dvb is loaded ???

    regards Jan :)
     
    Jan Tappenbeck, Jul 24, 2003
    #1
  2. Jan Tappenbeck

    MarieDez Guest

    Try this to load and run the macro. It works well for me.

    (defun VBA_Load_DVB (dvbName ModuleName MacroName /)
      (vl-load-com)
      (setq acadApp (vlax-get-acad-object))
      (setq advbFile (findfile dvbName))
      (if advbFile
         (progn
    (setq avbaMacro (strcat ModuleName "." MacroName))
    (vla-LoadDVB acadApp advbFile)
    (vla-RunMacro acadApp avbaMacro)
         )
      )
      (princ)
    )

    Good luck
     
    MarieDez, Jul 25, 2003
    #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.