Attributes that auto update when moving along a path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I am looking for an answer to a question I have been having regarding using a lisp to show a dynamic attribute value of sorts.
What I am looking to do or know if you can actually do it is if you can insert an attributed block along a set path, then after insertion and before the lisp finishes, be able to MOVE that block and have the attribute dynamically update as you move it.
For better context, I have 2 grade elevation points and I need to find a point between those 2 points, but lets say I noticed I misplaced the the point I needed and want to move it before exiting the lisp. If I move it I want to be able to see it as I move it along the set path between the 2 original points as well as see the value of the attribute change as I move it.
I know moving something along a path is possible using the vlax-curve functions. And I know I could do the math for the value using something like vlax-curve-getClosestPointTo. What I dont know is if you can have the attribute show the updated value as you move it.
Anyone have any thought on this?
Thanks.