🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Creating collector for Hyperview

User: "Vikas Kumar_22189"
Altair Community Member
Updated by Vikas Kumar_22189

Dear All,

 

Can we create Element/Node  collector for Hyperview tcl\tk Script.

Like we do in Hypermesh.

 

image.png.cce967f0bdb8176ac61f66bd15cfbc00.png

 

                                        Or Like below one

 

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.056b96c2dddd9ddbbf90c9385443733a.png

 

 

 

Please Help me. If it is possible please provide some basic script to run in Hyperview.

@tinh Waiting for your response.

 

Thanks,

Vikas Kumar

 

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "tinh"
    Altair Community Member
    Updated by tinh

    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

    User: "Vikas Kumar_22189"
    Altair Community Member
    OP
    Updated by Vikas Kumar_22189

    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

    Unable to find an attachment - read this blog

    User: "Altair Forum User"
    Altair Employee
    Updated by Altair Forum User

    hi any one tell me, what are the advantages is there in hpermesh version17 over version 14?

    User: "tinh"
    Altair Community Member
    Updated by tinh

    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

    User: "tinh"
    Altair Community Member
    Updated by tinh

    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

    1. ]

       pack $w.c -side left -anchor nw -padx 20 -pady 10

       pack $b2 $b1 -side right -anchor ne -padx 2

    }

    Unable to find an attachment - read this blog