Hello,
I have the following situation:
I have received DWG file and it has various shared cells in the model. I obviously don't have corresponding .cel file with the definitions and I know I can export them all to separate file but it creates hundreds of models which have nested models (definitions) inside with even more nested definitions and it's too messy to work with. What I would like to do is to attach a blank library and save definitions I need to edit in that library one by one so I can edit shared cell and update in the model and move to the next one. Is that possible somehow without taking this shared cell, resetting rotation/scale setting up the origin, dropping the instance, creating a new definition for editing and cleaning up the file? It seems very complicated since that definition is already in the file... I am happy if it could be done programmatically even! Ideally, I would love to be able to edit it in place but that doesn't seem to be possible?
Also related to this, what would happen if I do the following:
I have shared cell (A) inside multiple other shared cells (B, C, D and so on) in my file and it is also all saved in the library. Then I open the library and edit shared cell (A) and save the library. Now I understand that all the shared cells in the library (B, C, D and so on) contain updated definition as the library has basically nested structure with nested models, right? So if I now open my main file and reload the library and decide to update those cells (B, C, D and so on) from the library, am I safe to assume that all the instances will contain an updated version of the cell (A)??
Regards,
Bartosz Perepeczo
Cisco said:I know I can export them all to separate file
I believe you are referring to the workflow outlined by the following article:
https://communities.bentley.com/communities/other_communities/askinga/w/askinga/518/export-cells-to-a-library
If you are in a DWG be aware that when in DWG workmode only shared cells are supported.
Cisco said: Then I open the library and edit shared cell (A) and save the library. Now I understand that all the shared cells in the library
Shared cells do not exist in a library they exist within a design file. The following explains the process in updating a shared cell definition.
https://communities.bentley.com/products/microstation/w/microstation__wiki/29169/update-replace-a-shared-cell-definition-with-original-cell-library
David,
I am aware of the following workflow. It creates a massive file, with hundreds of models, very complicated to navigate and when I edit a model (cell definition) in that file and attach it as a library back to my original file and try to update the whole thing just crashes usually leaving my original file corrupt. That's why I want to avoid it. Also, I work in DGN mode.
With regard to the second link the very first line of the process says:
How do I update/replace a shared cell definition if I have the original cell library?
....
That's not my problem. I know how to do that. My problem is I don't have a cell library... I want to put a shared cell definition in the library. The one I need without cumbersome dropping/recreating workflow and without A-Bomb workflow with creating a larger file than my original one and impossible to navigate.
Cisco said:and try to update the whole thing just crashes usually leaving my original file corrupt.
Yes, I can feel with you. that is the case since years with this work flow. But maybe you can reach the Bentley support team for that.
Regards
Frank
since 1985: GIS, CAD, Engineering (Civil) Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads, HHK Geograf, IBr DAVID] : Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML][direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)