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

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Mlisp vs Field ??
« Reply #15 on: October 01, 2009, 12:52:40 PM »
Code: [Select]
(length (layoutlist))

haha good example  :wink:

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #16 on: October 01, 2009, 01:10:02 PM »
another one ??   :evil:
Keep smile...

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Mlisp vs Field ??
« Reply #17 on: October 01, 2009, 01:14:46 PM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Mlisp vs Field ??
« Reply #18 on: October 01, 2009, 01:15:36 PM »
Nice idea Andrea  - good example.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Mlisp vs Field ??
« Reply #19 on: October 01, 2009, 01:19:31 PM »
This has monstrous potential, I just wish it was core.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Crank

  • Water Moccasin
  • Posts: 1503
Re: Mlisp vs Field ??
« Reply #20 on: October 01, 2009, 01:21:22 PM »
Good examples!
As soon as everybody at our company knows a bit of lisp I´ll put it in the menu.   :-P
Vault Professional 2023     +     AEC Collection

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Mlisp vs Field ??
« Reply #21 on: October 01, 2009, 01:25:46 PM »
I wonder... could you incorporate this functionality into the Text of the "famous" DiLeader...   :-P  ;-)

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #22 on: October 01, 2009, 01:31:57 PM »
all it is now possible...

even hide the code.
Keep smile...

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Mlisp vs Field ??
« Reply #23 on: October 01, 2009, 01:34:57 PM »
I'm loving the use of MTJIGSTRING in all this  :-P

Andrea, just curious, would the code work if I were to have a textstring something like this:

Code: [Select]
"Hello Andrea (Andreetti) would this work? (princ "\nNice Program")"

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #24 on: October 01, 2009, 01:45:59 PM »
I'm loving the use of MTJIGSTRING in all this  :-P

Andrea, just curious, would the code work if I were to have a textstring something like this:

Code: [Select]
"Hello Andrea (Andreetti) would this work? (princ "\nNice Program")"

Until the program is not ready....I got no error but wrong result..
let me take some days and i'll be back with the first attempt code.   8-)
If you have some other string that I can test please let me know.
thanks.
Keep smile...

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Mlisp vs Field ??
« Reply #25 on: October 01, 2009, 01:49:44 PM »
I'm loving the use of MTJIGSTRING in all this  :-P

Andrea, just curious, would the code work if I were to have a textstring something like this:

Code: [Select]
"Hello Andrea (Andreetti) would this work? (princ "\nNice Program")"

Until the program is not ready....I got no error but wrong result..
let me take some days and i'll be back with the first attempt code.   8-)
If you have some other string that I can test please let me know.
thanks.

Yeah, it's going to need some kind of validation, similar to the Diesel one in Fields.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Mlisp vs Field ??
« Reply #26 on: October 01, 2009, 04:02:03 PM »
I'm loving the use of MTJIGSTRING in all this  :-P

Andrea, just curious, would the code work if I were to have a textstring something like this:

Code: [Select]
"Hello Andrea (Andreetti) would this work? (princ "\nNice Program")"

Until the program is not ready....I got no error but wrong result..
let me take some days and i'll be back with the first attempt code.   8-)
If you have some other string that I can test please let me know.
thanks.

I just wondered about the method of LISP code validation, as Alanjt points out.  :wink:

CHulse

  • Swamp Rat
  • Posts: 504
Re: Mlisp vs Field ??
« Reply #27 on: October 02, 2009, 09:25:23 AM »
Code: [Select]
(length (layoutlist))

haha good example  :wink:
:) Thought you'd like that.


Ha Ha, where have I seen that one before?  :wink:


I can't wait to try this...  8-)
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Mlisp vs Field ??
« Reply #28 on: October 02, 2009, 02:37:21 PM »
Code: [Select]
(length (layoutlist))

haha good example  :wink:
:) Thought you'd like that.

Ha Ha, where have I seen that one before?  :wink:


I can't wait to try this...  8-)

Did you see my solution. ;)
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Mlisp vs Field ??
« Reply #29 on: October 02, 2009, 03:00:19 PM »
Well....after some test..I have realized that program will be more handy that i've thougth.
For the moment, there is no reactor on it...(making some tests)
but I've created MLISP & MLISPEDIT command..
i'l try to be back next week with the code.
Have a nice weekend all. !   :laugh:



Keep smile...