![]() Posted in AutoLISP, AutoLISP: Blocks, AutoLISP: Modify. Command to select a block and then this command will select the other blocks like the selected block. I need help with what is i hope an easy lisp routine. All i need is it to select a certain list of block names that i insert into the lsp routine. The AutoLisp Advanced Tutorial. Entity DXF Group Code. To list an insert entity in AutoCAD you type LIST and select the block. To do this in AutoLisp you. ![]() Even though, you can use the SELECTSIMILAR [] command to select a block and then this command will select the other blocks like the selected blockHere is a LISP rouinte that will make a selection set of a named block. Here’s how: Edit the below lisp routine to select that you want selected. To do this, change the word “test” to the name of your block within quotes. Save the lisp routine SELECTBLOCK that’s all Thanks to Tharwat and him being extremely patient, he made many variations to this program. The code in its various revisions can be found here. Search for: • Recent Posts • • • • • • Follow Blog via Email Enter your email address to follow this blog and receive notifications of new posts by email. Join 933 other followers • Archives • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Top Posts • • • • • • • • • • • Categories • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Meta • • • • • • • @ Is your website down? • @ @ @ Yes!!!!! • @ @ @ @ On one hand; Don't be too rough on them. On the other hand; The truth hurts. • @ • @ 2018 hot fix that fixes both dragging C3D labels and grip editing menu of Plines, Mleaders,,, • @ @ Great job @ • Fix Broken @ Concrete Hatch Pattern in 2 clicks. (ssget (list (cons 0 'insert')(cons 2 'yourblockname'))) wrote in message news:[email protected]. So far, I'm working on this, where FloorData is the name of the block, it's always the only entity on layer Data if that offers any possibilities. (DEFUN C:B () (B) ) (defun B() (setq ename(entget FloorData )); Pretty sure this part is wrong (setq BlockInfo(entget ename)) (setq att1(entget (entnext ename))); this should set att1 to;the value of the 1st attribute in the block (Princ att1) ). There are better ways to store adata about a floor plan than within a block (which may be erased) User variables (USERR1 - USERS1 etc) or dictionaries or xdata if we knew what the purpose was.? PJ wrote in message news:[email protected]. So far, I'm working on this, where FloorData is the name of the block, it's always the only entity on layer Data if that offers any possibilities. (DEFUN C:B () (B) ) (defun B() (setq ename(entget FloorData )); Pretty sure this part is wrong (setq BlockInfo(entget ename)) (setq att1(entget (entnext ename))); this should set att1 to;the value of the 1st attribute in the block (Princ att1) ). Thanks for the replies. (ssget (list (cons 0 'insert')(cons 2 'FloorData')))) seems to ask me to select objects, which is what I don't want. The purpose is to store data about that drawing such as project number, name, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |