-
How to convert the recorded steps into a usable python script in hyper-mesh 2025
Hi, I'm new to Python scripting and currently exploring the recording feature in HyperMesh 2025 to capture the steps I’d like to automate. I’m wondering how I can convert these recorded steps into a usable Python script.
-
Can the elements in a set or ply be highlighted via the Python API?
When updating a set, or even a ply, via the native buttons, elements currently in the set are highlighted so to give the user a clear look at what it's currently in and what's out. Can this behaviour be recreated via the Python API? Updating a collection via interactive selection doesn't achieve this behaviour… Any idea?
-
Solver Interface with Python API commands
Hello Developers, I have been trying to change the solver profile from "Abaqus" to "LsDyna" thru some python scripting. I used python API commands as follows: I get solvername from the hm_getsolver tcl command. After this, I executed the commands from the recording as follows and got the output for "hm_getsolver" to be…
-
Post Processing Scripting [Flux 2D]
I am simulating a three-phase transformer made with interleaved foil windings in Flux 2D, using the transient magnetic solver. I would like to estimate the ac to dc joule losses in each conductor by calculating the time average joule losses in the conductor regions. There are many conductor regions in my transformer so I…
-
Hypermesh Python API: Getting elements by config
Hi, I'm wondering what the best way is to collect elements by type in the python API. I found how to collect all elements but I only want shells really which I can then feed into the next part of the script (creating a display model from a set of shells is the ultimate goal). Looking at the examples, it seems to suggest I…
-
Python API: obtain a Set of Elements associated with a LoadFlux
Hello, I am working in HyperMesh (OptiStruct). My model contains a LoadFlux load, which is referencing a Set of elements. I can see the reference in the 'References' tab (image attached). Is it possible to find this reference programmatically, using Python API? Thanks
-
Given a ply, what's the most efficient way of calculating its area using the Python API?
To tackle the above problem I'm doing: import hm import hm.entities as ent model = hm.Model() collection = hm.Collection(model, ent.Element, hm.Collection(model, ent.Set, f"Name={ply.name}")) area = model.hm_getmass(collection) This seems to work just fine but starts to run a lot slower when dealing with hundreds of plies…
-
Copy and paste a curve using python api
I know I could use hwc to copy and paste curves in hypergraph. But is there a python api to copy and paste curves? evalHWC('xy curve copy range="p:1 w:2 i:1"') evalHWC('xy curve paste range="p:1 w:2"')
-
Seeking help in using the Dialog Class of the Python API
Hi, I was wondering if anyone knows how to access the little cross in the top-right part of the dialog widget so to update the built-in hide method. At the moment I've to build a custom "Close" button so to add an "onClose" command but I want to access the built-in cross to avoid confusion. Any idea?
-
Need help in Automation of Roller Bearing Creation
Overview: Automation of Roller Bearing Creation Prerequisite: The automation should scale with different bearing sizes and roller counts Usage/Installation Instructions: HyperMesh Optistruct Python automation Post-Requisite: A fully automated script for creating all RBE3 and RBE2/BUSH elements for the rollers Release…
-
Does Hypermesh have a batch mode for running python scripts?
I am using Hypermesh 2025. I am migrating from .tcl scripts. I have a fully written python script that I want to run from the command console without the GUI. Previously, this was done with .tcl scripting but I don't see the python alternative for running Hypermesh in batch mode. Is there no option to run Hypermesh in…
-
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 /…
-
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…
-
Code Editor (IDE) for Python API Development in Hypermesh
I'm currently exploring the new Python API and wondering if there is a way to use a proper code editor to run scripts / interact with Hypermesh entities / view info in the output terminal (e.g. like Spyder or VS Code). I have spoken with Altair previously and I think the Compose editor might be intended for this purpose,…
-
Hypermesh Python API: Get Multiple Entities
Hi. Just wondering if there is a Python API (i.e. method) to get multiple entities? The "get" class method (for the Session object) can get a single entity, but what I want to do is get multiple entities (CurveXY entities in my case), put them in a Python list (say), do some maths on them, and then write out either…
-
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.
-
Can we import model built in python to Rapidminer?
If I build a model in python, then can I import the model into rapidminer?
-
Parsing failed in running Python script
I tried a community real world use case-Amazon customer reviews-Topics analysis but had an error in the last step: Create word clouds. It is saying "No module named "wordcloud". I am desperate to know how to achieve LDA visualization and please help me out!
-
New Python operator framework
At the RapidMiner Wisdom 2020 conference, there was an interesting session about a new Python Operator Framework with @mschmitz . I could not find how to use it the 9.6 beta, is it scheduled to be released for version 9.6 or for a later version? Thanks