JoeMama22 Posted May 12, 2021 Posted May 12, 2021 Can somebody help me with modifying my file output so that the follow order is achieved. The block coordinates also need to be added but I cannot figure out how to write the LISP command for it. VBA and macros work too, I just am less familiar with using those two. Below you can see the two dwg and the output my current dimexp.lsp provides. Any and all help is appreciated. Thank you! dimexp.lsp Quote
JoeMama22 Posted May 12, 2021 Author Posted May 12, 2021 Note: If the code makes a table in CAD that can also work as I can just export the table out to excel fairly easily. Quote
BIGAL Posted May 13, 2021 Posted May 13, 2021 (edited) If you look at this for insertion of a block, as a start, but you will need to work out is it a dim or a block (setq ent (entget (car (entsel "\nPick a block)))) (setq ins (cdr (assoc 10 ent))) Edited May 15, 2021 by BIGAL Quote
ronjonp Posted May 13, 2021 Posted May 13, 2021 1 hour ago, BIGAL said: If you look at this for insertion of a block, as a start, but you will need to work out is it a dim or a block (setq ent (entget (car (entsel "\nPick a block)))) (setq ins (cdr (assco 10 ent))) Better check the 'assco' and also make sure you have a selection for entget. 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.