Dyanmic divide in dynamic block

Dyanmic divide in dynamic block

Anonymous
Not applicable
2,962 Views
18 Replies
Message 1 of 19

Dyanmic divide in dynamic block

Anonymous
Not applicable

Hello all,


I have a drawing of a rail with holes in it.
The holes at the edges are Fixed with fixed length, in the middle the distance between each hole is changing when i change the Length of the rail, but cant pass 40 cm from each outher(the divide needs to be equal between the middle holes)
Any way to make the same calculate with the dynamic block?
In other simple words i need dynamic divine in the dynamic block

Thank you,
Doron 🙂

 

Edited by request
Discussion_Admin

0 Likes
Accepted solutions (1)
2,963 Views
18 Replies
Replies (18)
Message 2 of 19

akaterr55
Advocate
Advocate
Doron,
I'm guessing your block starts with 3 holes totaling 80 units (2 spaces), adds one hole equidistant from 81-120, after 120 units adds another, and so on. Is this correct?
How long, or how many holes is the max in your block?
Could you post a dwg of what you are trying to achieve?
0 Likes
Message 3 of 19

Anonymous
Not applicable

Take a look into the attached. 

0 Likes
Message 4 of 19

Anonymous
Not applicable

Thank you for replying

I started to create a block as i wanted but i am stuck right now at 6 holes.
The block need to get to 17 holes total ,between each hole the distance is divided and the max distance cant pass 40 cm(after 40 new hole apper...

I got to 6 holes but then things start to break and not work (dont know why)

Joe Wendy this is the right way but look what happen when i added more holes(no place i think)



Thank you and have great day...

0 Likes
Message 5 of 19

ojuris
Advisor
Advisor
Accepted solution

hi!

 

for 6 holes you forgot add correct distance multipliers for stretch actions

I add little bit different block for your problem solution (with red lines)

 

Regards

Juris

0 Likes
Message 6 of 19

Anonymous
Not applicable

wow thanks...

It will be great also to know how you did it 🙂
The block for some resion is locked and i cant see what actions you did...

On the way if you can correct the distance from end to end(side to side) is 70 first hole is 8 and sec hole is 15

Thank you
Doron

0 Likes
Message 7 of 19

ojuris
Advisor
Advisor

I didn't lock block

I just open drawing and block isn't locked - I can open it ...

0 Likes
Message 8 of 19

Anonymous
Not applicable
Its not showing me your actions.

mabey becuas i am using LT?
0 Likes
Message 9 of 19

ojuris
Advisor
Advisor

I don't think but I don't know that reason is LT

 

try open this file (found in forum - use as example for that block)

0 Likes
Message 10 of 19

Anonymous
Not applicable

This what i get when i try to open it..

On the way (if you can) to correct the distnce of the block

Side to side(start to end) =70
First hole =8
sec hole =15

0 Likes
Message 11 of 19

ojuris
Advisor
Advisor

correct what you ask

 

block doesn't have much elements - 1 horizontal constraint parameter, 1 array and some geometric constraints

I think in LT you can see that all but can't make new constraint parameters

 

Screenshot_2.jpg

0 Likes
Message 12 of 19

Anonymous
Not applicable

Hi 

i have a doubt that i havn't seen any array in block editor and also that how you merged those lookup parameter , visibility and a linear parameter together so that when the linear dimension changes it automatically changes to respective visibility page

even you hav enable the grip visibility for linear parameter alone

so if you don't mind could you explain me i try to learn dynamic blocks! but at now i am creating only simple blocks may be if i come to know these kind of solution which lead me to do some complex blocks

Thanks in Advance

0 Likes
Message 13 of 19

ojuris
Advisor
Advisor

Look this screencast - I made it for other forum member

I think some things will be clearer

 

 

0 Likes
Message 14 of 19

Anonymous
Not applicable

Thankyou!

But there is no visibility i would like to know how you merged those visibilities,lookup parameter and linear parameter together But those  screencast doesn't say that!

 you can see these attachment 

here there is no property table,functions,formua's etc but those linear parameter length activates lookup and visibility but i don't know how it works!

could you explain it little more

and if you have any tutorial regarding these kindly share it

Thanks in advance

0 Likes
Message 15 of 19

ojuris
Advisor
Advisor

understand what you ask

 

in that block there are not simple lookup table but double lookup table (1 lookup parameter have 2 lookup tables)

if you can't see - switch BACTIONBARMODE to 0

double lookup table makes them work together

 

Message 16 of 19

Anonymous
Not applicable

Good Morning
I'm having trouble making this block
I can not increase the box in both directions.
Can someone help me please?

0 Likes
Message 17 of 19

Libbya
Mentor
Mentor

The issue with your block does not appear to have anything at all to do with the subject of this thread.  It would be more appropriate to start your own thread.  

 

You have two dimensional constraints.  If you want the block to stretch when you alter the dimensional constraints, then you need all linework constrained so that it MUST stretch when the dimensional constraint value is changed.  Easier would be to use dynamic linear parameters and then add stretch actions to stretch the linework.  If you would like further assistance with your block, post your own thread.  

Message 18 of 19

Anonymous
Not applicable

Sorry for the inconvenience.

0 Likes
Message 19 of 19

Libbya
Mentor
Mentor

It's not an inconvenience for me this way or that.  My reason for promoting the use of a new thread for a new subject is for the sake of anyone searching for the subject/solution in the future.