Code Red => AutoLISP (Vanilla / Visual) => Topic started by: danadrian.baluta@yahoo.co on April 20, 2015, 07:17:29 AM
Title: autolisp to activex variable conversion.
Post by: danadrian.baluta@yahoo.co on April 20, 2015, 07:17:29 AM
Hi. I'm trying to use visual lisp setxdata and getxdata for viewports. It works fine while I use constants, but I don't know how to convert autolisp data types to activex data types. I tried this way, but it doesn't work:
I'm sure it's wrong, but I hope it shows what I want to do. Also, when I extract data with getxdata, I get a list containing variants, which I also don't know how to convert. This is the code for getting xdata:
Title: Re: autolisp to activex variable conversion.
Post by: danadrian.baluta@yahoo.co on April 20, 2015, 10:39:24 AM
Thank you so much!
I corrected now my setxdata and getxdata functions. They work perfectly! I still have to chew on some of the code like the Nesterovsky function calling itself. This is a great example!
Title: Re: autolisp to activex variable conversion.
Post by: Lee Mac on April 20, 2015, 11:12:27 AM