Jump to content
Sign in to follow this  
Guest

Hypergraph/Hyperview Process Automation.......

Recommended Posts

Guest

Hi..........

Jaydeep Patil Here.

I am currently working on HyperGraph Process Automation. I want to add one menu by TCL/TK Scripting in Hyperview or Hypergraph menu Bar. Also I require drop down list under menu.

So how Should i write script for that....?????

If anybody can have macro then share it.

Also tell me if there is any help available.

Please do the needful.

Thanks & Regards

Jaydeep Patil

patil.jay2009@gmail.com

jayneel_patil@yahoo.co.in

Share this post


Link to post
Share on other sites
Guest
Hi..........

Jaydeep Patil Here.

I am currently working on HyperGraph Process Automation. I want to add one menu by TCL/TK Scripting in Hyperview or Hypergraph menu Bar. Also I require drop down list under menu.

So how Should i write script for that....?????

If anybody can have macro then share it.

Also tell me if there is any help available.

Please do the needful.

Thanks & Regards

Jaydeep Patil

patil.jay2009@gmail.com

jayneel_patil@yahoo.co.in

:d/

Share this post


Link to post
Share on other sites

Hi,


You should create a preference file (*.mvw) with *BeginMenu and *MenuItem statements:


+ Step 1: create a preference file (Ex: MyPreference.mvw)


+ Step 2: Add these statements to the preference file:


     *Id(Hyper version here)


     *BeginDefaults()


          *BeginMenu(Var_name, label)                                              //make a menu


               *MenuItem(Var_name, label, TCL, path to tcl file)          //drop down list definition


               *MenuItem....


 


          *EndMenu()


     *EndDefaults()


+ Step 3: Register and load your preference file (File>load>preference)


 


Check online help for Preference file statements.

Share this post


Link to post
Share on other sites

Hi,

You should create a preference file (*.mvw) with *BeginMenu and *MenuItem statements:

+ Step 1: create a preference file (Ex: MyPreference.mvw)

+ Step 2: Add these statements to the preference file:

     *Id(Hyper version here)

     *BeginDefaults()

          *BeginMenu(Var_name, label)                                              //make a menu

               *MenuItem(Var_name, label, TCL, path to tcl file)          //drop down list definition

               *MenuItem....

 

          *EndMenu()

     *EndDefaults()

+ Step 3: Register and load your preference file (File>load>preference)

 

Check online help for Preference file statements.

 

When I load the preference file ,the specified menu appear , but it also remove our previous preference menu, like Vechicle safety tools, but i still need that.

 

so how to let them stay together with different preference? from now on I cant load two preference file together.

Share this post


Link to post
Share on other sites

When I load the preference file ,the specified menu appear , but it also remove our previous preference menu, like Vechicle safety tools, but i still need that.

 

so how to let them stay together with different preference? from now on I cant load two preference file together.

 

Modifying the default preference should do the trick. Default preferences are located under $ALTAIR_HOME/hw/prefinc.

+HyperGraph 2D's preference file: preferences_plot.mvw

+HyperGraph 3D's preference file: preferences_plot3d.mvw

+HyperGraph 3D's preference file: preferences_post.mvw

 

Add your *BeginMenu, *MenuItem statements to these files.

 

Check HyperWorks Desktop User's Guide for more information:

 HyperWorks Desktop > Startup Procedures and Customization > Customization > Preference Files:

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...