Jump to content
raj

Get Subcase list and it's details in hyperworks desktop

Recommended Posts

Hi all,

Good afternoon,

I have doubt in tcl.. how to Get Subcase and frequency values list in that subcase in hyperworks desktop instead of hyperview.some one can please assist me in this

Thank you in advance 

 

Share this post


Link to post
Share on other sites

Thank you livil,

I have a small query ..how to load input file and any results file in hyperview.and using overlay option in hyperview while loading any file.can u please assist me in this please.thank you in advance

Share this post


Link to post
Share on other sites

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

tinh likes this

Share this post


Link to post
Share on other sites

thank you.. really helpful

how to set  component Colors in hyperview any command to do that..is it possible to add any text to ppt.can u help me 

Thank you..

Share this post


Link to post
Share on other sites

_20190823_201740.jpg.d74e9d40b5898c97c9f9ccb27e7b8661.jpg

hi thank you lyle ,

I am trying to plot graph with above .and I am getting error at selectYComponent step.

Before that I requested y type and y request and y componentlist also.along with that I used build selectYComponent.though I could not able to get selected YComponent.could u please assist me .. below is the process I followed

hwi GetSessionHandle sess;
sess GetClientManagerHandle mgr plot;

mgr GetBuildPlotsCtrlHandle build;

 

#step2:getting y type successfully

#step3: getting y request successfully

build SelectYComponent {“ MAG”};-this is not coming and getting error.

anything do we need to do to get Y component ?.

 

 

thank you in advance Lyle.

 

Share this post


Link to post
Share on other sites

Hi Lyle,

yes I am getting build handle .

And I can able to get X Type,Y type,Y request,but can not able to get Y component.

As per above pic..I can get all other then y component.

Any suggestion please assist me..

I will be helpful 

Thank you

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

Hi Lyle,

your suggestion is very useful..thank you for that.

Below is the code for generating curve plot with the below set options.with this I could not able to generate plot..could you please help me in this.where am I getting wrong.can you please check below code ..

 

hwi OpenStack

hwi GetSessionHandle mySession

mySession GetClientManagerHandle mgr plot

mgr GetBuildPlotsCtrlHandle bp

bp SelectDataFile "file_name" true;

bp GetSubcaseList

bp SetSubcase "subcasename:"

bp GetDatatypeList true;

bp GetComponentList true;

bp GetRequestList true;

bp SetXDatatype "time"

bp SetYDatatype "Displacement"

bp SetYRequests {"Node 10"}

bp SelectYComponents {" MAG"}

bp GeneratePlots;

mySession ReleaseHandle

mgr ReleaseHandle

bp ReleaseHandle

hwi CloseStack

 

 

Thank you in advance

Edited by raj

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...