ALKISTI Posted August 15, 2013 Share Posted August 15, 2013 Hello, I would like to place several (in every case their number is different) 2d objects _simple rectangls_ into equal distances _at a given length(in every case this is different). I know how to do it manually : lets say that I have 11 boxesX150mm each and the total length is 3100mm and the gap(Y) between the boxes is what I am looking for. so the equation goes like that: 12Y+11X150=3100 but I would like to do it in a more automatic way because there is a LOT of the same stuff that I have to finish. thank you in advance. I am almost sure that someone has faced the same problem with me ..but I dont know how to search for it. I attach a small photo for better understanding. alkisti Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 Sorry if this seems the obvious choice, but why don't you use "measure"? Quote Link to comment Share on other sites More sharing options...
Tharwat Posted August 15, 2013 Share Posted August 15, 2013 Or maybe the ARRAY command Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 Sorry if this seems the obvious choice, but why don't you use "measure"? because with the command array I dont know where I should place the first object! unless there is a way and I dont know how to use the command array correctly. I did some efforts with array rectangle and array path but it didnt work. even before submitting the first post. anyway thank you! Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 15, 2013 Share Posted August 15, 2013 The Measure command using the Block option might work. Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 because with the command array I dont know where I should place the first object! unless there is a way and I dont know how to use the command array correctly. I did some efforts with array rectangle and array path but it didnt work. even before submitting the first post. anyway thank you! I guess I see the problem there, but array and measure are not the same command. Give it a try and see if it produces what you need. Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 I did some efforts with the array command but I cant fix it. The measure command is for measuring but apart from this I should create a block-something that I dont want. Its highly improbable that there isnt a quicker solution. architects confront this kind of problem in a daily basis. thank you again for your time. I ll do some extra searching. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted August 15, 2013 Share Posted August 15, 2013 Is it okay with you to relocate the closed LWpolylines with a lisp that asks for the gap distance between all of them ? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 15, 2013 Share Posted August 15, 2013 Use the Block option of the DIVIDE command. Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 Use the Block option of the DIVIDE command. Sounds like he isn't using blocks, just rectangles and the likes. Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 I dont want to set a specific gap distance! I just want to have equal gaps!! so, maybe no. Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 Is it okay with you to relocate the closed LWpolylines with a lisp that asks for the gap distance between all of them ? I think the gap is the hidden variable that he doesnt want to do the math to find. Sounds like he has the total distance, the width of the object and the amount of said object he wants in the area... Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 I ll try this, thank you! Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 thats correct! And I am a she. ! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 15, 2013 Share Posted August 15, 2013 Sounds like he isn't using blocks, just rectangles and the likes. Understood, but such rectangles could easily be converted to anonymous blocks then exploded following the array - I have posted several programs in the past to convert a set of objects to an anonymous block. I dont want to set a specific gap distance! I just want to have equal gaps!! so, maybe no. The DIVIDE command will calculate equal gaps for the given number of divisions. Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 sorry, but the divide command doesnt do it! I just checked. I created a block and then I divided the specific length with this block. the gap in the beginning and in the end is bigger that the rest of the gaps! really thank you very much for your time. I ll do it manually for the time being! have a nice day-evening! Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 sorry, but the divide command doesnt do it! I just checked. I created a block and then I divided the specific length with this block. the gap in the beginning and in the end is bigger that the rest of the gaps! really thank you very much for your time. I ll do it manually for the time being! have a nice day-evening! Did you make sure that the insertion point of the block was centered on the object? Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 Yes!! I did it wrongly in the beginning and then I corrected it by creating a second block !!! Quote Link to comment Share on other sites More sharing options...
Commandobill Posted August 15, 2013 Share Posted August 15, 2013 Yes!! I did it wrongly in the beginning and then I corrected it by creating a second block !!! So, it worked? Quote Link to comment Share on other sites More sharing options...
ALKISTI Posted August 15, 2013 Author Share Posted August 15, 2013 no, it didnt work! I got bigger gaps at the endings and smaller inbetween! Quote Link to comment Share on other sites More sharing options...
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.