@Simon_Mathews wrote:
ive got a block with two different size unistruts on it , now for some reason i can't get my first array to work on both visability states . im pretty sure im doing it how i did before when it worked but it wont do it now , am i missing something ?
basically each unistrut has the ability to stretch and rotate , the 2nd array (small ovals) attached to the stretch works but the 1st array which i want to array the first line every 3000mm doesnt. when it works it shows how many 3m lengths of unistrut you have if you count them. can someone help me and tell me where ive gone wrong please , ive spent far to long trying to get this to work .
With arrays, the first arrayed object does not appear until the associated parameter is 2X the column offset of the array. I think of it this way, the first object exists when the associated parameter is the length of the column offset, the second appears at 2X, the 3rd appears at 3X, etc... The way you have it set up, the first new line will not appear until the linear parameter is 6000mm.
The solution is to add a second linear parameter, set its initial length to 3050, set its chained property to yes, set its grips to 0, and stretch it with the Stretch action. Associate the array of the line with that new chained linear parameter.
Attached is a new version of your block. I cleaned it up. There is no reason to double all of the parameters, actions, and linework for the second visibility state. You can use parameters and actions in multiple states. This is convenient both because it reduces the complexity of the block but also because it allows you to switch the visibility state of the hole size without the stretched length changing. I also resized the rotate parameter and added a scale for it so the grip is always at the end of the block. I also placed the visibility parameter at that end so that the result is that all the grips are always readily accessible without needing to zoom/pan back to the origin of the block. You might also consider using a polar parameter instead of the linear and rotate parameters for a combined stretch/rotate of the block using a single grip, but I did not do that as it may be desirable to keep them separate.
See attached. Hope that helps.