CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

JScript for Start Over - Design Modeler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2020, 07:35
Default JScript for Start Over - Design Modeler
  #1
New Member
 
Tim Crimson
Join Date: Jan 2020
Posts: 4
Rep Power: 6
Tim Crimson is on a distinguished road
Hello community

Is there any way to script the following in the Design Modeler:

'File---> Start Over (CTRL+N)'

I tried with 'ag.m.NewSession (true);'

The problem with this command is the following: it successfully resets the Design Modeler to blank if the Design Modelers consists of Sketches alone. However, if the Design Modeler consists of both Sketches and Bodies, an error will occur. So, the command does not have the same effect as 'Start Over', because Start Over successfully resets everything to a new clean Design Modeler window.

Therefore, is there any way to code 'Start Over' in JScript, or is there anyone that has a suggestion?

/Tim
Tim Crimson is offline   Reply With Quote

Reply

Tags
design modeler, jscript, reset design modeler, start over


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
[Other] Connecting 3D bodies in Ansys Design Modeler chipper ANSYS Meshing & Geometry 4 January 25, 2018 10:45
Importing Points in Design Modeler danh ANSYS Meshing & Geometry 5 March 30, 2015 11:45
parametric study with design modeler and icepak aminem ANSYS 3 May 21, 2014 06:11
Design Modeler not working tan v ANSYS 0 July 7, 2011 03:43
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 11:18


All times are GMT -4. The time now is 22:03.