scripting in simlab


Answers
-
-
Altair Forum User said:
Hello All,
Are there any scripting language that can be utilized in simlab, in order to automate the meshing process?
Besides, does simlab creates a command file such as .cmf file like hypermesh?
The languages used by Sl are Javascript and Python.
After starting the recording process, you are asked which language you want to use.
While recording the process, please select groups of entities so that you can re-run the process on other models using the same groups (and body) names.
Check the section SCRIPTING in the SimLab Help for more information.
0 -
FYI: in Altair Connect, in the Download Documentation section, you can download SimLab tutorials for SL 2017 including Automation Tutorials for the script recording into Python and JavaScript.
0 -
Altair Forum User said:
FYI: in Altair Connect, in the Download Documentation section, you can download SimLab tutorials for SL 2017 including Automation Tutorials for the script recording into Python and JavaScript.
Dear Alessio,
Thank you for your support. I tryed to find SL 2017 deocument in Altair connect but, there is tutorials for SL 14 and older versions. In other words, I could not find the tutorial that you suggested.
Can you describe how to find that document?
0 -
Hello All,
Has there been any changes in the Inspect Tab in Simlab 2017 as compared to Simlab 14.1 Version. The tabs to calculate Distance Radius Angle and Volume are not visible.
Please Help
Regards
Rishabh
0 -
-
Hello,
Thanks for sharing the screen shot for both versions. I enabled the tool measurement and is very helpful. However I still dont have those 4 tabs. My tabs start from section properties. Please Help.
Also I want to run some examples of of python scripts for simlab. I found an option to activate python tab. Please can you mention how to run the python script in Simlab
Regards
Rishabh
0 -
-
Hi all,
New tutorials for Python/JavaScript Scripting have been created and will be added to Altair Connect in the next weeks.
In the meanwhile, you can download the tutorials on this link (active until July 4th 2017)
https://securefiletransfer.altair.de/link/HpoKa9oYmuRRdMIljEyvhO - JUST TYPE IN YOUR EMAIL TO AUTENTICATE
0 -
Altair Forum User said:
Hi all,
New tutorials for Python/JavaScript Scripting have been created and will be added to Altair Connect in the next weeks.
In the meanwhile, you can download the tutorials on this link (active until July 4th 2017)
https://securefiletransfer.altair.de/link/HpoKa9oYmuRRdMIljEyvhO - JUST TYPE IN YOUR EMAIL TO AUTENTICATE
Can you upload the tutorials again?
0 -
Sorry for the late answer,
file have been uploaded again on this link:
https://securefiletransfer.altair.de/link/PUIciIzcrBKNqVbDRR4DP9
0 -
Altair Forum User said:
Sorry for the late answer,
file have been uploaded again on this link:
https://securefiletransfer.altair.de/link/PUIciIzcrBKNqVbDRR4DP9
Sorry, I missed it again. Can you please upload it again.
Also, are these different from what we have in the help section of Simlab 14.1 ?
0 -
Hi, no problem. The new Link is here:
https://securefiletransfer.altair.de/link/EQVsTdA5dRMo7ydcS6YuKH
It will be active until June, 27th.
0 -
Altair Forum User said:
Hi, no problem. The new Link is here:
https://securefiletransfer.altair.de/link/EQVsTdA5dRMo7ydcS6YuKH
It will be active until June, 27th.
Thank For Sharing !!!
0 -
Thanks @Alessio Librandi!
0 -
@Allesio Librandi Can you please share the new tutorials link for Python/Java scripting for SImlab 2017
0 -
I upload the files here
0 -
Dear Alessio Librandi
Thank for all your responses
I know you update the link 3 times, but could you please re-upload/update
new tutorial link(forPython/Java scripting for SImlab)?
sincerely,
0 -
Hi, the Automation Tutorials are available in the download area of Altair Connect (in the section Documentation)
0 -
thanks for responding.
I been look through all download area of Altair Connect
but it is hard to find the exact location
could you please specify the directory of the tutorial?
for example, documentation>User Manuals>?
0 -
For Version 2019, go to Documentation>Totorial and you'll find SimLab Automation Tutorials
0 -
Is there any way to get documentation for scripting in .sls file too, like what we have in SimLab help for Python and JS ?
Or list of APIs used in .sls scripting by SimLab ?
0 -
Hi All,
I am preparing a script for an assembly FE modeling and i want to add pause and play button within the script so as to perform manual operation and than again switching to the script.
I have got some example from tutorial like below
1. SimLabUtility.CommentMessagePopUp('Check Aspect Ratio (< 20) quality for Tri element. If failed element present, clean up and continue.');..This is an comment msg pop up
2.bStatus = True
msgBox = simlab.pauseprocess('Do group transfer. Incase of any failure, please do manual cleanup.\n Click \'Yes\' to continue the process \n or click \'No\' to stop the script execution.',title='SimLab',Button1='Yes',Button2='No')
if msgBox.status == False:
bStatus = False#if user click 'Yes' continue the script.
if bStatus == True:But i am unable to frame those into my script.
Any help will be more appreciated..
Thanks
0