Jump to content

Search the Community

Showing results for tags 'python'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation , Licensing and Altair One
    • Modeling & Visualisation
    • Solvers & Optimization
    • Multi Body Simulation
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / Altair One / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版(Altair Student Edition)


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 25 results

  1. I am able to connect hypermesh from python terminal through dde commands..and successfully able to pass commands to hypermesh . but when requesting [dde request], it is throwing error "remote server cant handle this command" .. request for help/guidance. @tinh Please help me.
  2. In the attached script, one can see that 1D lists such as list1=[1,2,3] can be imported in OML without a hassle. Whereas when I try to import a list2=[(1,1),(2,2),(3,3)], I receive an error message in OML saying that list2 does not exist. I use the command getpythonvar(). Am I missing something? I have attached a file that can be used to reproduce my error message. I am using Compose 2019.3 Thanks a bunch, Deb error_2DLists_not_readable.oml
  3. Hello community, I want to share some code that will help you to use a gamepad/joystick in compose. I created an OML-class that represents the controller. I will provide you with more informations, documents and updates soon. To make the code work, you need to install the XInput-Python interface: https://pypi.org/project/XInput-Python/ In the topic below, there are instructions how to install python modules in compose: regards Nils vrjoystick.zip
  4. Hey commuinty last night I got the idea of creating a guitar tuner using activate Now I am curious if there is a way to get microphone access using the OML language. If not, i am sure there is a way by using Python language. Basically I just need to record an audio sequence and process it with my future activate model. Is there a way to interrupt the the process for recording? I will put that question in a new topic best regards Nils
  5. Hi all I have just discovered aerospace certification stress tool. It uses python scripts to do analytical methods . However i can not get the correct ms vaules. can someone help me to find a way to implement my own method to this tool? regards
  6. Dear all, is it possible to register a Compose function that makes use of Python functionalities? Thank you in advance! Christian
  7. Hi, everyone This may seem a dumb question. I need to do some repetitive work in Flux. I know I can use the python editor to in Flux to run some commands, but what I am trying to do is to use python IDE to run the python commands to load FLU project and of course do other stuff such as changing parameter and post processing, without having to open Supervisor to launch the project and do work in Flux as what people usually do. I can not find any useful material related to this...so if someone can tell me how to do this, or give an example/tutorial, it would be of great help. Thanks! PS: I've tried similar work by using MATLAB, but changing the python command into MATLAB command is really hideous work... Kind regards, Qibin Chen
  8. Hi, I have a saved templete which generates a graph between stress vs strain for a given element id i.e. E181115 (in my case). The graph can be seen in attchments. #Now i want to change the element id or write a tcl code in such a way that it should ask me to enter the element id before running my template. I am very new to hyperview and have no idea how to covert .tpl to .tcl, Any answers, suggestions could be very much helpful. I am also attching my .tpl file (for understanding) Thanks in advance Agassi e181115.tpl
  9. The macros enable the user to regroup the frequently used commands in an extension integrated into the software. You can build up a macro instead of manually executing a series of repetitive actions in Flux, which you will then be able to call regularly. A macro is interesting because it can encapsulate within a new command a series of repetitive operations and thus improve the quality and efficiency of the user-software interaction. Concretely, a macro file (*.py) is a text file, which defines the macro-function in the PyFlux language. It receives (upon entry) one or more parameters and executes (upon exit) a series of predefined actions. It is possible to use the macros provided with Flux or to create your own macros. All macros provided with Flux are open sources, to help you to create a macro fitting exactly your expectation. The list of macros provided with Flux is available in C:\Altair\Extensions\Macros\macros_list_EN.pdf. The moste recent one are described with more details in the attached document "New_Flux_macros_2016". New_Flux_macros_2016.pdf
  10. Dear all, I was wondering whether it is possible to directly post-process Time History data output with custom-written Python scripts? What kind of format is the *T01 file? Is it a binary format (is the format known)? A short synopsis of what I am working on is an automated peak detection method on certain Time History Output data. I want to find out at which time a peak value occurs, and subsequently want to look up the Y-value at that same time for a different Time History Output. If a script (different from Python) is available that can directly be applied to the *T01, then I am also happy. Kind regards, Robbin
  11. The first time you run this program, it will go through an installation process. Please click ok on dialogs that appear when you first run acuReport. In the process, if it ask for any package installation of Latex please download the updated miktex.zip from the public area on our client vault. Unzip the compressed file and replace the miktex folder in /base/bin of AcuSolve installation. More Details: acuReport is a post processing tool that extracts data from AcuConsole database, AcuSolve output and any other user data. One has to create a simple python script to access data from different sources.AcuReport converts the python script into a latex document that could then be converted into pdf, html or an rtf document. Depending on the features of Latex that one uses, latex distribution could be as big as 2GB. Both on windows and linux we are including some of the standard packages in Latex that are used most of the time. If the users wants to go beyond these standard packages, they can download and add to the existing latex/miktex distribution. On windows, we use miktex. In V1.8 we did not include all the standard miktex packages required by acuReport. Miktex downloads packages as needed and hence some of the users might encounter problems while running acuReport, because they don't have the permissions to download and install the package on their machine. For now, please download the updated miktex package in the public area on our client vault. This will also be part of V1.8a distribution. On Win64, there is a known issue that we are trying to resolve. The plotting package does not render the plots correctly. This is an issue with matplotlib package that we are trying to fix it. Finally, acuReport is still in preview mode. Please feel free to provide your feedback so that we can make it useful for your applications.
  12. python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory AcuConsole requires the standard C++ libraries, version 5 to be installed on the system. These libraries can be downloaded from the various rpm repositories on the web.
  13. Hi, When I am trying to automate meshing in SimLab for .slb file, it is asking for Geom file (.x_t) which is kept in same folder as .slb and even .slb file contains only Geometry (imported CAD from the same parasolid file). Now, I am left with two option - 1. Either automating >> directly importing parasolid file. > Renaming each component and then meshing. (which is more time consuming than 2nd option). 2. Importing .slb file >> giving Geom file > then meshing. (lesser time consuming than 1st ) But the problem with second option is, I dont know how to auto feed Geom file, initially only or in code. If this whole process runs in graphic mode, it will pause and ask to select Geom file. But, if it is nographics (batch mode) the simlab goes non responding, until it is killed by task manager.
  14. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost Personal Edition software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  15. Hi! I am new in python scripts and I would like to know if someone knows how to make a script that allows to hide everything that the model and let see for example a certain range of ids. That is ... a code that filters and leaves in sight only a certain range of IDS qe. thank youu!!
  16. Hi all I wanted to know if it is possible to read h3d result file using python. I cannot use hyperview to read the file since I am not well versed with Tcl/Tk. Thanks Saumya Mishra
  17. Hi, I'm back with questions regarding Python/PyFlux. I'm trying to determine the current application in a script. I have two questions: 1. In my tests, I found out that my current application is always Application[2]. Why is there no Application[0], and why is Application[1] the pre-processor? 2. When I type "Application[2]" in the PyFlux command line, I get "ApplicationMagneticTransient3D[2]", which would be good for me to determine the application. Yet, when I assign it to a variable "myVar = Application[2]", a print of that variable returns "2". I can't seem to get the information I want. There must be a python mechanism that I don't understand, and it might be useful for several other tasks in Flux. Thank you very much in advance! Romain
  18. Hello, I am doing the "SPM_Motor_Flux_3D.pdf" tutorial, and in page 15 there is a file named "Create_NonMesh_Coils_SPM.py" that I have to Run. I can not find it in my PC. Could you please tell me the exact directory where I can get it?, or much better, if you could send it to me I would appreciate it. (and let me know if I need another file to finish the tutorial) Thank you in advance.
  19. Hey Guys! I would like to model composite coupon and make a lots of runs using RADIOSS, because I have a lots of measurements data and I would like to make a proper model for it. I want to make 3-point bending, tension, compression etc. and experience the behavior of the model in the post-yield phase (after the failure of some fibers). If I have the results of the measurements, I should export the material data into RADIOSS from a .csv or .xls file. I should optimize the parameters of the material card in RADIOSS to approximate the measured results of the composite coupon. This process should be automatized (because of the many runs and many setup options of the material properties). I would like to use PYTHON scripts to change the values of the material card in the .csv or .xls file for different runs. Can you tell me anything about how we can use PYTHON scripts in HyperMesh/RADIOSS or if it is not able, how we can connect them to TCL/TK scripts? And another question is that how can I reference to the parameters of the material card in TCL or PYTHON scripts? How can I export the results of a specified node or element (stress, strain, displacement or something) to an excel compatible format (.xls, .csv)? Thanks for your answer in advance! Best regards, Tüki
  20. Hi, I have created a session file where it generates graph between strain and stress for a particular element id. Now i would like to change the element id and reuse the template or session file. I am very new to hyperworks and have no idea how to change .tpl to tcl script or .mvw to tcl. For understanding i am attching the images created by saved template and also the template. I would like to create a script such that it should ask me to enter the element id in hyperview. Any suggestions or recomendations (example scripts) would be verymuch appreciated and helpful. Thanks in advance Agassi e181115.tpl
  21. Hi everyone, I am definitely not a Python expert, but I've been using PyFlux for quite some time now. I have always had issues guessing the structure of different classes for my scripts and was wondering if there was somewhere a document describing the different classes in PyFlux? If not, a simple screenshot of the classes définitions might help... I am aware of solutions such as vars(myClassInstance), yet I cannot always find everything I want with this method. Is there another efficient method? I also know that a lot of tricks can be learnt by checking the code of the provided macros... For example, my most recent bother is that I am trying to implement a post-processing script that automatically generates reporting on a given scenario, but the control parameters can be mono or multi value and I cannot know it beforehand. What is the class attribute of the pilot that tells me whether it is mono or multi? Multi defined by step value or by step number? Than you very much for your help! Romain
  22. Hi all, I'd like to know what's the PyFlux command to display the progress bar when solving. I'm not quite sure why, but when I launch my script that opens a project and solves it, the pop-up window with the progress bar of the solving process does not show up. Thanks! Romain
  23. Hi, I need to use an external python package (openpyxl) to connect FLUX with a data sheet. I installed that package in the FLUX's "lib" folder but when i try to import it in the command prompt zone, an error showing "no module named openpyxl found" appears. How can i install external python package in the correct way? Grazie!
  24. Hi, I'd like to know if there is a way to let the user give parameters to a macro without those parameters being Flux parameters (IO or geometric). Simple example: I want to make a macro that computes the parameters of a non-meshed coil. The user can enter the dimensions of the iron core as well as the maximal size of the coil and the thickness of the insulation. Yet, I do not want these input values to be saved as geometric parameters, I only want to keep the four resulting values as parameters that Flux needs. Can I do this? Thanks in advance, Romain
  25. Hi guys, need some help to install pandas module to work with Compose. Any ideas? Went to the local help and just saw some supported packs [below]. Does it mean that it is impossible to install other packs? Supported Packages Numpy-1.9.2 Scipy-0.15.1 Reportlab-3.1.44 Colorama-0.3.3 Ecdsa-0.13 Matplotlib-1.4.3 (generates plot in a Python command window) Pillow-2.7.0 Pycrypto-2.6.1 PyTest-2.7.0 Requests-2.9.1
  • Create New...