PDW
Automotive
- Oct 13, 2010
- 110
Dear all,
I hope someone can get me on the right track with some expression unskillfulness...
I want to drive a sketch, this limited by 2 Expression Lists and pending on a type of material
First Input:
(String) Material="Copper"
(List) Material_Options={"Copper"; "Graphite"}
Second input – 2 Lists of specific size for each Material:
(List) Copper_Electrode_data={{"10x30", "10x40", "10x50"}, {10, 10, 10}, {30, 40, 50}}
(List) Graphite_Electrode_data={{"15x15", "20x30", "20x40"}, {15, 20, 20}, {15, 30, 40}}
So far I have it working that the Electrode Size takes the List from Graphite_Electrode_data:
(String) Electrode_Size="20x40"
(List) Electrode_Size_Options=First(Graphite_Electrode_data)
What I would like to have is, that when Material is changed (to “Copper”), the Elektrode_Size takes the List from Copper_Electrode_data.
And offcourse how to to this?
Anybody any idea? Is the approach I have set up here ok?
Many thanks!
I hope someone can get me on the right track with some expression unskillfulness...
I want to drive a sketch, this limited by 2 Expression Lists and pending on a type of material
First Input:
(String) Material="Copper"
(List) Material_Options={"Copper"; "Graphite"}
Second input – 2 Lists of specific size for each Material:
(List) Copper_Electrode_data={{"10x30", "10x40", "10x50"}, {10, 10, 10}, {30, 40, 50}}
(List) Graphite_Electrode_data={{"15x15", "20x30", "20x40"}, {15, 20, 20}, {15, 30, 40}}
So far I have it working that the Electrode Size takes the List from Graphite_Electrode_data:
(String) Electrode_Size="20x40"
(List) Electrode_Size_Options=First(Graphite_Electrode_data)
What I would like to have is, that when Material is changed (to “Copper”), the Elektrode_Size takes the List from Copper_Electrode_data.
And offcourse how to to this?
Anybody any idea? Is the approach I have set up here ok?
Many thanks!