Vineet Babbar Posted July 16, 2011 Share Posted July 16, 2011 Hi All, I need a lisp command where i would like to insert the two block in the encircled area. Case: In this circle the two lines that are on the same layer but with the different colors showing the different sizes of pipe as shown. I need to insert two particular blocks from my block list taking the consideration of the colors of these two different pipes (which are on the same color). Your response will be highly appreciated. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 18, 2011 Share Posted July 18, 2011 You need to do a few things select your objects then pull them apart for two reasons 1 is for colour second is to work out closest end for the block. You could have more than two items selected VL code is the way to go vl-get-object colour & vlax-curve-getcloset-point-to I am still old school lisp so will let some one else post VL code. Quote Link to comment Share on other sites More sharing options...
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.