|
[Sponsors] |
[ANSYS Meshing] Ansys Meshing Macro using jscript!!! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2024, 00:16 |
Ansys Meshing Macro using jscript!!!
|
#1 |
New Member
ChangDeok Shin
Join Date: Jan 2022
Posts: 3
Rep Power: 4 |
Content:
Hello, this is my second post. I am trying to write a macro in Ansys Meshing that automatically assigns Named Selections after importing a Parasolid file. I have spent a lot of time on this, but I have not yet achieved the desired result. Here is the code I have: js var DS = WB.AppletList.Applet("DSApplet").App; NS = DS.Script.addNamedSelection(false, "NAME") DS.Script.changeActiveObject(NS.ID) ListView.ActivateItem("Scoping Method") ListView.ItemValue = "Worksheet" //ListView.SelectedItem.IsChecked="true" NS.AddCriteriaData(); When I run this code, it creates a Worksheet Named Selection, but I cannot find any information on how to determine the Action, Entity type, or Criteria. If anyone has experience in this area, I would appreciate your advice. Thank you. |
|
Tags |
cfd, macro, meshing, script |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A CFX-POST error (ver 14.5.7) | wangyflp88 | CFX | 2 | July 22, 2017 01:17 |
Can you help me with a problem in ansys static structural solver? | sourabh.porwal | Structural Mechanics | 0 | March 27, 2016 18:07 |
[ANSYS Meshing] SHIP MESHING * using ansys WORKBENCH or ICEM CFD | Ctunramran | ANSYS Meshing & Geometry | 1 | February 23, 2016 08:06 |
Using ICEM CFD to repair/edit ANSYS Meshing | Kaaji1359 | ANSYS | 2 | July 30, 2013 11:28 |
Strange ANSYS Meshing 13.0 Problem | brunob | ANSYS Meshing & Geometry | 3 | June 21, 2011 21:03 |