Creating collector for Hyperview
Dear All,
Can we create Element/Node collector for Hyperview tcl\tk Script.
Like we do in Hypermesh.
Or Like below one
<?xml version="1.0" encoding="UTF-8"?>
Please Help me. If it is possible please provide some basic script to run in Hyperview.
@tinh Waiting for your response.
Thanks,
Vikas Kumar
Answers
-
Hi Vikas
you can use command
::post::Collector
refer to document: <install_dir>/hw/tcl/hw/collector/docs/Collector.html
set this variable to '1' to see how it works:
set ::post::collector::p_debug 1
0 -
Dear @tinh ,
I was using this script. Please let me know were i need to do changes.
It is working fine in Hypermesh.
Regards
Vikas
0 -
hi any one tell me, what are the advantages is there in hpermesh version17 over version 14?
0 -
Altair Forum User said:
hi any one tell me, what are the advantages is there in hpermesh version17 over version 14?
You can see it in Release Notes of hm2017
0 -
Altair Forum User said:
Dear @tinh ,
I was using this script. Please let me know were i need to do changes.
It is working fine in Hypermesh.
Regards
Vikas
example
proc demo args {
set w .demo
destroy $w
toplevel $w
wm transient $w .
::post::Collector $w.c entity 1 ::post::SingleEntityCollector \
-callback ::post::SelectionSetCollector \
-withreset 1 -withtype 0 -type Nodes
set b1 [::ttk::button $w.b1 -text OK -command p_Proceed]
set b2 [::ttk::button $w.b2 -text Cancel -command
- ]
pack $w.c -side left -anchor nw -padx 20 -pady 10
pack $b2 $b1 -side right -anchor ne -padx 2
}
0