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 simulation activity from the Content panel, you create a document that is owned by the simulation process or simulation activity—an owned document. When you create an owned document, you can specify that it will contain either versioned or non-versioned files.
When you perform an operation on a simulation process (or simulation activity), the same operation is applied to the documents that are owned by the simulation process (or activity). For example, if you copy a simulation process, the new process contains copies of any owned documents and the copied documents are owned by the new process. Similarly, if you delete the simulation process, the owned documents are deleted.
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 referenced content, you are referencing a document that already exists. A reference to a document can be thought of as 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 link to the document is discarded; but the document still exists. Similarly, if you copy a simulation process, the new process continues to refer to any referenced documents.
If you have a document defined as content in a simulation process, you can use the document in a simulation activity by creating a reference to the document in the simulation process. This allows multiple, unrelated activities to share a document inside a simulation process. You can create referenced documents for content that will not change often and that will be shared across activities and simulation process; for example, data that are used to define material properties in a physics simulation.