WE ARE TOGETHER !

Friday, November 27, 2020

HyperMesh Scripting Tcl/Tk Helpful For Beginners | Hypermesh scripting | 3

HyperMesh Scripting Tcl/Tk Helpful For Beginners | Hypermesh scripting | 3


Once again, I come up with new short examples of hypemesh scripting. so let's see the below examples.

Hypermesh Micro - 1

If you want to add the thickness after the component name, normally it is too lengthy if you go with it manually. At the same time if you used this script you can do it for too many parts in just a single click. 

Hypermesh Script

Hypermesh Micro - 2 


If you want to print the name of the part & its properties then you can follow this script. You will easily get all details regarding parts. 


hypermesh script


Conclusion - 


These are the basic scripts. In the upcoming post, I would like to aware you of the graphic user interface & button creation in hypermesh. Also, In the future post, I will share how you can remember the syntax of hypermesh scripting & usage of command file which is very interesting & useful. 

# Hypermesh Scripting
# Hypermesh Automationm 




Tuesday, November 17, 2020

Tcl basics for Hypermesh scripting | Hypermesh Automation | Computer-aided engineering

Tcl basics for Hypermesh scripting

Hello friends, In this post, I have shared Tcl basics for hypermesh scripting. This post is beneficial to all those who are just starting hypermesh scripting and for those who want to learn hypermesh scripting. I thought you should go through this post which helps you a lot while scripting. 

This post especially for those who are a beginner in hypermesh scripting & want to explore his knowledge in automation.

After completion, you will find the answers to these questions.
  1. How to use for loop in Tcl language?
  2. How to use while loop in Tcl language?
  3. How to use the if-else statement in the Tcl language?
  4. How to use the if if-else else statement in the Tcl language?
  5. How to use the list in the Tcl language?
  6. How to use the function in the Tcl language?
  7. How to comment in the Tcl language?
  8. How to add variables in Tcl language?

Video No.1 Tcl basics for hypermesh scripting:

If you want to add string and variable then go through the following code.

basics for hypermesh scripting


Video No.2 Tcl basics for hypermesh scripting:

If you want to add to string together then you can go through the following code. you will find an answer to how to add two string in Tcl language.

string add in tcl language



Video No.3 Tcl basics for hypermesh scripting;

If you want to add two variables & want the addition of it then you should go to this code.

Tcl basics for hypermesh scripting




Video No.4 Tcl basics for hypermesh scripting:

If you want to learn how to use a list in Tcl language with a short example you can go through this video. I am trying to maintain short & quick examples for understanding. 

list in tcl programming language




Video No.5 Tcl basics for hypermesh scripting:

If you want to learn how to use for loop then you can go through the following photo and video. 


for loop in Tcl language



Video No.6 Tcl basics for hypermesh scripting:


If you want to learn how to use function then you should go through the following code & details.

function in Tcl programming language



Video No.7 Tcl basics for hypermesh scripting:

If you want to learn how to use while loop in Tcl language with a short example you can go through this video. I am trying to maintain short & quick examples for understanding. 

while loop in Tcl programming language




Video No.8 Tcl basics for hypermesh scripting:

If you want to learn how to use if-else in the Tcl language you can refer to the following photo & video for quick understanding. 

how to comment tcl programming language




Video No.9 Tcl basics for hypermesh scripting:


If you want to learn more advance in if-else then you can refer to the following photos and videos. 

How to use if-else statement in Tcl programming language.



Video No.10 Tcl basics for hypermesh scripting:

If you want to learn how to comment & some more basics regarding the Tcl programming language then you can go through the following details. 


Conclusion:

In this way, we have learned the basics of Tcl language for hypermesh scripting. It is based on hypermesh scripting to understand complex code. before going to core scripting in hypermesh I thought you should go through this post which helps you a lot while scripting. 

# HyperMesh scripting
# HyperMesh Automation
# Computer-aided engineering
# Finite element analysis










Thank you !