A program to recognize and reward our most engaged community members
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?
Try with Project : Record.PFA screenshot for same.
<?xml version="1.0" encoding="UTF-8"?>
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.
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?
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
It is same in both version. PFA screenshot.Also you could activate new measurement tool via preference setting for SimLab 2017.
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
Use Project : Play: Auto to run your python scripts.Also please share screenshot of the inspect panel & Simlab version with updates.
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
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?
Sorry for the late answer,
file have been uploaded again on this link:
https://securefiletransfer.altair.de/link/PUIciIzcrBKNqVbDRR4DP9
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 ?
Hi, no problem. The new Link is here:
https://securefiletransfer.altair.de/link/EQVsTdA5dRMo7ydcS6YuKH
It will be active until June, 27th.
Hi, no problem. The new Link is here: https://securefiletransfer.altair.de/link/EQVsTdA5dRMo7ydcS6YuKH It will be active until June, 27th.
Thank For Sharing !!!
Thanks @Alessio Librandi!
@Allesio Librandi Can you please share the new tutorials link for Python/Java scripting for SImlab 2017
I upload the files here
Unable to find an attachment - read this blog
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,
Hi, the Automation Tutorials are available in the download area of Altair Connect (in the section Documentation)
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>?
For Version 2019, go to Documentation>Totorial and you'll find SimLab Automation Tutorials
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 ?
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