NXOpen.UF.Modeling.ReplaceFeatures¶
-
Modeling.
ReplaceFeatures
()¶ Refer to UF_MODL_replace_features for documentation.
Signature:
ReplaceFeatures(originalFeatures, nOriginalFeatures, replacementFeatures, nReplmFeatures, returnMap, useCopyOfReplacement, parentMap, nParentMap)
Parameters: - originalFeatures (list of Tag) – Array of features to replace
- nOriginalFeatures (int) – number of original_features
- replacementFeatures (list of Tag) – Array of replacement features
- nReplmFeatures (int) – number of replacement_features
- returnMap (bool) – return_map = true - return inparent_map[] the edges and faces created by the original_features[] which have to be mapped to the corresponding edges and faces on the replacement_features[] return_map = false - perform the replace
- useCopyOfReplacement (bool) – use_copy_of_replacement = false -Use the replacement features directly to replace the original features use_copy_of_replacement = true - Copy the replacement features and use the copy of the replacement feature to replace the original features
- parentMap (list of
NXOpen.UF.Modl.ReplaceFeatures
Refer to UF_MODL_replace_features_t for documentation.) – Map of edges and faces created by the original_features[] to corresponding edges and faces on the replacement_features[] - nParentMap (int) – number of elements in (*parent_map)[]
Returns: A Tuple
Return type: A tuple consisting of (parentMap,nParentMap)
parentMap(list of ``NXOpen.UF.Modl.ReplaceFeatures` Refer to UF_MODL_replace_features_t for documentation.`): Modified value of parentMap
nParentMap(int): Modified value of nParentMap
License requirements: SOLIDS MODELING