NXOpen.UF.Modeling.CreateSew

Modeling.CreateSew()

Refer to UF_MODL_create_sew for documentation.

Signature: CreateSew(option, numTargets, targets, numTools, tools, tolerance, typeBody)

Parameters:
  • option (int) – Option flag: 0 = Sew general 1 = Sew all instances
  • numTargets (int) – Size of the targets array
  • targets (list of Tag) – Array of target tags ( sheet body when type_body = 0 or face(s) from a solid body when type_body = 1 ).
  • numTools (int) – Size of the tool array
  • tools (list of Tag) – Array of tool tags ( sheet body when type_body = 0 or face(s) from a solid body when type_body = 1 ).
  • tolerance (float) – Tolerance value
  • typeBody (int) – Type of body: 0 = Sheet (default) 1 = Solid
Returns:

A Tuple

Return type:

A tuple consisting of (disjointList,sewId)

disjointList(`NXOpen.UF.UF.List Refer to ` <../ugopen_doc/uf/.html>`_ for documentation.`): List contains disjoint sheets from the target. This list must be freed by calling UF_MODL_delete_list.

sewId(Tag): The sew feature that was created.

License requirements: SOLIDS MODELING