How to include a path of user package to HM search paths?

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

Hi, I have a question on using user package in HM.

How to include a path of user package to the HM package search paths?

I tested the way of setting TCLLIBPATH environment variable. It works fine outside HM with tclsh85.exe, but not within HM. Therefore, I am using “lappend auto_path $my_user_path;” before “package require my_user_package_name;” in every tcl script file.

I would like to learn that if there is a sufficient way, similar to TCLLIBPATH.

This is my first post and first question. I am glad to meet you here.

XWANG11

Answers