NXOpen.UF.Cam.OptAskSubtypes¶
-
Cam.
OptAskSubtypes
()¶ Refer to UF_CAM_opt_ask_subtypes for documentation.
Signature:
OptAskSubtypes(optTypeName, subtypeClass)
Parameters: - optTypeName (str) –
- the name of the OPT typewhose subtypes are desired
- subtypeClass (
NXOpen.UF.Cam.OptStypeCls
Refer to UF_CAM_opt_stype_cls_e for documentation.) –- the desired subtype class
Returns: A Tuple
Return type: A tuple consisting of (count,subtypes)
count(int): - the number of subtypes
subtypes(list of str): - the available subtypes. The returned array must be freed by calling UF_free_string_array.
License requirements: None
- optTypeName (str) –