How to modify the selection information Column Control settings?
Landon Mitchell Kanner
Member, Employee, GitHub-issue-creator Posts: 316
✭✭✭✭
in Structures
What is the script to activate the ‘Mass’, ‘Centroid’, and ‘Moment of Inertia’ in the section information Column Control panel? Because, by default, some quantities are not activate, I need to force turn those on then I can export the section information.
Tagged:
0
Answers
-
ExtAPI.Application.ScriptByName("jscript").ExecuteCommand("DS.Script.CCO_Body_ShowMass=true") ExtAPI.Application.ScriptByName("jscript").ExecuteCommand("DS.Script.CCO_Body_ShowCentroid=true") ExtAPI.Application.ScriptByName("jscript").ExecuteCommand("DS.Script.CCO_Body_ShowMomentOfInertia=true") ExtAPI.Application.ScriptByName("jscript").ExecuteCommand("DS.Script.CCO_Body_ShowGeneral=true")
You can see complete list of options in the function SetDefaultColumnControlOption() at line 368 here:
C:\Program Files\ANSYS Inc\v242\aisol\DesignSpace\DSPages\scripts\DSSelectionInfoPaneScript.jsSee also: https://discuss.ansys.com/discussion/4534/open-the-selection-information-panel-in-mechanical/
0