Jump to content

Livil Lyle

Members
  • Content Count

    210
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Livil Lyle

  1. Hi JJJ, Launch Hyperview -> Input the model and result file path Click on Contour -> Select Result type, Result Component etc and press Apply to visualize the contour. For other option, please refer to help documentation.
  2. Hi Wiz211, Try capturing using Image Capture Panel.
  3. Hi Raj, Can you try after adding "s" to the end of SelectYComponent. buildh SelectYComponents {MAG | Z-Trans} Share the code and error if you still face issue.
  4. Hi Raj, are you getting the build handle? hwi GetSessionHandle sess; sess GetClientManagerHandle pm Plot; pm GetBuildPlotsCtrlHandle bp;
  5. have you tried creating a mark by box? *createmark elems 1 "by box" x0 y0 z0 x1 y1 z1 syst location contained all tol
  6. I was able to do it with this command. *createmark elems 1 "on plane" 0 6 0 0 1 0 1 1 1 hm_highlightmark elems 1 h
  7. Hi Dhairyasheel, 1. first create a font with the properties and then assign it to the label you create font create myFont -family cambria -size 14 ttk::label .test.frame1.label1 -text "Hello" -font myFont -width 15 2. all entry boxes have a variable set using -textvariable which should be a namespace variable, this can be set dynamically and will be reflected accordingly. hwtk::entry frame_1.ent_1 -textvariable ::mynamespace::entry1variable 3. use -command followed by the function while creating the button: hwtk::button frame_1.button_1 -text "test" -command {::test::Myprocedure}
  8. Hi, *createmark elems 1 "on plane" "x y z i j k tol plane touching" "
  9. For setting colors, get model handle and then use SetColor For PPT, use Automatic Report Director (ARD) it comes with Hyperworks 2019, for earlier versions you will have to install it though PSO installer, https://connect.altair.com/CP/downloads.html?suite=Packaged Solution Offerings
  10. Hyperworks desktop: .mainFrame.bottom.leftfrm.label cget -text Hypermesh: .mainFrame.bottom.message_label cget -text
  11. Hi Raj, You can add model using: poIPost_handle AddModel filename (reader_name) and set results using: model_handle SetResult file_name (reader_name) AddModel by default will overlay the model,.
  12. Hi Jouher, You will have to iterate through all components, find individual thickness and write an algorithm to find which are uniform or uniform according to your requirement. ' You can use API: hm_getthickness to quickly get each component thickness.
  13. Once you get the IDs, you can use poIResultCtrl_handle GetSubcaseLabel id to get the labels. regards, Livil
  14. Hi Dmoreau, There may be some issue with graphics card then, see if the script runs n another machine. If it works, you can try reinstalling the graphics driver driver.
  15. you can start and stop animation using the code. pageH StartAnimation session CaptureAnimation avi side_section.avi pageH StopAnimation
  16. Hi BurntPixel, Easier way is to get the component ID and get all the nodes directly from the component: set lst_nodes [list]; puts "Please select components" *createmarkpanel components 1 if {[hm_marklength comps 1]} { set n_compID [hm_getmark comps 1] *createmark nodes 1 "by comp id" $n_compID if {[hm_marklength nodes 1]} { set lst_nodes [hm_getmark nodes 1]; } } if {[llength $lst_nodes]} { foreach n_nodeID $lst_nodes { set lst_coord [join [hm_nodevalue $n_nodeID]]; # file operation to write nodeID and lst_coord should come below this. } } nodes will be saved in a tcl list lst_nodes. Regards, Livil
  17. Hi Raj, You can use the below APIs: hm_getclosestnode x y z ?elem_mark? ?node_mark? ::hwat::core::GetClosestNodeByDistance x y z n_nodeList n_exemptNodes ::hwat::utils::GetClosestNode x y z [d_tolerance] [assemname] [n_exemptNodes] To get x y z of the user selected nodeID use: hm_nodevalue $nodeID For more info refer help or search the commands in Altair Connect.
  18. Hi Raj, You can refer to examples in HWTK GUI Toolkit which comes along with Hyperworks installation. You can also quickly search the syntax in Altair Connect to get more information.
  19. Find attached elements to the node, Mask everything and unmask only those elements. Fit the view.
  20. Hi Mohammed I haven't done this yet, you can try: pltINote_handle SetAttachment curve pltINote_handle SetAttachToCurveIndex $curveID pltINote_handle SetAttachToPointIndex point_index to find point_index you can GetVectorHandle and from vectorHandle GetValuesList list. Find at what index the maximum value occurs in the value list.
  21. Hi Balazs, You can check out scripts in Script Exchange, just filter out Hyperview as in attached image. https://connect.altair.com/CP/script-list.html Do note that HyperView scripting does require practice in getting correct handles and hierarchy. I have written some easy scripts in this forums earlier which can be a good reference to begin with.
  22. Hi mpvnaresh, The algorithm used for re-meshing could be temporarily creating it, usually any such modifications will be handled in the end by automatically deleting. Btw, which version of Hyperworks are you using?
  23. Hi Martina, You should be able to directly import .stl directly, I'm not sure if the support is given in Student Version.
×
×
  • Create New...