cadtutorseenu Posted January 24, 2009 Posted January 24, 2009 I am new to autocad 2007 as well as autocad vba.i would like to move a line from one place to another place in a drawing using autocad VBA. I found the coding 'object.move'.but i dont want like that. it should ask the destination point where i want. (but the autocad move command gets the object with cursor wherever the mouse goes.) how to do this thru vba coding?? how to work like move command?? please help me. Quote
Lee Mac Posted January 24, 2009 Posted January 24, 2009 This thread may get more answers if moved to the AutoLISP & VBA customization forum. - see if you can get a moderator to move it for you Quote
cadtutorseenu Posted January 25, 2009 Author Posted January 25, 2009 which thread?? where to find it?? also i am beginner for www.cadtutor.net. please give the code once more so that i can understand easily... this is my humble request sir. Quote
dbroada Posted January 25, 2009 Posted January 25, 2009 There are several fora on this site. Lee was suggesting that your question is more of a VBA one than a beginners one so you would be better off asking in this http://www.cadtutor.net/forum/forumdisplay.php?f=21 section. I am not sure what you are after. I read it that you want to see the line attached to your cursor, which is natural in AutoCAD but you want to use VBA where I don't think it is that simple to do. Why don't you want to use AutoCAD to do this? Forgot to say - now that this is here DON'T start a new thread there. It gets confusing with the same question asked in two places but don't be surprised if somebody moves this request into that section. Quote
cadtutorseenu Posted January 27, 2009 Author Posted January 27, 2009 i have created custom toolbar button in my autocad. when i click it the object (line,rectangle,circle...) will be pasted in drawing screen. but when i try to select the destination point, the object has to be shown with my mouse pointer. this is the requirement. is it possible or not?? i am quite comfortable with VBA bcoz i know vb. tats y i am asking for vba code. Quote
fuccaro Posted January 27, 2009 Posted January 27, 2009 Thread moved in the VBA forum. Welcome Cadtutorseenu! Quote
dbroada Posted January 27, 2009 Posted January 27, 2009 i have created custom toolbar button in my autocad. when i click it the object (line,rectangle,circle...) will be pasted in drawing screen. but when i try to select the destination point, the object has to be shown with my mouse pointer. this is the requirement. is it possible or not?? i am quite comfortable with VBA bcoz i know vb. tats y i am asking for vba code. to the best of my knowledge, it is possible but not easy. I once saw a way on another site which relyed on another rotine running in the background. It slowed my computer up so much it wasn't worth using. Things may have moved on though. Quote
Lee Mac Posted January 27, 2009 Posted January 27, 2009 I'm not sure I quite understand the request - and I may be missing something obvious here. Are you saying you want to replicate the "move" command in ACAD, but without ghosting the objects to be moved? 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.