Author Topic: BURST command...  (Read 3055 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
BURST command...
« on: August 19, 2004, 06:19:43 PM »
Hi, I would like to know how to use the BURST command from expresstool
in a lisp..

ex:

(command "burst" item1 "")

is there a way to do that ?

any suggestions will be appreciated.

thanks. :wink:
Keep smile...

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
BURST command...
« Reply #1 on: August 19, 2004, 07:08:21 PM »
Look at the code for burst, it should tell you.
TheSwamp.org  (serving the CAD community since 2003)

Slim©

  • Needs a day job
  • Posts: 6566
  • The Dude Abides...
BURST command...
« Reply #2 on: August 19, 2004, 07:33:29 PM »
Burst is a lisp program, and I do not believe you can re-enter lisp from lisp.
I drink beer and I know things....

AVCAD

  • Guest
BURST command...
« Reply #3 on: August 26, 2004, 03:46:14 PM »
Are you sure there is no way to run a LISP routine within a LISP....that sounds sort of stupid if you cant....

But I am having the same problem...

It works in a SCript file so why cant you use a LISP file....

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
BURST command...
« Reply #4 on: August 26, 2004, 03:56:37 PM »
If it is a lisp based command you should be able to utilize it thusly ...

(c:burst)

But really, said command doesn't do anything that cannot be replicated in your own code if you just take the time to itemize what it does.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Craig

  • Guest
BURST command...
« Reply #5 on: August 26, 2004, 03:57:07 PM »
You can call a lisp from a lisp as long as the lisp routine your wanting to use is setup as a command. Kind of like
Code: [Select]
(defun c:t1 ()
  (alert "\nHello " )
  (c:burst)
  (alert "\nGoodbye ")
  )


But you can't supply a variable from one routine to another one "item1"

Craig

  • Guest
BURST command...
« Reply #6 on: August 26, 2004, 04:10:25 PM »
This is what the error will be when you try do what your asking

Quote
Can't reenter LISP.
*Invalid selection*