Jump to content

Search the Community

Showing results for tags 'tcl/tk'.



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 , 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)

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

  1. Hi all I would like to ask how get an area of selected elements.I wrote an tcl to select the area as an example shown in figure below. I want to get the x and y values. Is it possible to get the values?
  2. I am writing a script to hide to remove certain types of elements like rbe3s,rbe2s etc that are attached to a component. But I want to ask the user the type of elements he wants to remove. Is there anyway I can take this input?
  3. Hello, I have a tcl script that uploads an FEM using ossmooth into hypermesh. Then two shrinkwraps are applied on the new iso-surface and the resulting mesh is exported as an stl file. The problem is when I call my script from the command prompt; hypermesh fails to locate elements by their property id. When I run the script in the hypermesh console no errors occur. Can anyone help me determine what is causing this strange behavior? The string sent to the command prompt is written as: "C:\Program Files\Altair\2019\hm\bin\win64\hmopengl.exe" -tcl "C:/Users/Eric/Documents/script.tcl" I cannot post the model because of work reasons. The script is below, the path names need to be updated with local file names: #the property id to locate design elements set design_id 23 #the voxel size for shrink wrap set wrap_size 0.0500000000 # .fem file path set fem_name "temp_name" # shape file results set sh_name "temp_sh_name" # the stl output path set stl_name "tmp_stl" #upload the file for fea re-anlalysis *createstringarray 2 "isosurf: 3 3 0.500000 0 -1 0 0 10 30 1 0" "other_params: 1 0 0 0 10 0" if { [ catch {*ossmooth_12 0 1 0 1 $fem_name $sh_name "" 1 0 1 2} ] } { puts "Error Extracting ISO-Surface..." } #mask all puts "Creating New Component" #create a new compoenet for the shrinkwrap set comp_name_1 "component1_lattice_wrap1" *createentity comps includeid=0 name=$comp_name_1 puts "Applying Shrinkwrap 1" #do the shrink wrap on the displayed elements *currentcollector components $comp_name_1 # # Script Error from command prompt # *createmark elems 1 "by property id" $design_id # # Script Error # *shrinkwrapmesh elements 1 2 $wrap_size 30 3 0 0 0 0 0 0 puts "Applying Shrinkwrap 2" #make another component for the second wrap set comp_name_2 "component1_lattice_wrap2" *createentity comps includeid=0 name=$comp_name_2 *currentcollector components $comp_name_2 *createmark elems 1 "by component name" $comp_name_1 *shrinkwrapmesh elements 1 2 $wrap_size 30 3 0 0 0 0 0 0 #divide the elems into triangles *createmark elems 1 "by component name" $comp_name_2 *splitelements 22 1 #export to STL into the predefined path puts "Printing the STL file" *createmark elems 1 "by component name" $comp_name_2 *createstringarray 2 "CONNECTORS_SKIP" "HMMATCOMMENTS_XML" hm_answernext yes *feoutputwithdata "C:/Program Files/Altair/2019/templates/feoutput/misc/triasto.stl" $stl_name 0 0 0 1 2 Thank you, -Eric
  4. I would be nice if someone can explain the following command line *createstringarray 3 "pars: post_cln" "tet: 355 1.2 2 0 0.8" "2d: 1 0 1 3 0.15 30 1" I want to write a program inorder to automate the tetmesh operation using *tetmesh. But in *tetmesh command an input string array is required which is mentioned above. I am unable to understand the above mentioned command line. I would be nice if someone can explain above line part by part for eg. *createstringarray 3 means an array of size 3 is created. Later what is the function of "pars: post_cln" and "tet:..." "2d:...". Just for the reference below is the command line used to create a automatic 3d tetmesh for a solid. Please comment on the same *createstringarray 3 "pars: post_cln" "tet: 355 1.2 2 0 0.8" "2d: 1 0 1 3 0.15 30 1" *createmark solids 1 1 *tetmesh solids 1 0 elements 0 -1 1 3 Thank you so much
  5. Hello everyone! I have 3D tetra mesh and in the middle of any particular element of the mesh I have a dot. It seems that this dot means nothing, couldn't find any information about it. But for my project I need to get coordinates of those dots, without coordinates of the mesh. As an example we can get .txt file with coordinates of elements of the mesh. What I need to get is the same .txt file with coordinates but with coordinates of those dots only. Should I use some TCL commands or is there any way to do that? Very grateful for any help!
  6. Hi all I created a table with Fx,Fy,Fz values with many load cases. I would like to get the max value for each column. How can i get the max value of a table's column with TCL? Best Regards Seçkin
  7. Hi all I wrote this code for combobox. However when i change the list the results not. I expect when this list's value changes, get the area and moi for selected beam sections. Could you please help me? hwtk::labelframe $w.lf3 -text "Defined List Only" hwtk::combobox $w.lf3.cb -values $beam_list -help "BEAM SECTIONS" -textvariable beam_sect switch -regexp -- $beam_sect { I { set Inertia [hm_getvalue beamsects name=I_beam dataname=results_Icentroid0] set dim_1 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim1] set dim_2 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim2] set dim_3 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim3] set dim_4 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim4] set dim_5 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim5] set dim_6 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim6] set aera [hm_getvalue beamsects name=I_beam dataname=results_area] set Icog [hm_getvalue beamsects name=I_beam dataname=results_centroid0] } C { set Inertia [hm_getvalue beamsects name=C_beam dataname=results_Icentroid0] set dim_1 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim1] set dim_2 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim2] set dim_3 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim3] set dim_4 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim4] set dim_5 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim5] set dim_6 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim6] set aera [hm_getvalue beamsects name=C_beam dataname=results_area] set Icog [hm_getvalue beamsects name=C_beam dataname=results_centroid0] }
  8. Im new in TCL TK and macros also pls guide me
  9. Hi all I would like to get a list of thickness for selected elements. I wrote these codes but it gives just one thickness as a result. Could you please help me ? *createmark elements 1 179 79 150 279 35 ... set test [hm_getthickness elements 1] foreach elements $test { puts "$test" }
  10. Hi, I need SCRIPT for automatically saving Hypermesh with an intravel of time. Please help anyone. Thanks in advance. Thanks, Dinesh chellaiya
  11. Hi all, I am trying to produce a script which lists displayed entities. Specifically, I am looking to write a script which displays all loadsteps, then creates a list of all loadcollectors, hides then reshows them and deletes all non-displayed loadcollectors. it seems a bit long winded but my model contains loadadd loadcollectors and when I come to delete unused loadcollectors it doesn't identify any... despite there being a good number which are in no way used. Cheers in advance Andy
  12. Hi, After generating mesh for any assembly, it will be very difficult to check which elements are not projcted to surface. This is even more difficult to check when Geometry and CDB files are imported seperately. Is there is any script or a method to hilight the elements/node which are not on the surfaces/not projected to surfaces. Regards, Sagar
  13. How to create a "set" using script? for example I want to create a set which contain RBE2 element and its adjacent elements
  14. Hello forum, I have been trying to capture the center line of any given pipe/tube. But I don't find any readily available API. So, how should I proceed so that I can create one for myself ? Regards, Brahmadev.
  15. HI All, I'm a beginner to Hypermesh customization ,I have this idea to defining topology for better querying the lines or edges by name so please help me out is it possible to define topology by naming by lines with numbers->in Black color surface with numbers ->white color as below image no particular sequence is necessary while naming.
  16. Is there a way to put notes in HyperMesh, the same way as its done in HyperView. Please help in doing the same.
  17. 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
  18. 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
  19. Hello, Is it possible to work on hypermesh when we are running a Tcl/Tk script? I would like to use "after 10000" command to halt the execution of the script for some time and I would like to work on hypermesh meanwhile. Thank you.
  20. Hi, I am writing script in hypermesh tcl command to create 3D meshing. for these i not understand what the numbers mention here (8,0). it is working in HM_13 and not in 14 *solidmap_prepare_usrdataptr "SOURCE" 8 *solid_prepare_entitylst elements 0 Let me help to solve the issue. Thanks, C.Jude Antro
  21. once the xyz procedure has been executed ,the yellow button should change in some other color.
  22. Hi All, I am trying to write a tcl/tk script wherein I need to export .csv for each component's Advanced Query results. I am not able to find the handle to to control this option. I have attached the screenshot for clear understanding of the problem. Thanks and regards. Saumya Mishra
  23. Hi, I have a meshed cylinder (2d) on which i want to give an option to select a node to user. Once the node is selected, and clicked on proceed button it should display all the circumferential grids having a user defined number to the grids. Let's say i select a grid having ID as 122. Now, i want to display all the circumferential grid starting from 123 on the same station location where user has picked the node. I want to do it using TCL/ TK. Thanks
  24. I want to read the node and element data from an fem file to python. Can I do this?
  25. Hello, How to get the point list on the boundary of a selected surface? My goal is to get the distance between the points and set the element density accordingly.
×
×
  • Create New...