-
How to retrieve the entities contained in an include in Hypermesh?
Hello, I'm trying to create a Python function that takes as an argument either the ID or the name of an Include, and returns collections containing all the entities present in the Include. I haven't found any Python commands that operate on Includes. Is it possible to create such a function with the current Python API?…
-
How to integrate a SimLab Model with TwinActivate and Third-Party Software
Hello everyone, I have a SimLab model with established parameterization for physical parameters (current, voltage). My goal is to integrate SimLab with a third-party software via TwinActivate for a bidirectional workflow. The process I envision is as follows: after SimLab simulation, the new data is sent to the third-party…
-
Altair Python Training Dedicated to Hypermesh / Hyperworks Automation
Hi. our organization want to develop the current team with Python training from scratch which dedicated focusing on HyperMesh Automation. I am curious to know, what should be our training path to follow and points to cover in training so as to get insides of the Automation using python. Also, If you know any Institute /…
-
Doc Python API
Hello guys I'm currently exploring de python API of Hypermesh, and it seems more powerful and practical than the TCL API. I would like to translate TCL scripts in python; however, the documentation is sill quiete incomplete or missing. Do you have any idea when the documentation will be more complete like the TCL…
-
Python code in Hypermesh 2024.1 version
Hello, I am trying to execute a Python code in Hypermesh 2024.1 version. I am still quite new to Hypermesh. But what I find that the regular syntax for Python does not work in Hypermesh and I get several errors. Greatly appreciate if anyone can help what I am doing wrong. From a quick search online I found that the syntax…
-
Execute Python 'pandas module not found' when installed
I'm trying to use the Execute Python operator in RapidMiner. I have installed Python, pip and pandas: When I execute my rapidminer process I get the following error: 'Pandas module not found -- The pandas module for Python was not found. Please make sure that the pandas module for Python is installed in your execution…
-
Hypermesh Python problem
Hello, I'm trying to learn python in order to make script that I can use in hypermesh. I have a script with an input command (ID_node = input("\nEnter the ID of a node :\n \n") If I run this script with : file → load → python script, Hypermesh crashes but if I type the command directly in the Hypermesh python window, i can…
-
Implementing Higher Complexity Functions Through Python User Subroutines in MotionView
Overview: Using the Expression Builder in MotionView allows the User to write a variety of expressions to define Forces, Motions, and the positions of Points. However, higher level functions can be cumbersome in the Expression Builder, so a User Subroutine can be implemented to enable more complex and higher-order…
-
Location of files for HyperView python examples
Hi guys, I started to run some python examples for HyperView and HyperGraph. My version is not latest 2023.1. May be somebody knows where are those input/supporting files for python examples: aerobox.fem, aerobox-LC1-2.op2.. (see the screenshot). I guess these files are from some other tutorials - HyperMesh or OptiStruct?…
-
HyperStudyの標準リーダーでCAE結果ファイルの読み取りがうまくいかない場合は
Altair HyperStudyを用いることで、様々なCAEツールと連携させてDOE・最適化が実行できます。 ただし、たまに、HyperStudyの標準リーダーでCAE結果ファイルの読み取りがうまくいかない場合があります。その場合は、Pythonツールをご利用ください。 例えば、あるCAE結果として、下記のようなCSVファイルが生成されたとします。赤枠のベクトルデータを読み取りたいのですが、ヘッダ情報があったり、ラベルが複数行ある場合は、標準リーダではうまく読み取れません。 ElectronicsThermal_smart_objects.csv この場合は、Pythonを使用します。…
-
Modeling a Cone Penetrometer Test using EDEM
1. IntroductionThe Cone Penetrometer Test (CPT) is commonly used to characterize mechanical soil properties and often finds application in agricultural and geotechnical engineering. Also, calibration of DEM parameters against CPT results is often considered for modeling and analysis of equipment-soil interactions in…
-
Get the Arguments Under Control - Running HyperMesh 2025 in Batch with Python
Executing a Python automation script in batch mode can be very powerful. You can perform fully automated tasks without any user interaction, thus enabling you to incorporate such tasks into bigger, more complex processes. Although the user is not expected to interact with the process, it is still desirable to offer some…
-
HyperMesh Batch Mode로 python 파일 실행 방법
HyperMesh의 Batch Mode로 python 스크립트를 실행하는 방법에 대해 알아보겠습니다. 방법 1) CMD에서 실행하기 아래와 같은 실행 Command를 CMD창에서 실행 가능합니다. 단, 사용하시는 프로그램 버전에 따라 실행 명령어가 상이할 수 있습니다. "C:\Program Files\Altair\2024.1\hwdesktop\hwx\bin\win64\runhwx.exe" -cfg -client HyperWorksDesktop -plugin HyperworksPost -profile HyperworksPost -f…
-
How do I use the hyperview TCL command to get the post handle after manually import the model
Just as the title says, in hyperview, I need to manually import the model and draw the cloud image first, and then I need to use TCL to output pictures in batches. How can I get some handles in this case Thanks
-
Error when executing python file generated from .psimsch file
I generated a .py file using the "Save as Python Code" function in the "File" tab. When i want to run this .py file then, i recieve the error: from .Psim_Class import PSIM ImportError: bad magic number in 'psimapipy.Psim_Class': b'U\r\r\n' I executed the…
-
How to assign properly an allowable value for a Python Certification Method in composites material
Hello there, I want to create a Failure Theory using the Certification Method tool, using a simple python script. I assign the Xt, Yt, etc with the corresponding Material allowable defined in the MAT8 card but when running the method it shows an error saying "Warning, LongTensile StressLimit not available for element". I…
-
Python script to create nodes grid and change the node ID so they are ordered.
Overview: This Python script creates a grid of nodes. Every new node that is created is renumbered so that the node IDs are in ascending order starting at a specified ID.
-
FAQ - Python for HyperMesh
This article is a collection of the questions which we collected through support requests for usage of Python from HyperMesh 2024, and which are not documented yet in the online help. How can I access the data in the collections created by HyperMesh apart of using loops? The collection can be turned into a list. It can be…
-
Unable to output anything after Execute Python operator
I am trying to make a lasso regression plot with my dataset. However, it just does not show anything for my output in my Execute Python operator. My code is supposed to return the coefficient of the regression. There is no way for me to connect my Python block with any other operators as the other inputs are all expecting…
-
Printing model summary of python models built using Python Learner .
Hi All, I have stored models which were built using Custom Python Learner in RapidMiner ? Is there any way to print the model information using these stored objects (.ioo) alone? I tried passing the Python model object as input to Execute Python and Python Transformer, but it failed to accept the input.
-
Logic based Rule/Decision Tree/Flowcharts in RapidMiner
Hi, I want to know whether Rapidminer has operators that can allow me to build decision trees using basic operations like {if else} and maybe even use the condition{>, <}. I know RM supports learning decision tree models through its operator, but can I manually build such a tree, in a way people draw a tree in other…
-
Does Rapidminer have python built in?
Hello, I am currently trying to use Python Transformer or Execute Python operator.I understand that if you specify the python environment in Preferences, you can import the package installed there. 1. I would like to know whether there are any limits to the packages that can be imported, and if so, what types of packages…
-
I am getting error of Process failed: Wrong input of type 'Data table' at port 'example set input'.
after converting Radoop Nest process to In Database Nest process while running python script output dataframe, is showing polynomial type then I use to store the results in csv and then use csv to convert into nominal type but still getting the same error
-
Python script problems need help
I have a some lines of python that fill in missing values with text scraping. I would like to execute this python code within Rapidminer. When i run it in Pycharm it works just fine and gives the expected output. So i changed the file with def rm_main(data): But when i run the process i get an error that a certain item…
-
Bug in tutorial process in Execute Python Operator
Hi there. I'm trying the tutorial process "Creating a chart using Python and storing it in your repository", because I need to extract some charts from the Python package, but when I try to run the tutorial process, the process stops and shows a "Parsing failed. ". message.
This is because the pandas.io.data package used…