TheBrain Posted October 16, 2009 Posted October 16, 2009 Does anyone know if it is possible to create an action on a single-line dynamic block that retains the original insertion point but moves the endpoint of the line using X and Y coordinates? Quote
fuccaro Posted October 16, 2009 Posted October 16, 2009 It should be possible if you are talking about relative coords of the moving endpoint -meaning relative to the block insertion point. For absolute coords... maybe with some programming. Quote
TheBrain Posted October 16, 2009 Author Posted October 16, 2009 It should be possible if you are talking about relative coords of the moving endpoint -meaning relative to the block insertion point.For absolute coords... maybe with some programming. I'm trying to move it using VBA, so that part is covered. Point is that I can't get the endpoint of the line in a variable. If you know how to do it with relative coords I can try to find out how to acces it with VBA. Quote
fuccaro Posted October 16, 2009 Posted October 16, 2009 Sorry, I am not familiar with the VBA. I will move this thread in the dedicated forum. Quote
TheBrain Posted October 16, 2009 Author Posted October 16, 2009 Sorry, I am not familiar with the VBA. I will move this thread in the dedicated forum. If you can tell me how to create an action in a dynamic block that can move the endpoint of a line, I think I can manage. Quote
Tommy78 Posted October 16, 2009 Posted October 16, 2009 I gave it a quick try (see attach) Is this what you mean? The only thing you have to do is to assign a basepoint parameter to the start of the line and a point parameter to the end of the line, then doubleclick the point parameter and assign a stretch to it. (the attachement is a block > insert) line.dwg Quote
TheBrain Posted October 16, 2009 Author Posted October 16, 2009 I gave it a quick try (see attach)Is this what you mean? The only thing you have to do is to assign a basepoint parameter to the start of the line and a point parameter to the end of the line, then doubleclick the point parameter and assign a stretch to it. (the attachement is a block > insert) You're the greatest! This is exactly what I was looking for. Maybe a bit too soon... The line changes perfectly, but the attachted text attributes don't stay aligned and on the same relative position on the line. Can this also be done by creating a basepoint for the text attibutes or something? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.