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:
(defun c:gggxd
(/ xtypeout xdataout
) )
Please help me sort this out. If you could point me to the right documentation, I'll sort it myself.
Thank you,
Adrian