Jump to content

Dynamic block problem - spreading lines equally along straight


Recommended Posts

Posted

I am really struggling to get this dynamic block working and I have run out of ideas :cry: - It's a plan view on the flight of steps and I would like to space the risers equally between the bottom and top nosing. I was trying to use array but the value (tread going) stays the same... So I need something thath would work just like divide command.

 

Eventually I need a block with different tread numbers which will be just a matter of creating a few visibility states, just need a little help on this issue first. Any ideas how to deal with this?

:wink:

Flight.dwg

Posted

I may be being dim here, but why doesn't ARRAY work for you in this instance?

 

(I can't see dwgs on this computer btw)

Posted

Because you set this dimension is set in stone in the block editor and it cannot be changed to anything else. Let's say that the step going is 250 - it will work with flights 1000, 1250, 1500 etc long giving you 4 goings. But with a flight being 1200 it will give you 5 goings: 4@250 and 1@200 instead of preferred 5@240

 

I just hope there is some simple feature in block editor that would allow dividing a line into a few equal sections, or at least copying an element a number of times and space them next to each other.:geek:

Posted

like strix I don't have AutoCAD here to try this but can you...

 

set a distance parameter for each tread as well as the overall height. Chain action all the others and feed them with the distance/n. Either that or a move action in a similar manner.

Posted

I was almost there with the parameters. You just need move actions on each line. Try this file.

 

By the way, don't call blocks by the same name as the file, you can't insert them easilly.

Flight.dwg

  • 2 weeks later...
Posted

Thanks a lot Dave, I've managed to sort this problem out thanks to your help, it all works fine now :)

  • 4 years later...
Posted

I've tried to comprehend this block for a long time now with no success.

Please elaborate how it was made.

 

There is only 2 parameters that i can see and I believe there must be more...

Posted

there are 2 distance parameters but lots of move actions, one for each line I think.

Posted

Yes, i understand that, but i do not get distance multiplier. How was 0.9 calculated?

 

Oh...I get it... It's different for each line...

Posted

I can't remember! I think it was just a guess. Possibly I put 10 treads so each one would move 10% of the full stretch. Had I used 8 treads then they would have to have moved 12% each. For that sort of block "about right" is good enough.

Posted

Man, This was brilliant! it works great. You devided 1 with number of spaces and was subtracting that number multiplied with number of spaces from the origin from 1 for each object... Great!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...