TraceDocument#

class ansys.scade.almgw_msoffice.trace.TraceDocument(project: ansys.scade.pyalmgw.documents.ReqProject, path: pathlib.Path, requirements=None)#

Tracability links file.

  • Updated on export

  • Read on import

Note

The cache document is also updated.

Initialize the trace document.

Overview#

add

Create a traceability link.

merge_links

Merge the traceability updates.

read

Read the trace file.

remove

Remove a tracrability link.

write

Write the trace file.

Import detail#

from ansys.scade.almgw_msoffice.trace import TraceDocument

Attribute detail#

TraceDocument.file = ''#
TraceDocument.map_requirements: Dict[str, ansys.scade.pyalmgw.documents.Requirement]#
TraceDocument.project#

Method detail#

TraceDocument.add(oid: str, req: str, path: str)#

Create a traceability link.

Merge the traceability updates.

TraceDocument.read()#

Read the trace file.

TraceDocument.remove(oid: str, req: str)#

Remove a tracrability link.

TraceDocument.write()#

Write the trace file.