Dynamic block for numbering steps in a stair

Dynamic block for numbering steps in a stair

Anonymous
Not applicable
1,655 Views
2 Replies
Message 1 of 3

Dynamic block for numbering steps in a stair

Anonymous
Not applicable

Hi, I want to make a dynamic block that could be a bit difficult.

Please forgive my english.

 

I want a dynamic block to number the steps. I can't post my block because the block I made is totally useless.

For example, you have a block with a "1". Then you have four parameters: starting number, final number, space between them, and maybe rotation.

So, if you stretch the block with two arrows it will change the separation between numbers, and the other one will add more numbers (1,2,3,4,5,6....)

So you can number stairs very quickly and easily ("similar" to revit).

 

I tried to make it with visibilty (adding all numbers by hand) but I think there is a better way to do this.

 

I know that it sounds a bit difficult but I think it's possible, but not with my skills hehe.

 

Thank you very much!!

 

0 Likes
1,656 Views
2 Replies
Replies (2)
Message 2 of 3

neaton
Advisor
Advisor

Check out Lee Mac's >>Incremental Array<< LISP routine. I don't think there is a way to do what you ask inside a block because you can't use an if statement in a block expression to control the number of text elements.

Nancy


@Anonymous wrote:

Hi, I want to make a dynamic block that could be a bit difficult.

Please forgive my english.

 

I want a dynamic block to number the steps. I can't post my block because the block I made is totally useless.

For example, you have a block with a "1". Then you have four parameters: starting number, final number, space between them, and maybe rotation.

So, if you stretch the block with two arrows it will change the separation between numbers, and the other one will add more numbers (1,2,3,4,5,6....)

So you can number stairs very quickly and easily ("similar" to revit).

I tried to make it with visibilty (adding all numbers by hand) but I think there is a better way to do this.

I know that it sounds a bit difficult but I think it's possible, but not with my skills hehe.

Thank you very much!!


 

0 Likes
Message 3 of 3

Anonymous
Not applicable

HI! Thank you very much, that Lisp is very useful, it is very similar to what I want.

I knew the dynamic block I want is a bit difficult, I thought it could be possible.

 

Thanks you anyway!!

Greetings!

0 Likes