NXOpen.UF.Fltr.AutoCreatePlaneZones

Fltr.AutoCreatePlaneZones()

Refer to UF_FLTR_auto_create_plane_zones for documentation.

Signature: AutoCreatePlaneZones(partTag, prefixText, numInDir, usePartDisp, userSpecZDisp, userSpecOrigin)

Parameters:
  • partTag (Tag) – part in which zones are to be created.
  • prefixText (str) – Name to be used as prefix of auto-generated zones. (e.g. “ZONE” makes ZONE1, ZONE2 etc.)
  • numInDir (int) – Number of zones to be created in the Z direction of the WCS.
  • usePartDisp (bool) – Flag which indicates region to be zoned. if TRUE, part extents along the Z axis of WCS are used. If FALSE, user_spec_z_disp and user_spec_origin are used (See below).
  • userSpecZDisp (float) – User specified Z displacement to be zoned. If use_part_disp is TRUE, this argument is ignored.
  • userSpecOrigin (list of float) – User specified origin of volume to be zoned. If use_part_disp is TRUE, user_spec_origin is ignored. user_spec_origin[0] X coordinate of origin user_spec_origin[1] Y coordinate of origin user_spec_origin[2] Z coordinate of origin.
Returns:

A Tuple

Return type:

A tuple consisting of (zoneList,numZonesCreated)

zoneList(list of Tag): List of resulting zone tags. Must be freed by the caller using UF_free.

numZonesCreated(int): Number of zones in zone_list.

License requirements: ADVANCED ASSEMBLIES