Jump to content
yuvraj

Toggle All for script

Recommended Posts

Hello Techie 

I am running a Dakota RSM based optimization. First I have imported some runs data. Now the problem is, when I am running it in batch mode it is not taking the imported results although in GUI mode, it is able to run the dakota optimization by toggling all. What acommand I should add so that it start taking the imported results while running optimization.

 

 

// [0.1, 30]
|Angle.setValue(20)
// [1, 10]
|Corner_Fillet.setValue(10)
// [11, 16]
|cross_Section_radius.setValue(16)

// ---------------------------------------------------------------
// DESIGN VARIABLES END
// ---------------------------------------------------------------

// ---------------------------------------------------------------
// EXPORTS
// ---------------------------------------------------------------

// export file name of |Export : hut.stl
//|Export.export()

// ---------------------------------------------------------------
// EXPORTS END
// ---------------------------------------------------------------

dakota1.run()

saveProject()

exit(true)

1375312561_Screenshotfrom2024-03-2514-48-07.png.47b1ab2a7c9764b4bc403b15c1a3c5d5.png

 

Regards

Yuvraj 

 

 

 

 

Share this post


Link to post
Share on other sites

Hi Yuvraj,

Can you please add the following lines;

dakota1.setUseResultPool(true)

dakota1.run(true)

 

In the Caeses console, using the Ctrl+Space combination provides the available commands that can be used for an entity (dakota1. in this case)

 

Cheers

Ceyhan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...