Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MVP Toolbar 2012
Stefan Eberhard Altair Germany
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Agenda MVP Toolbar
General Information about MVP Toolbar • History • Quality Assurance • Download and Installation
Tool Highlights • • • • • •
Animation Client Plot Client (HyperGraph) General Tools Hidden Tools Batch Tools Libraries
Default Settings Support HyperMath and HyperGraph
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
General What is the MVP Toolbar ? • More than 500 Tools for HyperGraph / HyperView • No HWU’s required • Tools came out of support and customizing solutions • Regularly updates available => Update every two month recommended
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
General Quality Assurance • No official Altair Development => no standardized QA process • No update to new HW version guaranteed • Tools are tested at Altair Germany support • If required quick bugfixes / new features could be provided • Tools will be deleted from the MVP Toolbar if core functionalities available which replace all features of the tool
• More tools will go to core into the near future
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Download and Installation Download
• Link to ftp-Server: ftp://ftp.altair.de/pub/hyperworks/support/macro_toolbars New version available „MVP_Toolbar_
.zip“
Installation:
• Insert one line at the end of the file (.)preferences.mvw: {mvp_toolbar_dir = "../MVP_Toolbar";include(mvp_toolbar_dir + "/preferences_macro.mvw")}
• Alternatively load via „File“ – „Load“ – “Preferences” another (.)preferences.mvw file containing the following lines: *Id("MotionView 11.0") {mvp_toolbar_dir = "../MVP_Toolbar";include(mvp_toolbar_dir + "/preferences_macro.mvw")}
Installation Guide
• For a more detailed installation guide and effective usage of the MVP Toolbar please read the file MVP_Toolbar/readme.txt inside of the zip file. – – – –
Default settings FAQ’s Usage of different MVP Toolbar versions Error messages
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
HyperView Tools Overview All menus / tools with * came with the MVP Toolbar
Context menu:
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
HyperView Tools Misc – Contour Value in Notes • Notes created via ID lists • Additional selection methods implemented • Layouts defaults available
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
HyperView Tools Layout – Apply Style Detailed Selection • Based on core functionality “Tools” - „Apply Style“ • Apply style of active model to a selection of different models
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
AVI‘s / H3D‘s Export Modal Frequency Selection Export Features: • • • • •
GUI for frequency selection All AVI / H3D export setting supported All windows will be set to the same frequency Sort & Label exported files according min / max Export ASCII Summary
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
… behind the scene ….. Example: Attach notes automatically to max / min of sets • Essential to use HyperView Reports without manual editing • Notes and sets must have the same name • The note should end with „ max“ or „ min“ • This is equal to attach to curve using “indexofmax(c1.y)”
• Attach notes to the absolute max / min
*BeginInterpreter("tcl") ::mvptoolbar::tools::executeInAllHVclients -attachMinNotesLabel "MinNote„ \ -attachMaxNotesLabel "MaxNote" -attachMinNotesToSets 1 -attachMaxNotesToSets 1 *EndInterpreter()
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
HyperGraph Tools Overview Cuve Manipulation* – Filter* – Statistics* – Units* – Injury* – Layout* – Export* – Misc*
Context menu:
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Advanced Build Plots – Standard Features Options for • Manipulate curve names • Filter Type, Request, Components •
X- and Y- axis
• Create math copy curves • Scaling and offset • Save settings
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Advanced Build Plots – Subcases Subcase Handling • Attach Subcases • Plot all Subcases
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Advanced Build Plots – Match Y Vector X-Requests match Y-Requests • No need to select each X-Vector seperately!!
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Advanced Build Plots – Multiple Result Files Read in Curves from multiple result files in one shot • Autofill result file list with file check • Automatic curve labeling • Sort curves file-, request- and component- dependent
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Algebra / Trim N Curves Curve Manipulation – Algebra / Trim N Curves
• Graphical curve selection • Calculation of sum, mean value, product and resultant
• Synchronization of curves with different x vectors: new x vector has of the points of the vector with the most points in the overlapping area of all selected curves
• Deletion of source curves • Save as type „Value“ • Each plot could be calculated separately
• Trimming of result curves
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Polar / Complex Plots: Math Multiple Curves Curve Manipulation – Polar / Complex Plots: Math Multiple Curves
• Graphical curve selection • • • •
Add, Multiply, Substract, Divide Deletion of source curves Save as type „Value“ Each plot could be calculated separately
• Create curves in new plot • Trimming of result curves
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MVP Toolbar - Envelopes Create max / min envelopes Synchronization also possible if curves have different numbers of points
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Extrapolate Curves Curve Manipulation – Extrapolate Curves
• Graphical curve selection • Curves could be extrapolated: – Parallel to the x axis – Along the gradient – With zero value
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Apply Style Detailed Selection Layout – Apply Style Detailed Selection • Based on core functionality “Tools” - „Apply Style“ • Apply style of active window to a selection of other windows
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Layout Tools
Layout – Rename Curve by Color / Recolor Curve by Name • Change curves properties name- or color-dependent
• Rename curves colordependend
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Layout Tools
Layout – Show / Hide / Delete Curves Property dependent or Value dependent • Show, hide or delete curve dependent from – Name – Color – Resultfile
• Value dependent − Dependent on max / min
• Options are combined with Boolean value „and“
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Curve Export Features Export Templates • • • • •
Abaqus Radioss PamCrash LS-Dyna Madymo
Excel CSV Export
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
General Tools Export – IMAGES Selected Pages - Advanced
• Screenshots of all selected pages will be saved in a new created subdirectory
• Supported image types: JPEG, BMP PNG, TIFF (uncompressed)
• Export image each window seperately – User defined resolution – Keep window aspect ration
• Batch-version included in MVP Toolbar
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
General Tools Export – Export to MS Office • Page title inserted as text field or master title • Visual Positioning of header and screenshot • Support of slide master
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Demo Sessions / Reports / Makros • Demo session are necessary for efficient hotline support • Get code examples via cut and paste from attached demo sessions • Tips & tricks accessible via mouse click
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Batch Tools Batch Tools for HyperView / HyperGraph • The directories
MVP_Toolbar/hg/batch/ MVP_Toolbar/hv/batch/ ....... contain batch tools created within the Altair hotline support
• Programming skills are required to adapt these scripts to your personal needs • For further information please contact Stefan Eberhard +49 (0)89 379952-448 [email protected]
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Batch Tools Example – Get Visible Values Export visible values from HyperView in a text file • • • •
Frequently used in HST to get a system response Saves a lot of coding!!! Get visible values or values from ID list Get current time step values only, or max values all timesteps or from last timestep
d:\hw110_64\hw\bin\WIN64\hw.exe getVisibleValues_demo.mvw -tcl getVisibleValues.tcl
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Not Implemented Tools which are not implemented because
• … more work has to be done for general use • … no proof if the math formulas / standards / information provided by the • •
customer is correct …. more work would be created I can handle Examples: Octave Filters Material Curves
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Not Implemented – Material Curves Create average curve from multiple material curves • All curves will be made strictly monotone increasing by a Templex function • Resampled math copy curves will be created, differently resampled for the linear •
part and the failure part Average curve from these curves will be created
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Libs comming with the MVP Toolbar MVP Toolbar Lib using – options
• Create unique curve handle • • •
with minimum information as possible Lot of functions available to do the frequently asked for tasks Because the usage of – options robust for updates of the libraries HTML Documentation available
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Libs comming with the MVP Toolbar Examples: • Clear session: • • • • • • •
[GetSession] New Add new page with 2 windows from type plot: addPage -client Plot -layout 1 setActive 1 -label "Demo Plot Page " Add Sinus Curve in first window: addCurve -mathExprX 0:10:0.1 -mathExprY sin(x) -label Sinus -window 1 -color 2 Add new page with 2 windows from type animation: addPage -client Animation -layout 1 setActive 1 -label "Demo Animation Page 2" Load model in window 1: loadModel -file $modelFile -resultfile $resultFile Set resulttype displacement: setContourResult -resulttype "Displacement“ Get model handle from active model: set modelHandle [GetModel] Get client handle from plot page 1, window 2 set clientHandle [GetClient -page 1 -window 2]
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MVP Toolbar Settings Menu buttons • Hide menus partly / totally • Embedding of user specific menus with links to MVP Toolbar tools is possible
GUI Defaults • Default values could be set for tools with graphical interfaces • Support for all users in central installations and user specific defaults
Units of HyperGraph Macros • Default units of Templex- and Tcl-based macros
Deactivation of MVP Toolbar • Loading of the MVP Toolbar in a central installation could be blocked by the user •
via an environment variable Loading of a different MVP Toolbar e.g. for testing purposes is possible
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Tools activated by configuration files Some tools could only be activated by configuration files • Example: Export / Import Session File (created for Takata Petri) • The users work there with up to 20 sessions • They save their multiple sessions and attach each sessions at their • •
master session when everything is fine They nnow can do this via shortcuts The following lines must be defined in the file mvp_toolbar_defaults.tcl in HOME or parallel to the MVP Toolbar
# Exchange directory to export / append the current session via right mouse button / shortcut namespace eval ::mvptoolbar::general { set exchangeDirectory "d:/home/eberhard/temp" }
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Updates / Versions Updates • Regular updates according customer requirements • Normally minor changes between each update • Recommendation: Update every three month
Versions • More information about version, location etc. could be found at „Misc“ - „About MVP Toolbar“ and “What’s New in the MVP Toolbar …..”
Copyright © 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MVP Toolbar Support Readme.txt • For detailed inforamtion about installation, defaults, error messages etc. please read MVP_Toolbar/readme.txt.
Files for default settings • All files to adapt the default settings could be found in the directory MVP_Toolbar/user_defaults
Implementation of new features • Please contact Stefan Eberhard +49 (0)89 379952-448 [email protected] or the Altair Hotline