A space to share your Altair scripts, models, workspaces and extensions with the community.
Overview This example script applies a Report Template on multiple simulation run data and writes min/max and peak position values of each curve to an external file. Pre-Requisite Edit TCL script as follows: Line 16: Path to Report-TPL-file Lines 22 ff. Definitions for data the TPL should be applied with. Line 66 or 68:…
Overview This script will set a metadata value for selected surfaces, using it's area value. Then it isolates those surfaces with specific user selected area value. Usage/Installation Instructions Run script e.g. from DropDown File > Load > Script Select surfaces to check and assign area metadata: Enter area target value:…
Overview This script scales the magnitudes of all loads of selected load collectors by user defined scale factor. Usage/Installation Instructions Start condition: Run script e.g. from DropDown File > Load > Script Select Load Collector: Confirm Load Collector selection: Enter scale factor value: Final condition with scaled…
Overview Example script to get the query string of an active query in HyperView Table tool. This string can be used in SetQuery function for further script usage. Pre-Requisite Execute Query through Table tool. Usage/Installation Instructions With existing Query result in Table tool in active window, run script by e.g.…
Overview This script will export the text of all HyperView / HyperGraph Notes in active window to an external file. (except Model-Info note in HV) Pre-Requisite None. Usage/Installation Instructions Run script e.g. from DropDown File > Load > Script Post-Requisite External file will be written to same folder as TCL script.
Overview Example script to apply styles like Contours, Measures, Orientations etc. to other windows of the same HyperWorks session. Pre-Requisite Style to apply to a different window needs to be active in current window (as this script is designed). Info: There are 2 ApplyStyleTo commands, depending on which attribute you…
Overview This script loads procedures that can be used to print the Min/Max values to the TCL Console of a Contour. It allows using parameters as specific Sets or Components to define for which entities the Min/Max values should be accessed. NOTE: this script accesses the automatic Min/Max values of the Contour legend.…
Overview This macro generates section cuts and extract data: area, perimeter, length and width of a rectangular cross section Data are written in the tcl console You can review the video below for more information about usage and authoring of this macro: Please feel free to share any feedback through the artricle so that…
Overview The attached script populates automatically a table from the curves available in the session, and lists for each curve: * curve name * initial value * final value * min value * max value * mean value Usage/Installation Instructions * Load your session with all your curves of interest. An example session is…
Overview This script will find edge nodes of a selected component, and creates a node set for each edge loop. Example is for OptiStruct. Pre-Requisite Have model with mesh loaded into HyperMesh. The script contains set creation for OptiStruct solver. For other solver formats this block in the TCL needs to be edited.…
There's a wealth of content waiting for you to explore! Need support or have a question? Login or join our community.
Share your models, scripts, workspaces, and more with the Altair Community.