assafius Posted September 10, 2012 Posted September 10, 2012 Hey, I drew a polyline (vla-object) and now I want to move/offset it from a base-point to a target point. Can anyone tell me how to LISP it please ? Thanks fellows Quote
Tharwat Posted September 10, 2012 Posted September 10, 2012 As a matter of respect , you should reply to your threads to people whom spend their time trying to help you . http://www.cadtutor.net/forum/showthread.php?72520-Line-to-vla-object Quote
assafius Posted September 10, 2012 Author Posted September 10, 2012 I would if I could.. but I'm a novice myself with Lisp. That is why I bother you with all those questions. Quote
MSasu Posted September 11, 2012 Posted September 11, 2012 I believe you misunderstand @Tharwat complaints; is about the lack of feedback from your side on the said previous thread. Just test the code provided as example and tell him/her if that is or not what you were looking for. Mere thanks for other’s effort don’t hurt, also. This way people involved in this Forum will know that their efforts weren't in vain. Don't be afraid, nobody is expecting you to provide solutions if don't have (yet) the required knowledge. Quote
Dadgad Posted September 11, 2012 Posted September 11, 2012 If you have in mind specific OFFSET distances which you frequently need, perhaps it would be a good idea to create some custom MULTILINE styles incorporating the offset, in that way when you draw it, it is simultaneously offset. As mentioned by Tharwat and Mircea, assistance is freely given by forum members. I should hope that a little feedback and common courtesy is not too much to ask? Quote
pBe Posted September 11, 2012 Posted September 11, 2012 Hey, I drew a polyline (vla-object) and now I want to move/offset it from a base-point to a target point. Can anyone tell me how to LISP it please ? Thanks fellows "Move" would have a different effect than "offset", so which one do you prefer? or both? Quote
assafius Posted September 11, 2012 Author Posted September 11, 2012 Thanks guys, I have tried offseting before but did not get satisfactory results. Perhaps I didn't use it correctly but in any case my aim is to use the move method. Does anyone have references on how to lisp movements of objects from basepoint to another? Quote
pBe Posted September 11, 2012 Posted September 11, 2012 vla-object (vlax-invoke (vla-copy [i]obj[/i]) 'Move pt1 pt2) ename or selection sets (command "_move" [i]selset[/i] "" "_non" pt1 "_non" pt2) Quote
assafius Posted September 11, 2012 Author Posted September 11, 2012 Ok thanks it solved my problem Quote
pBe Posted September 11, 2012 Posted September 11, 2012 Ok thanks it solved my problem Good for you, Glad it helps 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.