AECOsim Building Designer copies required levels in from the dataset as described in Unwanted Levels in AECOsim Building Designer DGN Files. We have found a situation where this copying does not take place.
If the active file has ‘Can be placed as a Cell’ turned on in the default model properties the levels will not be copied. This is to prevent unwanted levels appearing in cell libraries:
This option only needs to be enabled in files where the models will be placed as cells, generally it should be unticked.
Turn off the tick box in the affected files using the Models dialog. If necessary right-click on the column headers to display the 'Is Annotation Cell' column:
Untick all rows.
Use the Batch Process utility to run the MVBA command below on the appropriate files:
ActiveModelReference.CanBePlacedAsCell = False
(thank you to Nigel Davies for pointing out this VBA method)
How to:
From the Utilities menu > Macro > Project Manager create a new MVBA file named CanBePlacedAsCell_Off.mvba, open it in the VB Project Manager and paste the following text into Module 1:
Sub CanBePlacedAsCell_Off()ActiveModelReference.CanBePlacedAsCell = FalseEnd Sub
Save this file then use the Batch Process Utility to run the MVBA on the appropriate files. Using the Batch Process utility is described in the help documentation.
Create a new batch process command file paste in the following two lines:
vba load CanBePlacedAsCell_Offvba run CanBePlacedAsCell_Off
The first line loads the new CanBePlacedAsCell_Off MVBA, the second runs the sub routine named CanBePlacedAsCell_Off. I have used the same name for simplicity.
Select the All Models option before adding your files (or apply this afterwards by selecting the list) to untick all models.