Jump to content

Recommended Posts

Posted (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 by Coder
Posted

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.

Posted

Thank you Daggad :)

 

I know the command but I need to use multiple selection set because i have many blocks to go with .

Posted

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)?

Posted

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

Posted

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.

Posted

Thank you Bhull for your time and help , that is the same also . :(

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...