Bill Tillman Posted July 26, 2016 Posted July 26, 2016 I have a simple block in my drawing file called "JC". I would like to use the array command to copy this block into a single row with 12 columns. I can do it using the command line but can't seem to find a way to select the block using LISP. Quote
BIGAL Posted July 27, 2016 Posted July 27, 2016 Something like below maybe use vl-add-array (command "INSERT" JC pt 1 1 0) ; pt bottom left etc (setq obj (entlast)) (command "-array" obj "" "R" 5 5 100 100) Quote
troggarf Posted July 28, 2016 Posted July 28, 2016 No need for a LISP. The COPY command has an array option built in starting from ACAD 2012. There's a regular copy-array as well as a copy fit-between option (see the links below) https://autocadtips1.com/2011/03/24/autocad-2012-copy-tool-with-array-option/ https://autocadtips1.com/2011/03/24/autocad-2012-copy-with-array-fit/ 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.