i have several parts attached to a skeleton that has a program in that prompts me to enter what mode i want
mode 1 is flat
mode 2 is folded
mode 3 is flexed
i also have several parts that are affected by the mode
when in mode 2 most of the parts are at their longest.
i need to write a relation for a dimension that regenerates or calculates all three modes and returns the longest length to drive my dimension
in the skeleton i have created an analysis feature measuring the curve length and set my dimension to equal it
i have written this but it is not working
if d12:15==1220
x=length:fid_ctr_lp5:23
endif
if d12:15==1554
y=length:fid_ctr_lp5:23
endif
if d12:15==1879
z=length:fid_ctr_lp5:23
endif
d334=max(x,y,z)
d12 is part of the skeleton that is moving but i do not like using this in the relation because the values could change in the future. they currently represent the length of the cylinder extending.
mode 1 is flat
mode 2 is folded
mode 3 is flexed
i also have several parts that are affected by the mode
when in mode 2 most of the parts are at their longest.
i need to write a relation for a dimension that regenerates or calculates all three modes and returns the longest length to drive my dimension
in the skeleton i have created an analysis feature measuring the curve length and set my dimension to equal it
i have written this but it is not working
if d12:15==1220
x=length:fid_ctr_lp5:23
endif
if d12:15==1554
y=length:fid_ctr_lp5:23
endif
if d12:15==1879
z=length:fid_ctr_lp5:23
endif
d334=max(x,y,z)
d12 is part of the skeleton that is moving but i do not like using this in the relation because the values could change in the future. they currently represent the length of the cylinder extending.