Use the Imported Model builder to import into one model the complete builder call set of a second model.
Use this builder when there are common builders that you would like to use in all of your models.
When you import a model, the model is imported at generation time. An imported model has "read only" status. This means that the host model invokes all the builder calls in the imported model, but cannot change any of the builder inputs of those builder calls. Errors encountered at generation time are displayed in the message panel. Click on the error to open the builder call for editing.
Builders within the imported model do not appear in the host model builder list. However, objects created by those builders are displayed in the reference chooser and in the Application Tree.
The Imported Model builder does not detect new profile sets. The Profile Handling input has the option Use parent profiling. If you add a new profile set to the imported model, the profiling initially does not work. To work around this issue, open the Imported Model builder everywhere you have imported it, toggle the profile handling input, and then click OK. Thus you need to open each model that uses the common Imported Model builder and refresh the builder user interface (UI).Avoid name collisions
An Imported Model builder does not retain its own namespace. Ensure that the builder names in the imported model are different from those in the host model. Generation errors occur if duplicate names exist. Define common event declarations
You can create a model that just contains Event Declaration builder calls. In other models that are handling these events, add an Imported Model builder, specifying the model that contains all the event declarations. This is a useful strategy in creating applications that communicate with each other by using events.
Imported Model builder inputs: wpf7
This topic describes the inputs for the Imported Model builder.
Parent topic: Builder Reference: wpf7
About using the builder call editor: wpf7
Handling events: wpf7