NXOpen.UF.Assem.CreateStep¶
-
Assem.
CreateStep
()¶ Refer to UF_ASSEM_create_step for documentation.
Signature:
CreateStep(sequence, partOccurrence, stepType, time, cost, description, insertAtStep)
Parameters: - sequence (Tag) – The sequence in which the stepneeds to be created
- partOccurrence (Tag) – The part occurrence being sequenced
- stepType (int) – The type of the step. One of theconstants UF_ASSEM_ASSEMBLE_STEP or UF_ASSEM_DISASSEMBLE_STEP only
- time (float) – The time of the step. The time isa user defined number.
- cost (float) – The cost of the step. The time isa user defined number.
- description (str) – The description of the step. May beNULL, if the user does not want to assign a description at this point.
- insertAtStep (Tag) – The step that this step is to be inserted after. May be NULL_TAG, in which case the new step is added at the beginning of the sequence
Returns: The tag of the newly created step. Maybe NULL_TAG if no step was created - an error code describing the reason is returned.
Return type: License requirements: ASSEMBLIES MODULE