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 using jscript!!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2024, 00:16
Default Ansys Meshing Macro using jscript!!!
  #1
New Member
 
ChangDeok Shin
Join Date: Jan 2022
Posts: 3
Rep Power: 4
Deok is on a distinguished road
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.
Deok is offline   Reply With Quote

Reply

Tags
cfd, macro, meshing, script


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
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


All times are GMT -4. The time now is 11:01.