TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Marc'Antonio Alessi on May 07, 2021, 04:01:10 AM

Title: DraftSight and Visual Lisp
Post by: Marc'Antonio Alessi on May 07, 2021, 04:01:10 AM
Has anyone tried the compatibility of DraftSight 2021 with Visual Lisp?
Title: Re: DraftSight and Visual Lisp
Post by: BIGAL on May 07, 2021, 04:39:01 AM
Have you  :2funny: It sort of asks the question is not the answer download a demo version and try it.
Title: Re: DraftSight and Visual Lisp
Post by: Marc'Antonio Alessi on May 07, 2021, 04:43:37 AM
Have you  :2funny: It sort of asks the question is not the answer download a demo version and try it.
Thanks... I was looking for someone who had already tried it…  :whistling:
Title: Re: DraftSight and Visual Lisp
Post by: d2010 on May 08, 2021, 04:23:17 PM
I agree with "Marc'Antonio Alessi ", we search one man/woman with lot experienced in DraftSigh2021.
If I start work  now, inside DraftSight2021, then, after one year i discovery
many features.I believe all need some answer/s now, not in year2022.
Many thanks "Marc'Antonio Alessi":

Thanks... I was looking for someone who had already tried it…  :whistling:
[/quote]
Title: Re: DraftSight and Visual Lisp
Post by: Marc'Antonio Alessi on May 09, 2021, 05:29:04 AM
I have tried to find some information but there is no discussion or documentation about it.
To find out more, you need to subscribe to "DraftSight Community" or download the program and try it...
Title: Re: DraftSight and Visual Lisp
Post by: Marc'Antonio Alessi on May 14, 2021, 02:47:05 AM
I try with a new OT question: has anyone tried the FULL compatibility of GStarCAD with Visual Lisp?
Title: Re: DraftSight and Visual Lisp
Post by: d2010 on May 14, 2021, 03:38:28 PM
The main question,  anyone sells anything with GstartCad or related about  Visual-Lisp inInside GstarCad.
I try with a new OT question: has anyone tried the FULL compatibility of GStarCAD with Visual Lisp?

Anyone, make money with Artisan?
https://gstarcad.ro/gstarcad-versiunea-2020-software-cad-performant-alternativa-autocad/ (https://gstarcad.ro/gstarcad-versiunea-2020-software-cad-performant-alternativa-autocad/)
Title: Re: DraftSight and Visual Lisp
Post by: Rustabout on May 24, 2021, 03:06:40 PM
Hi Marc.

I have used GstarCAD with Visual LISP and can confirm that the support is quite good. There are some things that don't work (not necessarily related to Visual LISP). For example, command-s doesn't work in GstarCAD. But the regular 'command' function operates in it's place, where as in ACAD the code would fail.

MOST of my code worked first try. When it didn't work, small tweaks were needed to get the code to work, but it worked... and worked surprisingly well. Much of my code heavily utilized Visual LISP.

EDIT: If you use GstarCAD just for LISP, be aware that the program has some shortcomings compared to ACAD. They may, or may not, have any affect on what you do.
Title: Re: DraftSight and Visual Lisp
Post by: Marc'Antonio Alessi on May 24, 2021, 04:22:17 PM
Thanks for the reply  :-)    I use command-s only for UNDO, this is my workaround to work also with old AutoCAD or BricsCAD:
Code: [Select]
(if command-s (command-s "_.UNDO" "_END" "_.UNDO" "_AUTO" "_ON") (command "_.UNDO" "_END" "_.UNDO" "_AUTO" "_ON"))