Coder Posted June 7, 2014 Posted June 7, 2014 (edited) Hello guys This is my first post here and hope all guys here doing well . I need a lisp routine than can copy a closed polyline or circle from blocks to active space ( Model ) . Any one can help me please ? Thanks in advance . EDIT : I need to use ssget function to be able to select many blocks please . Edited June 7, 2014 by Coder Quote
Dadgad Posted June 8, 2014 Posted June 8, 2014 Welcome to CADTutor. I can't help you with writing the lisp, but if you are not aware of it, there is an Express Tool called Nested Copy, which I love, and essentially does what you are trying to do. Quote
Coder Posted June 8, 2014 Author Posted June 8, 2014 Thank you Daggad I know the command but I need to use multiple selection set because i have many blocks to go with . Quote
Bhull1985 Posted June 9, 2014 Posted June 9, 2014 So you've got nested blocks in your drawing, and you're wanting to be able to select multiple nested closed polylines/circles from within those nested blocks, and then have a routine copy all of the selected items into modelspace, perhaps placing them on the clipboard or at the origin (0,0,0)? Quote
Bhull1985 Posted June 9, 2014 Posted June 9, 2014 Hey man, try this routine provided by Lee Mac. http://www.lee-mac.com/extractnestedblock.html Quote
Coder Posted June 9, 2014 Author Posted June 9, 2014 Thanks for you answer Bhull Lee routine is with single selection , and I need to be able to select many blocks . I upload a sample block and I need to copy the circle in RED color and the Polyline rectangle in YELLOW in the same location as the original blocks are . Many thanks Fan.dwg Quote
Bhull1985 Posted June 9, 2014 Posted June 9, 2014 Oh I see- well after a quick search and looking in a place or two, it seems as if what you're requesting is a bit above my coding capabilities- selecting multiple nested entities has even given such gurus as Lee Mac and Tharwat troubles, as is seen in this thread: http://www.cadtutor.net/forum/showthread.php?86573-Selection-set-with-multiple-nested-objects That's not to say they can't do it- that's just saying that I cannot do it. Sorry about that, but perhaps this insight will be of assistance anyways. Quote
Coder Posted June 9, 2014 Author Posted June 9, 2014 Thank you Bhull for your time and help , that is the same also . 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.