In AECOsim Building Designer SS6 the BuildingDesigner.cfg file (In C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss6\AECOsimBuildingDesigner\config\appl) has been modified.
One of these modifications is a failsafe sequence that is designed to handle a situation where a user opens AECOsim Building Designer without selecting a project and thus defining TF_DATASETNAME. If ABD starts without a TF_DATASETNAME being defined an application hang with error reporting can occur.
To avoid this situation when AECOsim Building Designer the sequence under the 'Defacto Dataset' section will identify the first dataset available and use that if a project is not selected (or if TF_DATASETNAME is not defined elsewhere in a custom configuration).
This sequence defines a new variable TF_DATASETNAME_ABBR that will resolve to the first dataset it finds regardless of the active project or configuration of TF_DATASETNAME. It is not modified by any later configurations. The value of TF_DATASETNAME_ABBR is used to define TF_DATASETNAME in the failsafe scenario described above.
Note that if anyone is thinking of making use of TF_DATASETNAME_ABBR later in a custom configuration be sure to bear this behaviour in mind. If multiple datasets are present TF_DATASETNAME_ABBR would need to be set to the required value in an appropriate way rather than just using the first one it finds.
All of our delivered PCFs contain TF_DATASETNAME = Dataset_<region abbreviation> to ensure the appropriate regional dataset is loaded.
If you only use one regional dataset TF_DATASETNAME can be included in your site configuration.
Where multiple regional datasets are in use TF_DATASETNAME should be included in the PCF (which IMHO is way simpler to manage than some %if statements that select the dataset).
The opening statement in the sequence in SS6 08.11.09.829 contains an error (a defect has been filed to flag this for correction) that is only relevant if the ANZ dataset is installed:
%if exists ($(TF_DATASETS)Dataset_ANZ) TF_DATASETNAME_ABBR : AU
should be ANZ:
%if exists ($(TF_DATASETS)Dataset_ANZ) TF_DATASETNAME_ABBR : ANZ
If an ANZ dataset user opens without a project selected or TF_DATASETNAME defined elsewhere in the configuration a series of errors can occur. ABD should be closed via task manager or with the Abort option when presented, then reopened having selected a project. Do not attempt to proceed through the error messages!
This situation will not arise if a project is selected, as is normal practice, or it TF_DATASETNAME is already defined elsewhere in the configuration.
Product TechNotes and FAQs
Building Product TechNotes And FAQs
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!