I'm looking to create a version of the stretch command that works on dynamic blocks with linear parameters - I figure that to do this, I'd need to work out which way a parameter was pointing in the block, ie I dont want a vertical move being triggered by a horizontal stretch command!
I've gotten as far as Lee's dump dynamic properties code - this dumps a bunch of properties, one of which is the origin of the parameter, one of which is the value. None of which is the endpoint! Doing a dump on the parameter while in the block editor suggests that I should be able to (vla-get-endpoint), but passing one of the parameter objects from (vlax-invoke 'getdynamicproperties) gives an error. Cycling thro' the collection of VLA-objects shows only the lines, polylines etc.
Has anyone got any clever ideas?
Cheers!