NXOpen.UF.Modeling.ValidateBody

Modeling.ValidateBody()

Refer to UF_MODL_validate_body for documentation.

Signature: ValidateBody(numBodies, bodies)

Parameters:
  • numBodies (int) – Number of bodies to be validated
  • bodies (list of Tag) – Array of bodies to be validated
Returns:

Validity info for each body. This arraymust have been allocated by the caller as int valid_info[num_bodies]. There will be one status per body, 1 indicates that the body is valid and 2 indicates that the body is invalid. valid_info[0] is the code for bodies[0], and so on up to valid_info[num_bodies-1] and bodies[num_bodies-1].

Return type:

int

License requirements: SOLIDS MODELING