Step.Requirements
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
Step.Requirements
Syntax
Step.Requirements
Data Type
Purpose
Returns the Requirements property for the step. The Links subproperty of the Requirements property is an array of string values that represents the product and unit requirements the step covers.
Remarks
You can use the following pseudocode to add a new element to the list of requirements:
PropertyObject links = step.Requirements.GetPropertyObject("Links", 0); int nextAvailableIndex = links.GetNumElements(); links.SetValStringByOffset(nextAvailableIndex, PropertyOptions.PropOption_InsertElement, "REQ_ABC");