Owned and Referenced Documents
You can create owned documents or referenced documents. You can create a download rule in an activity that downloads the files from the document to the working directory.
Owned Documents
When you add a document to a simulation process or activity from the content panel, you create a document that is owned by the simulation process or activity—an owned document. When you create an owned document, you can specify that it contains either versioned or non-versioned files.
When you perform an operation on a simulation process or activity, the app also performs the operation on the documents owned by the simulation process (or activity). For example, if you copy a simulation process, the new process contains copies of the owned documents, and the copied documents become owned by the new process. Similarly, if you delete the simulation process, the app deletes its owned documents.
The lifecycle state of an owned document is inherited from the lifecycle state of the simulation process or activity that owns it. This simulation document has a 'Simulation Document Owned' policy and displays the state "Exists," but the lifecycle state is inherited from the process or activity that owns it.
Referenced Documents
When you add a referenced content, you can either reference a document that already exists or you can add a new document from your local directory. A reference to a document is a link to a document. Changes to the lifecycle of the simulation process or activity do not affect the document. If you delete the simulation process or activity, the app removes the link to the document; but the document still exists. Similarly, if you copy a simulation process, the new process continues to refer to any referenced documents.
If you define a document as content in a simulation process, you can use the document in an activity by creating a reference to the document. This allows multiple, unrelated activities to share a document inside a simulation process. You can create referenced documents for content that does not change often and that you share across activities and simulation processes. For example, the data that you use to define material properties in a physics simulation.
When you use any of the following adapters in a simulation process, you can add field plot and history plot images to the content of the current simulation activity as referenced documents:
- Electromagnetics Simulation adapter
- Fluid Simulation adapter
- Model Parameters adapter
- Plastics Simulation adapter
- Structural Simulation adapter