Hello all,
I need some help. I have built tools for AutoCAD and there are code functions to get input from the user. (i.e. Getpoint, Getobject, Getangle etc...) I am looking for the same in Lua. Anyone have these or know how to make them?
AutoLISP Examples
(setq p (getpoint))
(setq p (getpoint "Where? "))
(setq p (getpoint '(1.5 2.0) "Second point: "))
Gadget user interaction
- jimandi5000
- Vectric Wizard
- Posts: 1050
- Joined: Wed Mar 11, 2015 6:50 pm
- Model of CNC Machine: Home Made 60 x 120
- Location: North Houston Tx.
- Contact:
Gadget user interaction
Thanks,
Jim
Jim
- Adrian
- Vectric Archimage
- Posts: 14546
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: Gadget user interaction
Far as I know the only way with LUA as it's used with Vectric to get user input is to use HTML and the associated get/put functions. The standard io read functions don't work as the there isn't a command line to capture info form and other methods require other libraries which is more hassle than just popping up a simple form.
- jimandi5000
- Vectric Wizard
- Posts: 1050
- Joined: Wed Mar 11, 2015 6:50 pm
- Model of CNC Machine: Home Made 60 x 120
- Location: North Houston Tx.
- Contact:
Re: Gadget user interaction
Thanks Adrian,Adrian wrote:Far as I know the only way with LUA as it's used with Vectric to get user input is to use HTML and the associated get/put functions. The standard io read functions don't work as the there isn't a command line to capture info form and other methods require other libraries which is more hassle than just popping up a simple form.
Thanks,
Jim
Jim