Is there a way I can look through all our cell libraries for a list of cells that has a shared cell instances in it. Our cell libraries are one drawing with a model for each cell. We have like 20 different cell libraries. any help here would be great.
the shared cell instances is what I'm looking for.
You could probably do something with VBA and run it through the batch process.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
i thought that but don't know how to have it go through all the models without me doing it one at a time. I'm new at VBA
I don't have the Connect version, but I know that the VBA Help for V8i is pretty good, with lots of example code.
At its most basic, you would write some code that would scan a single model for shared cells (ActiveModelReference.Scan with ElementScanCriteria) and create an ElementEnumerator to access them all. Then the code would go through that enumerated list one at a time (MoveNext). At that point, you could call a code loop to do whatever you want to do with that shared cell (count it, drop it to elements, etc.)
There's an entire discussion board dedicated to programming in MicroStation where they may be able to better help you.
thanks I will try it.