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


Forums

  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation and Licensing
    • 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製品の意外な活用例
    • インストール / ライセンス / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests


Organization

Found 312 results

  1. How to plot the data as shown in below figure using TCL script after .odb file is loaded in the Hypergraph2D? In Y-Type I would like to select RF2-Reaction force(Time History) , all the nodes in Y Request , Value in Y component and plot them.
  2. I receive the below error when I try to run my tcl script in hmbatch mode. This same script however will run when I run it inside of Hypermesh using the scripting toolbar and gets no errors. I would like to run this in batchmode. ======Shell AR Distribution: max=3.91===== [AR=1~1.5]: et cnt=200 [AR=1.5~2.25]: et cnt=552 [AR=2.25~3.38]: et cnt=35 [AR=3.38~5.06]: el cnt=1 8 #0 star shape failed at enclosed stage Any suggestions? I have attached the tcl script. Base_shrinkWrap.tcl
  3. Hi fellows, I'm coding a tcl script, but got stalled because i don't know how to get which element types are in a particular collector/component. I mean, i need a command to get the info to know the element type that have a collector. For example, select the collector id1 and get a list with (C3D4, M3D3) if id1 has these element types. Thank you
  4. Hello So I want to create a drop down menu or button in hyperview So which commands should I use Thank you
  5. I have a surface and I'm able to get the list of lines on it. But I'm not able to get the list of points on a line. set surfIDs [ hm_getmark surfs 1] *createmark lines 1 "by surface" {*}$surfIDs set lineList [hm_getmark lines 1] puts "Number of lines on the selected surface: [llength $lineList]" #Trying to extract points using line id set lineId1 [lindex $lineList 0] *createmark points 1 "by id" $lineId1 set pointList [hm_getmark points 1] puts "Number of points on the selected line: [llength $pointList]"
  6. I have set of components like led_high_1 led_high_2 led_high_3 etc... i have to make a duplicate set of components with name like led_high_xxx_1 led_high_xxx_2 led_high_xxx_3 etc... i need a tcl script for this in hypermesh
  7. hi, i have interest to learn TCL scripting on hyper mesh. i have downloaded several tcl documents to learn it. the commands and structures on hypermesh are totally differs from the document. how do i learn it easily. please help me. regards MEIYARASU19
  8. Hi All, How to store and translate duplicated elements using tcl? Regards, Sanket
  9. hi, i'm trying to define an initial velocity by the tcl script. At first, i have tried to use macro to record the script to define an initial velocity. As following, https://imgur.com/a/u9xd4g3 the comman is *loadcreateonentity_curve(nodes,1,8,2,-7157.98626,6287.04714,0,0,0,9527,0,0,0,0,0) there is no detail for the velocity on the hyperwork online documentation when i try to use arguments to replace the vectors and the magnitude. *createmarkpanel nodes 1 "Please pick one node" set magnitude [hm_getint "magnitude= " "Please specify the magnitude of velocity"] set plane [hm_getplanepanel "Please define a plane"] foreach {nx ny nz} [lindex [lindex $plane 0] 0] {} foreach {bx by bz} [lindex [lindex $plane 0] 1] {} *loadcreateonentity_curve nodes 1 8 2 $nx $ny $nz 0 0 $magnitude 0 0 0 0 0 the results showed me an initial velocity with correct vector direction but wrong magnitude. (Magnitude = 1 ) https://imgur.com/a/DS4FHO5 does anyone can help me to solve this problem?
  10. Hello, I would like to know how to find elements that fail the validity check and then delete them. Is there a method to do so in tcl? Thank you
  11. I have components in the assembly and i want to find the IDs of surfaces which are really close or almost touching other component. Is there any way to find out those details?
  12. Hi, I would like to export all the pages in my hyperview with required screen resolution. In Hyperview there is an option in Menu- Export* - Multiple Images - old/Advanced where I can specify width and height seperatly. But this option is restrictred to 'Export each window separately total page size'. This means If i have 4 windows in a page this option is exporting images of individual window with specified resolution. I would like to export all the pages with required width and height. At present I am trying to using command window with following commands by opening every page: hwi GetSessionHandle sess sess CaptureScreenToSize png 01.png 1400 593 I am trying to write a tcl/tpl script to automate this process (Export all pages with given width and height). It would be appreciated if someone can help me with this code. Thanks in advance Agassi
  13. HI, HOW TO CREATE A REPORT INSTEAD OF HM_USERMESSAGE..FOR INSTANCE ..A REPORT OF DISPLAYED COMPONENTS AND ADDING A OPTION FOR ISOLATING THAT PARTICULAR COMPONENT.
  14. Dear all, the following image is an example. In the following image, i would like to re-number the node number 13 to 113. I am able to do it using the manual options available under tools option. But i would like to re-number using commands or tcl scripts. Thanks & Regards, Prabhu p
  15. Hello, Is there any command to find associated nodes of an element using TCL command . Thanks Girish
  16. Hi, I have a little problem with exporting local coordinate systems. I need them to postprocess welds but I don't use them in the analysis, so I must assign at least one node to the system that I have created. I do it by using this menu: Once I have assigned the nodes to the system (with "set displacemente" button), I export the model and I get a piece of code from the exported file like this: *TRANSFORM, TYPE=R, NSET=HM_auto_transform_14AA0 -4.463E-08, -0.9995139, 0.03117584, -1.0 , 1.4901E-08, -9.537E-07 **HMORIENT ORIGIN 3.2 ,-1.324 ,-0.18998 I was wondering if there is a way to export a local coordinate system with a NSET previously created in HyperMesh by using TCL. I know you can do this changing the button in HyperMesh (like I show in the image below), but when I try to do this with tcl commands, HM ignores it. Furthermore, in the command file this action is not recorded. I was trying with this: set name [hm_getstring "Name=" "Please specify a name for the NSET."] *createlistbypathpanel nodes 1 "Select nodes to create a weld" set lista [hm_getlist nodes 1] *clearlist nodes 1 *createentity sets name=$name ids={nodes $lista} *createmark systems 1 "by collector id" [hm_info currentcollector systcol] set sistema [hm_getmark systems 1] *createmark sets 1 $name *systemsetanalysis sets 1 $sistema Can someone help me?
  17. I would like to select nodes using "by face" command and I have ID of one of the nodes on a face using a TCL script in Hypermesh. Thank you.
  18. Hi All, I have x, y ,z coordinates and I have system ID also. Eg: {0 0 25} and system ID :658001 Suppose, a node is present in the model at the above location, How to get the node ID using HM APIs? Note :hm_closest node is not working for me. Regards Gopal
  19. HeIlo, is there any way to create short cut or tcl file to select elemnts by adjacent by clicking on a single element? Please help me.
  20. 例えば、「aabbccddeeddggqqlldd」という文字列から、「dd」だけを消した状態にしたい場合は、下記のようにします。 方法1:splitコマンドを使う方法 set ORIGINAL "aabbccddeeddggqqlldd"; set REMOVE "dd"; set NEWNAME ""; foreach S [split $ORIGINAL $REMOVE] { if {$S != ""} { append NEWNAME $S; } } puts "$NEWNAME"; 方法2:regsubコマンドを使う方法 set ORIGINAL "aabbccddeeddggqqlldd"; set REMOVE "dd"; set NEWNAME [regsub -all $REMOVE $ORIGINAL ""]; いずれも実行すると、「aabbcceeggqqll」が返るハズです。
  21. Hi all, The IDs of entity sets in HyperView are auto assigned.Sometimes they are not continuous. I intend to re-arrange them in a ascending order but HyperView doesn't provide an option. How should I proceed ? Thanks in advance, Regards, Girish
  22. Hi everyone, I want to develop a script to help me on elements selecting. Selecting elements as line (or "by path") occurs in my work frequently and no built in entity selecting method could help me on this one. So I am thinking to develop a macro to select elements just like how I can select nodes "by path". So my ides is I build a mark to store nodes "by path". Then I find out which elements does these nodes belong to and store these elements. But, I checked tcl functions list of hypermesh and, as far as I know, no ready-use function to help on locate elements by it's nodes. Does anyone know how could I possibly solve this problem? Or if you have better thoughts, Thanks
  23. Hi fellows, I'm creating a parametric macro which makes and mesh a bearing in an automatic way. I must add some kinematic coupling to model the balls contact so i need to select several nodes. those nodes are not easy to select. First of all, i've selected those elements linked with this surface (Figure 1) chosen nodes are the tagged ones. I just want to select the inner nodes so i've been thinking about creating another set of nodes by : *createmark nodes 1 "by sphere" $xball 0 $zball $circlemesh boundary 1 1 0 xball 0 zball are the ball centre corrdinates circlemesh is the radius ro the outer circle which contains the undesired nodes. So now i have 2 sets of nodes: undesired: 488187 488386 488385 488376 488375 488374 488373 488372 488368 488336 488335 488334 488325 488324 488323 488322 488321 488317 488285 488284 488283 488274 488273 488272 488271 488270 488269 488266 488234 488202 488199 488198 488197 488196 488195 488194 488184 488183 and sector: 488187 488198 488197 488196 488195 488194 488193 488192 488191 488190 488189 488188 488185 488184 I was wondering about a function that removes the repeated nodes in a new set so it just remain these nodes: 488188 488193 488192 488191 488190 488189 488185 Thank you HW fellows
  24. Hi, probably this question is super simple but I spent 2 hours searching the whole tcl commands for an option to querry the coodinates of a node which I can not find. You know how to do this? Thanks and best regards, Merula
  25. Hi guys, I am new in Tk programming and I have just created a Tk window using the tutorial in the HyperWorks GUI Toolkit Demos. My window is now finished but I have a problem to use it, I don't manage to get the entry value of a Combobox and "string fields". How can I do that ? Thanks for your help
×
×
  • Create New...