flowerrobot Posted July 8, 2009 Posted July 8, 2009 Fella's Regarding that topic a while about, ive being useing entmake alot in my progn's. Thanks you that little program it helps alot (attached for those who missed it) But im trying to do a dynamic block, which contains visablity and polar strech. Has any one worked with dynamic blocks before... Attached is the block im currently doing now, I assume one you done one it will be the same for all. EXEMK.LSP ITA.dwg Quote
The Buzzard Posted July 9, 2009 Posted July 9, 2009 Fella's Regarding that topic a while about, ive being useing entmake alot in my progn's. Thanks you that little program it helps alot (attached for those who missed it) But im trying to do a dynamic block, which contains visablity and polar strech. Has any one worked with dynamic blocks before... Attached is the block im currently doing now, I assume one you done one it will be the same for all. Hey flowerrobot, A couple of days ago I found these links. I am not sure if this is what you may need, But check it out anyway. I do not have any background with dynamic blocks and wish I could help you further. Good Luck, The Buzzard http://mdouglas.blogs.com/in_the_dynamic_interface/2005/07/dynamic_lisp_co.html http://blog.jtbworld.com/2009/02/mysteries-of-autodesk-caves-dynamic.html Dblockcode.lsp Quote
flowerrobot Posted July 9, 2009 Author Posted July 9, 2009 cheers for that, interesting how they handled altering dynamic blocks. Im not sure if i wasnt clear or not, Im after the code to create a dynamic block. (entmake (list (cons 0 "BLOCK")(cons 2 "ITEMBALLOON")(cons 70 1)(cons 10 (list 0 0 0)))) (entmake (list (cons 0 "CIRCLE")(cons 100 "AcDbEntity")(cons 67 0)(cons 8 "dim")(cons 62 4)(cons 6 "ByBlock")(cons 370 15)(cons 100 "AcDbCircle")(cons 10 (list 0 0 0))(cons 40 4.5))) (entmake (list (cons 0 "ATTDEF")(cons 100 "AcDbEntity")(cons 67 0)(cons 8 "dim")(cons 62 2)(cons 100 "AcDbText")(cons 10 (list 0 0 0))(cons 40 3.5)(cons 1 "1")(cons 50 0)(cons 41 1)(cons 51 0)(cons 7 "Standard")(cons 71 0)(cons 72 0)(cons 11 (list 0 0 0))(cons 210 (list 0 0 1))(cons 100 "AcDbAttributeDefinition")(cons 280 0)(cons 3 "ITEM NUMBER")(cons 2 "item_num")(cons 70 0)(cons 73 0)(cons 74 0)(cons 280 0)(cons 39 0)(cons 6 "BYLAYER"))) (entmake (list (cons 0 "ENDBLK"))) Quote
flowerrobot Posted July 9, 2009 Author Posted July 9, 2009 basicly when you look at a entities properties all it shows is (-1 . ) and goes for 3 entnext with the same responce which are related items to item Quote
David Bethel Posted July 9, 2009 Posted July 9, 2009 Tony Tanzillo says it can be done, but it sounds very complicated. http://forums.augi.com/showthread.php?t=75023&page=3 I know nothing about them. -David Or maybe http://mdouglas.blogs.com/in_the_dynamic_interface/2005/07/dynamic_lisp_co.html Quote
flowerrobot Posted July 10, 2009 Author Posted July 10, 2009 Mate Thanks for that aye, from reading that topic and a few others, i did not see it was possible. It is possible in .net api, but im only at a basic level with the hole .net thing let alone O.O. So it looks like ill have to skip this one Thanks heaps for the help 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.