Activate cross section to select radius item
Hi everyone !
I'm trying to select "Ri" and "Ro" in a circular section in order to check these radius as parameters (in design modeler). I have written this code via Jscript cs1=agb.CSCircTube(0.0059945, 0.0067055); cs1.Name = "CircularTube1"; ag.listview.ActivateItem("Ro"); ag.listview.SelectedItem.IsChecked="true"; ag.listview.ActivateItem("Ri"); ag.listview.SelectedItem.IsChecked="true"; body1 = ag.fm.Body(ag.fm.BodyCount-1); body1.Name = "Body1"; body1.SetCrossSection(cs1); But, when i try this code, i have an error message " Item Ri not found " (same thing for Ro) because the circular section isn't recognized. Someone have an idea to activate a cross section in Design Modeler ? Thank you for your help. Ben |
All times are GMT -4. The time now is 09:05. |