NXOpen.UF.Motion.CreateInterferenceBody

Motion.CreateInterferenceBody()

Refer to UF_MOTION_create_interference_body for documentation.

Signature: CreateInterferenceBody(interferenceTag, analysisStepNum, frame)

Parameters:
  • interferenceTag (Tag) – The tag of the interference object that contains the required parameters to perform the interference check. This tag was created using the function UF_MOTION_create_interference.
  • analysisStepNum (int) – The step number to perform the interference check for. It cannot be negative and it cannot be greater than the total number of steps available in the analysis results stored in the database.
  • frame (NXOpen.UF.Motion.ReferenceFrame Refer to UF_MOTION_reference_frame_e for documentation.) – The reference frame to place the newly created body in. If the frame is UF_MOTION_absolute, the new body will remain in the absolute position where it was created. If the frame is UF_MOTION_first_link or UF_MOTION_second_link, the new body will be attached to the links of the first or second interference solid bodies as defined in the interference tag. By attaching the new body to a link, it is in a position to be subtracted from the link geometry after it moves back to the design position.
Returns:

A Tuple

Return type:

A tuple consisting of (numInterferenceBodies,interferenceBodyTags)

numInterferenceBodies(int): The number of interference bodies created.

interferenceBodyTags(list of Tag): The newly created bodies made from the intersection of the two interference bodies. The memory for this array of tags must be freed using UF_free().

License requirements: None