CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

Ansa Script

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2016, 02:13
Default Ansa Script
  #1
New Member
 
Grigoriy Ermolaev
Join Date: Aug 2014
Posts: 11
Rep Power: 10
Grigoriy_Ermolaev is on a distinguished road
I start study Ansa Script. How I can change the backround color in Ansa Script. Is it possible?
Grigoriy_Ermolaev is offline   Reply With Quote

Old   November 21, 2016, 12:33
Default
  #2
New Member
 
Join Date: May 2014
Posts: 21
Rep Power: 10
greg.cfd is on a distinguished road
Hello,
Do you mean to change the color of the script editor window? If yes, then this can be done by selecting the View > Editor colors menu.

On the other hand, if you refer to changing the background color of the ANSA window (in order to take a snapshot), this can be done using the utils.SnapShot() function.

Please let me know if this helps.
Best regards,
Greg
greg.cfd is offline   Reply With Quote

Old   November 28, 2016, 05:24
Default
  #3
New Member
 
Grigoriy Ermolaev
Join Date: Aug 2014
Posts: 11
Rep Power: 10
Grigoriy_Ermolaev is on a distinguished road
I want to chang the background color of the ANSA window. So how I can use utils.SnapShot() function? I try to use like this :
defbutton Test_Button_sn()
{
utils.SnapShot()
}
But I have erreur
Grigoriy_Ermolaev is offline   Reply With Quote

Old   April 20, 2017, 05:50
Default Does ANSA scripting support Multiprocessing
  #4
New Member
 
TELANGANA
Join Date: Apr 2017
Posts: 2
Rep Power: 0
Sujahid basha is on a distinguished road
I have been trying alot ways to get the Multiprocessing code to execute in ansa but no luck; could any help me out how to use multiprocessing module in ansa using python, by which it will help to reduce the execution time a lot ..just for eg. i have a list with 10000 items and i want to divide the list and run the logic further in different processes (Threading will also do)...
Sujahid basha is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Ansa Script ganesh0481 ANSA 47 February 21, 2019 05:09
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 08:45
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 09:38
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 10:36
[Commercial meshers] ANSA hexblock mesh to OpenFOAM yosuu OpenFOAM Meshing & Mesh Conversion 7 October 22, 2011 07:18


All times are GMT -4. The time now is 14:07.