Author Topic: Help with User Interface Form  (Read 3866 times)

0 Members and 1 Guest are viewing this topic.

rhino

  • Guest
Help with User Interface Form
« on: December 27, 2013, 07:17:04 AM »
Hi,

I'm not a coder but have written a fairly simple LISP program to draw a building plan layout (simple box with steel frames).
I couldn't wrap my head around dcl for an interface and came across this post:
http://www.afralisp.net/archive/vl/vl-vba2.htm


so I created the attached userform but I can't get it to work and don't have examples for radio buttons or combo boxes...  :ugly:

All I need is a way to get the variables transferred to LISP.

Thanks,
Chris
« Last Edit: December 27, 2013, 12:26:25 PM by rhino »

rhino

  • Guest
Re: Help with User Interface Form (Solved)
« Reply #1 on: December 30, 2013, 03:35:22 PM »
I was able to figure out the coding required using the following links:

http://forums.autodesk.com/t5/Visual-Basic-Customization/Passing-VBA-Variables-to-LISP-Variables/td-p/311327/page/2
http://www.theswamp.org/index.php?topic=40723.msg459999#msg459999
&
http://www.theswamp.org/index.php?topic=10906.0

Thanks to jbuzbee & Tony Tanzillo :kewl:
Its quite a shame Autodesk/microsoft is phasing out VBA, this was quite a simple approach to getting a user interface for AutoLISP.
VB.net and C# require you to learn coding or the language and there is no built in IDE  :|

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Help with User Interface Form
« Reply #2 on: December 30, 2013, 04:58:27 PM »
Since you are working in Lisp anyway ... have you looked at OpenDCL?

http://opendcl.com/wordpress/
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

rhino

  • Guest
Re: Help with User Interface Form
« Reply #3 on: December 30, 2013, 05:57:05 PM »
Since you are working in Lisp anyway ... have you looked at OpenDCL?

http://opendcl.com/wordpress/

Hi Kerry,
I had looked into opendcl its a great way to code the interface but needs a runtime installation - our company is privy to allowing users to install applications hence the vba option suited better.

LISP is really easy to grasp on to; I've looked at C# I feel I understand the variables and processing in LISP much easier as there is very little time on hand to learn C# and WORK hehe.

Chris