-
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…
-
Using External Parameter Files in PSIM
I am trying to automate my runs using Python and with the PsimCmd.exe. I have created the parameter files for my run and have checked that the generated file was working when loaded in the internal parameter file of the schematic. However, the thing is when I run it using python (with PsimCmd.exe) it seems that the…
-
Export inputdeck with assembly structure (OptiStruct, Nastran)
Overview: You can export .bdf and .fem files from Hypermesh in tcl. It exports the assemblies contained in one assembly as separate input files. Step 1. Import input file containing assembly structure Step 2. Load the script Step 3. Write the name of the assembly as seen in the browser in the script GUI. (This should be…
-
How to check the load value applied to an element
If a single Load Collector has loads of the same type at different locations, you can calculate the force and location for each element and return the calculated for each element. Step 1. Open the attached script file from File > Run > tcl/tk script and run it. Step 2. Save the data value as result.csv file in the document…
-
How to make automated comparison tool using Hypermesh model verification director
I want to make a model comparison automation tool/script using hypermesh MVD tool. Is there anyone who can tell me how to start making an automation tool, whether it is a script or a python module? It would be nice to tell you the script or python module that drives the mvd tool or is related to it.
-
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 /…
-
SimLab Automation, identyfying faces, bodies, creating groups
Hi everyone! I wanted to improve my quick scripts to enable submodelling procedures as well as to make the flow more accessible for other geometries. I've stumbled on some issues while trying to identify the ID of faces inside my model. Basically it is a housing part that is pre-cutted and therefore it has submodell…
-
Can anyone tell me how to increase the Variable j by clicking the Next button in GUI.
set i 0 set j 0 set win .window catch {destroy $win} toplevel $win -class TopClass wm title $win "Master GUI" wm geometry $win 400x200+900+650 wm resizable $win 0 0 wm deiconify $win button $win.01 -text "Next" -font {times 15 bold} -command {Script [expr $i + 1]} place $win.01 -x 230 -y 130 -width 140 -height 36 proc…
-
[HyperView] Tcl 명령어를 활용한 각 window 별 .gif 파일 일괄 저장 방법
HyperView에서 간단한 TCL 명령어를 사용해 각 window 별 애니메이션을 .gif 파일로 일괄 저장하는 방법에 대해 안내 드리겠습니다. 해당 명령어를 사용하면 각 window마다 일일이 File > Screen capture > Video to file 할 필요 없이 지정한 폴더에 지정한 파일 명으로 일괄 저장됩니다. hwc hwd page current activewindow=1 #1번 윈도우를 활성화하는 명령어 hwc save animation page C:/user_path/1.gif #저장경로와 파일명, 확장자 지정하여 애니메이션 저장하는 명령어 위…
-
How to rotate view in HyperMesh using script?
Hi guys! In HyperMesh tcl I use command *rotate 0.0 15.0 to rotate model in HyperMesh. Which command should I use to do the same in HyperView? We have "view orientation" but how to rotate to user-defined view? Thank you!
-
Prop Creator by Comps name
Overview: This Script can reduce labor when you have a large number of components and need to assign the same Property. Logic that uses 2D shell thickness information from the Component name to create a corresponding Property and assign it to the Component. Step1) There is a "t" in the Component name. This is the shell…
-
Why do Altair employees publish codes in the TBC bytecode format and tag them as 'Scripts'?
Why do Altair employees publish codes in the TBC bytecode format and tag them as 'Scripts'? Such scripts are useless for users and offer no educational value. If you don't want to share the code, then don't publish it under tag "Script". I've seen many such scripts on Altair Exchange, and it's very frustrating.
-
Components Exporter as STL File
Overview: You can use this script to save Elements information per Component into its own stl file. You can choose any folder to save to, and the Component name will be automatically assigned as the filename. Usage/Installation Instructions: Run script > Choose folder Each component converts to .stl Complete Release…
-
Size Design Variable Creator
Overview: Macros to create design variables to use when configuring size optimization. *This script is only available on the optistruct interface. Usage/Installation Instructions: Run script > Click 'Select' Select Property Variable settings App Function Description Select Property Select Property: Choose the Property for…
-
Import Multiple Curve
Overview: This app is a script that imports multiple TABLED1 curves based on Optistruct. The curves are named after the name of the CSV file, please note that you need to enter the data from the 1st row of the CSV file. Usage/Installation Instructions: Run script > Load .CSV file Imported Curves Release Version: 2024.1
-
.bdf to .hm converter in HyperMesh
Overview: This is a script to export to .bdf files. It exports .bdf models in a folder as HM models. Release Version: 2024.1
-
[HyperMesh] Associate nodes to surfaces
Overview: Associate nodes to multiple surfaces at once Prerequisite: This is for HyperMesh classic interface up to 2022.3 Usage/Installation Instructions: Load this script via File » Load » Tcl/tk Select surfaces you want to associate Select nodes to associate Insert the tolerance between each surface and node Script file:
-
PLOAD1 Vector Correction
Overview: When creating a PLOAD1 in the OptiStrcut interface, it will be oriented to FYE regardless of the user load direction setting. The app allows the user to create PLOAD1s with the desired global X (FX), Y (FY), and Z (FZ) force directions. Usage/Installation Instructions: Select 1D elements Select type and set…
-
Cylinder surface generator
Overview: Select multiple lines and create a cylinder surface with each line as an axis. Post-Requisite: 1)Enter the Radius > 'OK' 2)Select Lines > Apply Release Version: 2024.1
-
Tetra to CBEAM Converter
Overview: You can convert lines from Tetra elements to CBEAM elements in batch. Please note that for models with many elements, this macro can take a significant amount of time. Post-Requisite: Run script Check CBEAM element located in the ^feature component. Release Version: 2024.1
-
Property Creator from Components
Overview: This function creates a Property with the same name that is a one-to-one correspondence based on the Component Name. It can be applied in OptiStruct / Nastran Interface, and the user can select the desired Card Image among PSHELL / PSOLID. Post-Requisite: Select Card Image 2. Select Components > Run Release…
-
2D elem Extractor from 3D elem
Overview: You can select multiple components that are composed of 3D elements and create a face element for each of them. It also oragnizes the newly created 2D elements to a new component, whose name is represented by Originname_shell. Post-Requisite: Select Components(3D Elements) Run > Extract 2D Elements Release…
-
Force Duplicator For OptiStruct
Overview: Copies the selected force to the selected nodes(Only OptiStruct profile) Post-Requisite: 1. Select a Force 2. Select nodes 3. Select Tatget Loads collector 4. Apply Release Version: 2024.1
-
How to more easily export AcuProbe results from multiple simulations of SimLab? Also, what kind of r
Hello experts, I've been running a large number of simulations in SimLab and need to export the AcuProbe results for each one. Currently, I have to open the log of each simulation and manually export the results, which takes me around 2 hours or more just for this task. Here you can see a folder showing a quarter of the…
-
Change the unit of property/material in bulk (only Optistruct, Nastran inerface)
Overview: The script allows you to change the units of variable values in the HyperMesh OptiStruct, Nastran user Interface. Convertible unit systems : in lb/386 lbf, in lb lbf, mm ton N, m kg N Coverage: Grid locations PSHELL thickness , T PBAR area and moments of inertia A,i1, i2, j PROD A, J, NSM Masses: “mass” Mat1:…