Macro and link
Answered
I want to create an interdependence link with macro functionnalities.
With the function x.AllRelationships.AddToTopic(CurTopic), it's create a link but not a specific link.
How to define interdependence link (difference kind : end/start, start/end, start/start, end/end)? add CustomDataContainer information, CustomDataProperties, others...?
Best regards
The Dependency type on a Relationship is a custom attribute.
Attributes Namespace: "http://schemas.iaresearch.com/PTMAddin"
Attribute: "DependencyType"
Attribute values: "StartToStart", "StartToFinish", "FinishToStart" and "FinishToFinish"
You can use Relationship.HasAttributeNameSpace() to check for existing attributes, and Relationship.Attributes to read or set values.
The direction of the relationship also matters. There should be only one arrowhead, pointing at the dependent task.
The Dependency type on a Relationship is a custom attribute.
Attributes Namespace: "http://schemas.iaresearch.com/PTMAddin"
Attribute: "DependencyType"
Attribute values: "StartToStart", "StartToFinish", "FinishToStart" and "FinishToFinish"
You can use Relationship.HasAttributeNameSpace() to check for existing attributes, and Relationship.Attributes to read or set values.
The direction of the relationship also matters. There should be only one arrowhead, pointing at the dependent task.
---