I cant seem to find where I can change a variant if I use vla-getpoint. In VBA, I have a point called InsPT1, and I can change the Z value using InsPT1(2) = WhateverNumber. How can I do something similiar in Vlisp?
Actually, let me tell you what I have done, so you can see the nasty version of poor code.
(setq INSPT (getpoint "INSERTION POINT: "))
(setq INSPT (vlax-3d-point (list (car INSPT) (cadr INSPT) (atof BUSHEIGHT))
)
)
(setq ROT (vla-getangle UTIL INSPT "SELECT ROTATION: "))
The only way I could figure it out was to use getpoint, then pull car and cadr out, and put my Z in and then make a vlax-3d-point