TFDIR variable cannot be locked or defined in site level?

I find it frustrating that in Structural Version 08.11.05.25, I could not use TFDIR variable at all. It automatically gets defined from TF_DATASETS it seems. Is it a known issue? I even tried locking the %lock TRDIR but still no success. Any help would be great for me. I am testing it for other application such as Architecture, Mechanical, and Electrical and there is no problem redefining TFDIR variable. But simply doesn't work in that version of Structural.
Parents
  • Rabi -
    Yes, both TFDIR and TF_DATASETS control the search paths for the Structural dataset files. Some of the general dataset files come from TFDIR. In addition, the Structural-specific files are located relative to TF_DATASETS. In the Structural configuration file, Structural.cfg, the dataset search locations are expanded to include additional directories relative to TD_DATASETS.

    TFDIR_COMP < $(TF_DATASETS)$(STF_DATASETNAME)/comp/
    TFDIR_CPART < $(TF_DATASETS)$(STF_DATASETNAME)/cpart/
    TFDIR_PART < $(TF_DATASETS)$(STF_DATASETNAME)/part/

     In an imperial workspace Structural uses the general dataset files from TF_DATASETNAME (tf_imperial) and the Structural-specific files from STF_DATASETNAME (stf_imperial). I think you should be OK if you set TF_DATASETS in your site configuration file.

    Steve

  • Hi Steve,

     Thanks you for your reply. I understand what you tried to explain. My concern is, when I try to set TF_DATASETS or TFDIR in my site configuration file, Bentley Structural simply ignores it. I even tried %lock TFDIR and still doesn't work. I don't get STF_DATASETNAME either. I usually EXPAND ECHO $(STF_DATASET) key in to get the value which evaluates nothing in this case. It works beautifully with Architecture, Mechanical, Electrical but Structural. So I wanted to know if you were familiar with the issue. I am also not sure if its a bug or something i am missing that could be an unique setup to Structural. Any configuration specialists want to help me in this?

     Rabi

Reply
  • Hi Steve,

     Thanks you for your reply. I understand what you tried to explain. My concern is, when I try to set TF_DATASETS or TFDIR in my site configuration file, Bentley Structural simply ignores it. I even tried %lock TFDIR and still doesn't work. I don't get STF_DATASETNAME either. I usually EXPAND ECHO $(STF_DATASET) key in to get the value which evaluates nothing in this case. It works beautifully with Architecture, Mechanical, Electrical but Structural. So I wanted to know if you were familiar with the issue. I am also not sure if its a bug or something i am missing that could be an unique setup to Structural. Any configuration specialists want to help me in this?

     Rabi

Children