NXOpen.UF.Drf.CreateXhatch

Drf.CreateXhatch()

Refer to UF_DRF_create_xhatch for documentation.

Signature: CreateXhatch(opType, nmbnds, numels, elems)

Parameters:
  • opType (int) – The type of operation: 1 = Cross hatching 2 = Area fill 3 = Solid fill
  • nmbnds (int) – The number of crosshatch boundaries.
  • numels (list of int) – An array of integer values, containing the number of objects in each boundary. The sum of all of the values in this array should equal the number of boundary objects passed in. The number of elements in this array is equal to the number of crosshatch boundaries above.
  • elems (list of Tag) – Array of curve or point tags the make up each of the boundaries. A boundary object tag may be included in the array.
Returns:

A Tuple

Return type:

A tuple consisting of (xhatEid,rtc)

xhatEid(Tag): The object identifier of the created crosshatch.

rtc(int): The return code from the operation.

License requirements: DRAFTING