Jump to content

Search the Community

Showing results for tags 'tcl'.

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 320 results

  1. i want to equivalence only con mass elements with rest of the model.while giving shift + f3 equivalence elements within the model is also getting equivalence which need not to be done. thanks jamie
  2. Hi All, input: only one node and x direction I have BIW model. depend on any one node selection on body... i want to delete right or left part of model. Cutting plane will be y-z. left or right part would be depend on x direction (+ or -) want to automate this... Please suggest me if any one have logic....
  3. Hello all, I am interested in finding out the element config IDs used in Hypermesh for the NASTRAN solver. Where can I find it ? Thanks Girish
  4. Hi all, I am getting segmentation error....when try to run same scripts second time on same model...and then hypermesh get crashed.... Please share solution if any one know about it. Thanks & Regards, PD
  5. Hi All, I have BIW Model. by selecting one component , want to get its adjacent components.... Is there any way to do this automatically.... @tinh Regards, PD
  6. I would like to get the name or the ID of component in which node by using node ID. #25 is node ID *createmark nodes 1 25 set nodeID [ hm_getmark nodes 1] *createmark comps 1 "by node" 25 set compName [hm_getmark comps1] Above two line are giving error, as component name is not possible to get through node. Is there any other way to get this done? Thank you.
  7. Hey Guys, i have recently been trying to get the stress tensor out of hyperview. I can get a query but I can not find the right option to query the tensor. so thats what I found on the help: poIQueryCtrl SetQuery Node Based node.id node.pool node.rsys node.asys node.coords component.id component.pool component.name component.color misc.load misc.sim misc.model Element Based element.id element.pool element.config element.connectivity element.normal element.centroid component.id component.pool component.name component.color misc.load misc.sim misc.model Part Based component.id component.pool component.name component.color misc.load misc.sim misc.model System Based system.id system.pool system.type system.origin system.x-axis system.y-axis system.z-axis Result Based contour.value result.complex_value_M/P result.complex_value_R/I result.value But no tensor Any suggestions ? Thanks in advance
  8. Hi all, I got my script to start an optistruct run with the following lines: exec "C:/Program Files/Altair/13.0/hwsolvers/scripts/optistruct.bat" G:/DC43Workspace/Multicopter/FEM/OpistructInput.fem & exec "C:/Program Files/Altair/13.0/hwsolvers/scripts/optistruct.bat" G:/DC43Workspace/Multicopter/FEM/OpistructInput.fem & where the second path points to the file which gets imported. BUT: The whole process is running in the background and I can not monitor its progress. So I would like to know if there is a way to start it with the graphical interface. It is like the script behind the green button in the menu "optistruct". PLUS: Is there a way to transfer parameters like -nproc 4 or -len ? Thanks in advance and best regards, Merula
  9. Hi, Trying to browse *.fem file through a UI created. I am not able to browse lengthy file path. Is there any command to be used to browse beyond 218 characters? Ashwin
  10. Hello, I have created this TCL script, which should check, if a certain ID for a specified entity-type is free and if not provide the next free one. proc check_ID {entity_type target_ID} { *createmark $entity_type 1 $target_ID set mark_list [hm_getmark $entity_type 1] *clearmark $entity_type 1 if {[llength $mark_list] > 0} {return 0} return 1 } proc next_free_ID {entity_type target_ID} { hm_usermessage "Finding next free ID for $entity_type $target_ID" silentmode_start while {![check_ID $entity_type $target_ID]} {incr target_ID} silentmode_stop return $target_ID } proc silentmode_start {} { *entityhighlighting 0 hm_commandfilestate 0 hm_blockmessages 1 hm_blockerrormessages 1 hm_blockredraw 1 hwbrowsermanager view flush false hm_setmouse 0 } proc silentmode_stop {} { *entityhighlighting 1 hm_commandfilestate 1 hm_blockmessages 0 hm_blockerrormessages 0 hm_blockredraw 0 hwbrowsermanager view flush true hm_setmouse 1 } puts [next_free_ID "elems" 5000] The problem is, this script is very slow. Already on a small model with about 10000 elements it takes a long time to run, or Hypermesh freezes completely. Is there any way how i can make this run faster? For example the renumber-function in Hypermesh can do basically the same thing, but in real time. Thanks & Best regards
  11. タイトルの通り既知の3つの節点を通る円の半径と中心座標をスクリプトで取得する方法を探しています。 3つの節点はユーザーが選択するものとして、その取得まではできているのですがそこからは数学的に算出するしかないでしょうか? もし円の半径と中心座標を3つの節点から取得できるコマンド等ありましたら教えていただけると幸いです。
  12. hello, i am new to make scripts. i am trying to do a script to delete empty assemblies and sub assemblies in one action. i need a loop format of script to do this. but i dont know the structure. please help me out.
  13. Hi All, by selecting 2 components , can we find surface area of both component close to each other with some tolerance to create contact. is there any direct API? any one having any idea regarding this? @tinh @Imoto @vipin Regards, PD
  14. HI All, how to set keep mesh option using script.... any idea or api @Imoto @tinh
  15. Hi all, I want to select the internal nodes for any nonuniform hole. So for same i want to write a tcl script. any idea? I have written script for cylindrical hole. it works perfectly. but what if it is not cylindrical hole. please suggest me any solution.
  16. Tcl言語では、openコマンドでファイルハンドルを取得して、getsコマンドでハンドルを指定すると、1行ずつ読むことができます。 openコマンドの最後を「r」にすると読み込みモード、「w」にすると書き込みモードで開きます。 openコマンドで開いていると、他からの書き込みなどができないロック状態になりますので、最後に忘れずにcloseコマンドで閉じて下さい。 -簡単なサンプルを用意しました。tk_messageBoxを使ったサンプルなので、sample.csv←のような短いCSVファイルで試してみて下さい。 set ft {{"CSV Files" .csv} {"All Files" *}}; set fn [tk_getOpenFile -filetypes $ft]; set fh [open $fn r]; while {![eof $fh]} { gets $fh line; set line [split $line ,]; tk_messageBox -message "Gets = ${line}\nLength = [llength $line]"; } close $fh; -表示イメージ-
  17. Hi all, I am new to Hypermesh and I have to focus on scripting/macros/user menus. So I started with the tutorials about HyperMesh customization. There is a tutorial available in HyperWorks Help: "HM-8040: Create a Utility Menu Macro from a Tcl Script" The link for tutorial (in standard installation of HyperMesh) is: file:///C:/Program%20Files/Altair/11.0/help/hwtut/hwtut.htm?8040.htm I followed the procedure exactly, and very carefully, however at the end, I found that there was no new button created for my macro which runs the file saving tcl script The Utility menu's userpage was totally blank. Is there any reason known to create this problem? This is a very basic level tutorial and it is not working with the perfectly fine installtion of HyperMesh that runs flawlessly with interactive operations. Any sort of help is welcomed. Best regards, Mubeen.
  18. HyperMeshやHyperView向けのTcl/Tkスクリプト内で、エラーが発生しても無視して継続させたい場合は、一般的なTclコマンドの『catch』を用います。 例えば、foreachなどを使って、各コンポーネント名から、アンダーバー(_)以降を消した名前に変更したい場合、「コンポーネントによってはアンダーバーが付いていない名前もあるかも知れない」ということがあるかも知れません。 実際、HyperMeshでは*renamecollectorコマンドを使って、「旧名」「新名」を引数で指定しますが、旧と新が同じ名前の場合、エラーとなりそこで処理が中断します。 何か処理に不安があるのであれば、『catch』を追加しておくと、エラーを無視して継続をさせることができます。 -例- foreach compname [hm_entitylist comps name] { set newname [lindex [split $compname _] 0]; catch {*renamecollector components $compname $newname}; }    図.実行前                                     図.実行後
  19. How could we apply a contour plot to a model using tcl commands ? Such that after doing so when an animation is started, the contour plot appears with it ? I've found commands to SetDataType and SetDataComponent for the contour Handle, however I could not find an apply command for the same. Any help is appreciated. Thank you.
  20. Hi, I am working on DOE of a component in Hypermesh/Optistruct for natural frequency and stiffness (calculated based on nodal displacements). I have developed Tcl code for Automated design changes in Hypermesh which I execute every time for each iteration after changing some values but I need to manually note down responses (Result) in Hyperview. I need a TCL script for Hyperview which after pasting in command window would append to doe.csv or excel: frequency for mode 7, 8 and 9 for subcase 1; and nodal displacements for specific nodes (eg. 30778,7489,76923,77540) for subcase 2, maximum displacement for subcase 3 and subcase 4 in each row. @Livil Lyle
  21. I need to create a macro, which would help me to display the name, material properties and dimensions of a component by clicking/selecting it, moreover if the components contains multiple parts it would help to select only those parts whose Properties tag i wish to display. Any help in this regard is very much appreciated.
  22. Hi, I had planned to learn TCL/TK via online tutorial (tutorialpoint). When starting the tutorial, basics are easy to understand. But when getting deeper inside the tutorial after basics, it is very difficult to understand. So kindly help me with following questions. 1) Is there any easy way to learn this language??? 2) Online tutorials are like in coding format and their teaching also in same way. But written Hyper-mesh scripts are in different way. I am not getting this thing. 3) Any suggestion for TCL/TK books, videos and website for learning? Thanks in advance. Regards, Saravanan
  23. Hi, I need to create a TCL script that automatically assigns material properties to individual CBEAM elements in a component composed of a large number of CBEAM elements. I am essentially creating a lattice within a component but using CBEAM elements. Does anyone have any advice regarding the script, or how I would go about doing it? Kind Regards, Laurence Maskell
  24. Hi All, How can i get dependent node id of RBE3 elements using tcl commands? Regards, Sanket
  25. hello everyone, How to get independent nodes of rigidlink using tcl commands? Regards, Sanket
  • Create New...