6.2. About medini analyze Proxies and M2Doc

Ansys medini analyze uses proxies to link certain parts of a project together. For example, models are linked to the project using PJProxyModel. More information is provided in the following table.

Table 6.1: Medini Proxies

Project ArtifactMedini ProxyDescription
ModelPJProxyModelLinks models such as requirements models, FTA models, SysML models, or collections. The proxy contains the actual model using the originalModel property.
DiagramPJDiagramLinks diagrams to a PJProxyModel.
External documentPJExternalDocumentLinks documents that are stored in medini or in a link. The proxy contains all relevant information.

M2Doc resolves proxies differently depending on the proxy type.

  • A variable that refers to a model is automatically resolved to the actual model. You can directly access its properties, such as name.

  • A variable that refers to a diagram or external document is not resolved. It stays as PJDiagram or PJExternalDocument respectively. This is useful for image services such as asImage() and for document services.