Reading Grid Point Stress Data using Tcl

Girish2121
Girish2121 Altair Community Member
edited October 2020 in Community Q&A

Hello everyone,

 

I am new to Tcl . I am interested in reading the result file(H3D FILE)  i.e read Grid Point Stress Data of particular node ids . 

 

What commands should be using ?Please reply if you have  tried this before!!

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • tinh
    tinh Altair Community Member
    edited October 2015

    hi,

    you can file relevant commands in hyperworks destop reference guide

    <?xml version="1.0" encoding="UTF-8"?>post-3195-0-37989400-1446299020_thumb.pn

  • Girish2121
    Girish2121 Altair Community Member
    edited November 2015

    Thanks Tinh,

    I got off to to a start with help of Hyperworks help !!.

    I was looking for any particular tutorial where results are extracted from the model .I am stuck with the Hyperview Hierarchy  sequence !!

     

  • tinh
    tinh Altair Community Member
    edited November 2015

    Hi

    Try looking in hw scripts exchange

  • Girish2121
    Girish2121 Altair Community Member
    edited March 2016

    Hello Tinh,

     

     Coming back to forum after couple of months!!

    I am facing difficulty using the SetDataType command in the ContourCtrl  class of Hyperview 

    Though I can set the query to Displacement, Grid Point Stresses(Prop 1),etc but I am not able to  choose  sub options like  Mag,X,Y,Z and Von Mises ,Signed VonMises, respectively.How do I do it ?

     

    Your help is very much appreciated !!

    Thanks and Regards,

    Girish

     

  • tinh
    tinh Altair Community Member
    edited March 2016

    Hi, 

    use SetDataComponent command

  • Girish2121
    Girish2121 Altair Community Member
    edited March 2016

    Yes it works !! 

     

    With respect to the Hyperview help on Tcl/TK Classes , the description on SetDataComponent is a bit misleading. It says the options can be either node,line,shell or solid.

     

    Can  you elaborate  on the following classes(with significance to displaying a contour plot) :

    1. SetDataComponent

    2.SetShellLayer

    3. SetDimensionEnabled 

  • tinh
    tinh Altair Community Member
    edited March 2016

    Yes, hw help has some mistake while explaining functions

    I do not ever use above functions, I just guess.

    so SetDataComponent => will set component of DataType, example: DataType=Displacement, DataComponent=X

     

    it's better for you to try some values, and then look for any affect

  • Girish2121
    Girish2121 Altair Community Member
    edited April 2016

    Hello tinh,

    Greetings !!

          I intend to read  all the labels of the entity sets available in a HyperView Model file. How should I do it ?

    I tried using GetSelectionSetHandle command, but it requires that I get the handle for each set then read the label .

    Something similar to GetSelectionSetList  will be helpful or any other method ?

     

    Regards,

    Girish

     

     

  • tinh
    tinh Altair Community Member
    edited April 2016

    Yes, do a loop through all sets, get handle and label of each one and append it to a list

    finally print this list of all labels

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.