I would like to know if there are any scripts to delete 3D objects based on the level or properties modelled using openbuilding designer or openplant modeler.
This will help to clean the model of unwanted elements on projects having .sp model size more than 1.5 GB due to more than 1,00,000 or 2,00,000 elements.
May I know how you bring the OpenBuilding data to Synchro? If you are using the iModel Connector, than we can not delete it. The deletion must come from the 3D data source. But if you are using the Microstation plugin, we can delete the 3D Object (File - Import option).
Below is just working when you are using Microstation Plugin:
With script you can give UserField to marked the Unwanted 3D Object, and use Select Same Value of 3D Object User Field. You will able to select and delete the 3D object. But if you already have property that can be used for selection you can directly delete it after selection.
Note: Script can not delete 3D object. so we can use script to create user field for selection.
We are using iModel connector in synchro control to convert the OPM and OBD models. Is it possible to select elements based on the level and/or property? Can you provide script for both?
Just look at the model. Looks like using the 3D Filter for selection is the best option.