CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] Ansys meshing macro(Run macro) question!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2024, 03:45
Default Ansys meshing macro(Run macro) question!!
  #1
New Member
 
ChangDeok Shin
Join Date: Jan 2022
Posts: 3
Rep Power: 4
Deok is on a distinguished road
Hello. I previously posted but did not receive any assistance, so I am reaching out again for help.

I am currently working on a macro using JScript in Ansys Meshing.

Since the Parasolid file cannot import Named Selection information, my goal is to create Named Selections using a Worksheet.

The code is as follows:

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();


The problem is that I cannot figure out how to access information like Criterion or Action in the Worksheet afterwards. Is there anyone who could help with this part?
Deok is offline   Reply With Quote

Reply

Tags
ansys, code, macro, meshing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact Region in Ansys Meshing. Deleting or Not Deleting them? AmirBaqa1987 FLUENT 2 October 22, 2024 03:39
Ansys Fluent meshing vs Ansys Meshing amd2424 FLUENT 1 May 10, 2021 04:15
[ANSYS Meshing] ANSYS Meshing is very slow r.d. ANSYS Meshing & Geometry 0 November 11, 2020 12:06
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 11:49
Help me to choose between Ansys Meshing, Fluent Meshing or ICEM ? pipolaki ANSYS 0 December 6, 2013 09:12


All times are GMT -4. The time now is 10:40.