Oriented Object TCL in HyperView

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello everyone,

I would like to know if someone has already defined class objects in hyperview in a TCL script. I saw in the install path (C:\Program Files\Altair\14.0\hw\tcl\hwie\init.tcl) that oriented objects are used from the hwie package ::hwie::oo:: and I wonder if we can use this package to add user-defined class.

Tkanks in advance for your help

Michael

 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited June 2018

    Hi

    Tcl 8.5 has been using until hw2017 so I think hw classes are derived from Itcl/Itk package

    => You can use Itcl/Itk to define classes (if altair does not provide documents about hwie)

     

    since Tcl 8.6, there is OO embedded directly, and i am not sure whether they continue using Itcl/Itk