Cannot copy model


 Product:MicroStation
 Version:V8i
 Environment:N\A
 Area:Models
 Subarea:N\A

Problem

Cannot copy model

When trying to copy a model in the Models dialog, the model fails to copy and the following error messages can be listed in the message center:

"Change rejected in order to preserve associations"
"The originating application (29) has intentionally restricted changes to this element"

This was done to maintain the element's design integrity. The originating application (29) must be present to modify this element.

The Model itself may have no visible elements, or any MicroStation elements at all

Solution

Issue could be caused by working on the files with Bentley EED (Now Obsolete), or Bentley Cantenary Design
MicroStation commands cannot be used to modify EED elements in any way. When a file is opened in EED, even once, a hidden element is created.

EED has a security system, which prevents users from making MicroStation copies of EED objects. EED Copy should be used to copy objects.
However, copying of an internal model will make copies of EED objects in database. Once you get the type 29 element in the dgn, it will prevent you from doing that.

There are two options to resolve this:

Option 1

Change the variable 'DisableProtection' to 'DisableProtection=Y', in the EED file called params.ini.
Normally the path is, C:\ProgramData\Bentley\MicroStation V8i(SELECTseries)\WorkSpace\eed\data\

Option 2

Load a small MDL program that turns off the security system, program is called "EED_Ghost"
This can be run with plain MicroStation, it works without EED installed
See the two files, eedghost.ma and eedghost.dll attached in:

http://communities.bentley.com/communities/other_communities/bentley_library/m/bentley_library_utilities/269843.aspx

Doing either of the options will give access to destroy the EED intelligence. Please note that, if EED is used, Option 1 is best. If the issue is only with one or two files, use Option 2.

See Also

Other language sources

 Original Author:Conor King