its fair to say that I'm vastly inexperienced in th world of writing codes.
what I'm trying to do should be very simple.
I have a segmented 90 degree bend with 2 segments, I've also created a form where the number of segments can be adjusted (this will either be 2 or 3).
What I'd like is to be able to type in '3' in my form and the model update to have 3 segments (an the angles all adjust to suit), but I'm not sure how to change the number of segments, i think some code may be necessary.
Anybody help?
Solved! Go to Solution.
Solved by JavaLodge. Go to Solution.
i'm using 2014.
I will send you the file on Monday - as its the end of my working week!
I did think that may be a way to get the result I'm after, but I could not see a way to do it correctly.....how do you specify the angle to fill in a pattern, i.e. pattern the segment 3 times to fill 90 degrees? - and also pattern the segment to ensure the lines meet end to end?
Here's something I came up with pretty quickly. It's not the most elegant solution, but it could help.
Just change the parameter values to alter the radius, number of sections, and angle. I left all the work geometry visible so you could see how I did it.
Hope this helps. By the way, it's a 2014 file.
thanks JavaLodge, thats exactly what I was after.
Looking at how you did it looks straightforward......i would have never thought of using a loft!
I will look at it in more detail, but thank you for the help.