Goal: Modify the export setting in Mechanical to include node numbers in exports.
Code:
ExtAPI.Application.ScriptByName("jscript").ExecuteCommand('WB.PreferenceMgr.Preference("PID_Show_Node_Numbers") = 1;')
Release 18.2 - © ANSYS, Inc. All rights reserved.