Jump to content
zyuce

scripting in simlab

Recommended Posts

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?

Share this post


Link to post
Share on other sites
On 2/10/2017 at 0:48 PM, zyuce 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.

Rahul Ponginan and Rahul R like this

Share this post


Link to post
Share on other sites
On ‎10‎.‎04‎.‎2017 at 6:39 PM, Alessio Librandi 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?

 

Share this post


Link to post
Share on other sites

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 

 

 

Share this post


Link to post
Share on other sites

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 

 

 

 

 

Share this post


Link to post
Share on other sites

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

M.karthickraja likes this

Share this post


Link to post
Share on other sites
On 5/5/2017 at 2:28 PM, Alessio Librandi 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?

Share this post


Link to post
Share on other sites
On 9/20/2017 at 1:10 PM, Alessio Librandi 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 ?

Share this post


Link to post
Share on other sites

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,

 

 

Share this post


Link to post
Share on other sites

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>?

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...