Author Topic: Calling a express tool within a lisp?????  (Read 3434 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Calling a express tool within a lisp?????
« on: January 02, 2007, 03:16:11 PM »
How do you call a express tool command within a lisp?

I had this once long time ago for the rev-cloud command but I deleted the lisp because rev-cloud was incorporated within new release of Autocad.  Now I want to use it for Break Line Command and I cant remember.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Calling a express tool within a lisp?????
« Reply #1 on: January 02, 2007, 03:35:24 PM »
To call a lisp in a lisp that is a full command, you would call it like
(c:CommandName)
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Calling a express tool within a lisp?????
« Reply #2 on: January 02, 2007, 04:38:58 PM »
To call a lisp in a lisp that is a full command, you would call it like
(c:CommandName)

Thanks Tim.

I forgot the C: part.
I was getting all kinds of "nasty-grams" from Autocad with all the combinations I was trying.  :-D
I typically modify the code if the code is mine or someone else's.  But I don't like to modify Autocad's lisp.  I like to call the command after I make my changes as in this case change the layer to the right layer prior to.

Thanks Again.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Calling a express tool within a lisp?????
« Reply #3 on: January 02, 2007, 05:06:15 PM »
You're welcome.  From what others have done is, they will look at the lisp code provided by ET, and then call the sub functions with the appropriate arguments.  I don't, but I have seen others.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.