Author Topic: help with lisp code  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

PM

  • Guest
help with lisp code
« on: August 27, 2020, 12:02:07 PM »
Hi i find a lisp code that create coordinate table but i want to do same changes.

this code select a polyline and add point nymbers, dimensions and export table with coordinates

1) i thy to change the Row Height in the table but some cells didint change.
2)I already  have point numbers and dimension in my drawing. So i don't need new. I want to delete this part
3)this routine insert the point numbers cownter clockwise and not from specific start point. I want to pick the start point and export coordinates clockwise .(i attach a dwg file to see an example)
i see that convert degrees to rad.I use grads .....i dont know if there is the problem
4)I want to export the table in paper space if it possible .

can any one help ?

Thanks


PM

  • Guest
Re: help with lisp code
« Reply #1 on: August 27, 2020, 01:31:18 PM »
any ideas?

PM

  • Guest
Re: help with lisp code
« Reply #2 on: August 27, 2020, 03:23:16 PM »
i update the code because have a problem a didnt work

d2010

  • Bull Frog
  • Posts: 326
Re: help with lisp code
« Reply #3 on: August 28, 2020, 12:59:52 PM »
i update the code because have a problem a didnt work
First problem. We need translate from Greece To English/Freach/Spanish.
One main-?>problem is language.Soo.I wrote (mb_language) index
Please replace   000000000000 with english-words.
  eng="000000000000000";
Code: [Select]
     if (index==100) greece="\n _d,%<a_ ^^%+,¢"_¡ d<%oa_¡-¡...",
                             english="\nPrompt the user to select polylines:",
                             spanish="tb = también (also see tmb and tmbn –too“,
                             italian="soundlisten)), officially the Vatican City State (Italian: Stato della Città del Vaticano;[g] Latin: Status Civitatis Vaticanae)";

« Last Edit: August 28, 2020, 04:47:38 PM by d2010 »

PM

  • Guest
Re: help with lisp code
« Reply #4 on: August 29, 2020, 10:11:01 AM »
Hi d2010. I translate the code. Can you help now ?

Thanks

d2010

  • Bull Frog
  • Posts: 326
Re: help with lisp code
« Reply #5 on: September 03, 2020, 09:18:01 AM »
Thanks
Can translate this file .txt, is this method ?
Code: [Select]

You search, inside .txt
"H ,+_,<oñaßá dßíá^á <%<^%+ñ_S+^+\n\nc   T+âñ<osñ,< 2018\n       A,síí+ I_"`,á"
You replace with (mb_language 305)
You add
  if (index==305) $rr="H ,+_,<oñaßá dßíá^á <%<^%+ñ_S+^+\n\nc   T+âñ<osñ,< 2018\n       A,síí+ I_"`,á",
                          eng="Here you write english"; else

You fix the math-equations inside myptsinter.txt
« Last Edit: September 03, 2020, 09:33:53 AM by d2010 »

PM

  • Guest
Re: help with lisp code
« Reply #6 on: September 03, 2020, 10:49:29 AM »
NO ?????