yajis_narif Posted May 11, 2011 Posted May 11, 2011 hii !!! is there any way to calculate the number of rows and column of an array ???? thank you ^^ Quote
Dipali Posted May 11, 2011 Posted May 11, 2011 Your question is very vague, give some more info about waht you are trying to 'array' Quote
ReMark Posted May 11, 2011 Posted May 11, 2011 Could the OP be interested in finding out the number of rows and columns of an existing array? Maybe he got a drawing from someone else with a very large array of columns, or trees, or floor tiles, etc. Quote
Lee Mac Posted May 11, 2011 Posted May 11, 2011 Are you referring to the new array entities in ACAD2012? Quote
Organic Posted May 11, 2011 Posted May 11, 2011 Select/highlight one row, look in the properties pane to see how many objects are selected. Repeat for column. This assumes a block was used. Otherwise you would need to divide the property pane object number display by the number of objects in one single element. Quote
alanjt Posted May 11, 2011 Posted May 11, 2011 Use Select or any random command that allows for multiple selections. eg. Command: SELECT Select objects: Specify opposite corner: 6 found Quote
ReMark Posted May 11, 2011 Posted May 11, 2011 Assuming all the arrayed objects were on one layer, freeze all other layers, window the objects then click on Properties. At the top there should be a count. Quote
yajis_narif Posted May 11, 2011 Author Posted May 11, 2011 thank you yes i have an array in my drawing and i want to calculate the number of column and rows with autolisp so that i can loop in it ?! how can i do that Quote
ReMark Posted May 11, 2011 Posted May 11, 2011 Loop in it? You want the lisp routine to repeat right? None of the suggestions above meet your needs? This must be done with a lisp routine? Quote
yajis_narif Posted May 11, 2011 Author Posted May 11, 2011 yes ReMark exactly i want to repeat an instruction: (while (number of column) do something Quote
Tharwat Posted May 11, 2011 Posted May 11, 2011 Maybe !!! (setq ss (ssget )) (repeat (sslength ss) ....... ....... 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.