Author Topic: Mlisp vs Field ??  (Read 14549 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Mlisp vs Field ??
« on: September 29, 2009, 03:40:06 PM »
Hi all..

I'm thinking about a new concept to use MTEXT with Lisp.

I know that Filed is cool...but I think that it is limited...
We can use many thing like AutoCAD and Lisp Variables...

but is it anought ?

There is the first scratch of :

Mlisp v.1.0.0

(conceptual design at the moment to know your feilling pulse)

the first Gif show a simple code..
but you can do anything !!  even put an
Code: [Select]
(alert "Hello!") or (startapp ...)..thanks.


Keep smile...

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Mlisp vs Field ??
« Reply #1 on: September 29, 2009, 03:46:48 PM »
Nice idea Andrea - Am I right in saying that you are just detecting the use of parentheses within the Mtext String? Or have you come up with something more ingenious? (probably the latter :wink:)

I suppose perhaps reactors would be used to update text that contains these LISP expressions - nice idea I must say.  :kewl:

Lee

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #2 on: September 29, 2009, 03:54:55 PM »
thanks Lee.

Is that Idea was on of your program list ??  LOL !! :wink:

for the moment....I do not use any reactor.
but the power of it it is that you can run any lisp function ..

 ^-^

Keep smile...

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Mlisp vs Field ??
« Reply #3 on: September 29, 2009, 04:15:27 PM »
Could be cool, but I wouldn't want to use/support it in a production environment, especially when you share drawings with other firms.
Tim

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

Please think about donating if this post helped you.

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Mlisp vs Field ??
« Reply #4 on: September 29, 2009, 04:29:42 PM »
thanks Lee.

Is that Idea was on of your program list ??  LOL !! :wink:

for the moment....I do not use any reactor.
but the power of it it is that you can run any lisp function ..


I must admit, I hadn't thought of that - but maybe in the future, I might've...  :-P

I think you would need to implement reactors of some sort, to update the display.  :-)

Could be cool, but I wouldn't want to use/support it in a production environment, especially when you share drawings with other firms.

True, I agree - the firms would not know what to do with the text without having the function supplied, and I would think it may cause more trouble than its worth...  :oops:

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Mlisp vs Field ??
« Reply #5 on: September 29, 2009, 05:34:27 PM »
PS> Andrea, why do your screen animations always seem to have a "faded" look about them? I assume you are using Camtasia right?

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #6 on: September 29, 2009, 05:36:19 PM »
I 've played with background color...

 :-)
Keep smile...

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Mlisp vs Field ??
« Reply #7 on: September 29, 2009, 05:47:01 PM »
I 've played with background color...

 :-)

Oh right, I just prefer the jet black background - makes it clearer imo  :wink:

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #8 on: September 30, 2009, 08:04:31 AM »
Could be cool, but I wouldn't want to use/support it in a production environment, especially when you share drawings with other firms.

Thanks Tim...maybe you'r right, same thing with fields,
but I think that can be more useful than fields for many firms.
Keep smile...

CHulse

  • Swamp Rat
  • Posts: 504
Re: Mlisp vs Field ??
« Reply #9 on: September 30, 2009, 09:10:17 AM »
Excellent idea! I have been looking for a way to use lisp in fields - this seems like the solution.  8-)
Very cool indeed.
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

SPDCad

  • Bull Frog
  • Posts: 453
Re: Mlisp vs Field ??
« Reply #10 on: September 30, 2009, 09:56:17 PM »
When fields came out back in release 2005 (i believe it was), it was my first wish list item for AutoCAD 2006. To have the power of lisp in the field command.
Sadly Audotdesk still haven't listened, but thanks to Andrea I may just have that power...(with an evil laugh)

I use DIESIL in the field command whenever i can, but only for small things. The power of lisp is just not there.
At one time i used to use DIESEL with the rtext command.  I believe it was in release 2002 and 2004.

Oh how i wish i had the time and knowledge to prosue great ideas like Andrea and Lee mac have.
I am totally jealeous of you guys and gals.
I am excited and can't wait to explore the code for this lisp.

Keep up the great work!!!




AutoCAD 2010, w/ OpenDCL

visit: http://reachme.at/spd_designs

Crank

  • Water Moccasin
  • Posts: 1503
Re: Mlisp vs Field ??
« Reply #11 on: October 01, 2009, 07:03:02 AM »
When fields came out back in release 2005 (i believe it was), it was my first wish list item for AutoCAD 2006. To have the power of lisp in the field command.
Sadly Audotdesk still haven't listened,[...]
This was not in Acad2006, but now you can add LispVariables, SystemVariables and Formulas in FIELDs.
Vault Professional 2023     +     AEC Collection

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #12 on: October 01, 2009, 08:59:13 AM »
When fields came out back in release 2005 (i believe it was), it was my first wish list item for AutoCAD 2006. To have the power of lisp in the field command.
Sadly Audotdesk still haven't listened,[...]
This was not in Acad2006, but now you can add LispVariables, SystemVariables and Formulas in FIELDs.

Mlisp allow Lisp function not only lisp variables. :pissed:
Keep smile...

Crank

  • Water Moccasin
  • Posts: 1503
Re: Mlisp vs Field ??
« Reply #13 on: October 01, 2009, 12:11:28 PM »
Mlisp allow Lisp function not only lisp variables. :pissed:
OK, but all your examples are also possible with fields. The idea is interesting, but I'm not convinced. ;)
Vault Professional 2023     +     AEC Collection

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Mlisp vs Field ??
« Reply #14 on: October 01, 2009, 12:42:41 PM »
Code: [Select]
(length (layoutlist))
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox