Author Topic: Help to conver an Autocad lisp to work in GstarCAD  (Read 891 times)

0 Members and 1 Guest are viewing this topic.

mhy3sx

  • Newt
  • Posts: 120
Help to conver an Autocad lisp to work in GstarCAD
« on: October 27, 2023, 03:50:53 PM »
The attach lisp works fine to Autocad, But I need replace Autocad with Gstarcad and when I run the code gives me this error.

Code: [Select]
An Error : GstarCAD variable setting was rejected: DYNPROMPT 3 occurred.
I write DYNPROMPT to the command line and gives me the option 0 and 1

Can anyone help ???

Thanks

BIGAL

  • Swamp Rat
  • Posts: 1428
  • 40 + years of using Autocad
Re: Help to conver an Autocad lisp to work in GstarCAD
« Reply #1 on: October 27, 2023, 07:23:28 PM »
I think its this (mapcar 'setvar sv_lst '( 0 1 3 1)) can not have 3
A man who never made a mistake never made anything

mhy3sx

  • Newt
  • Posts: 120
Re: Help to conver an Autocad lisp to work in GstarCAD
« Reply #2 on: October 28, 2023, 03:50:38 AM »
Hi BIGAL. I find this line

Code: [Select]
(mapcar 'setvar sv_lst '( 0 1 3 1))

and i try to change it but after I select the fist point the lisp stop. In the help of the GstarCAD I find this.

Can you fix the code?

Thanks