ScRuleFactory Class¶
-
class
NXOpen.ScRuleFactory¶ Bases:
objectThis class contains the factory methods for creating selection intent rules
To obtain an instance of this class, refer to
NXOpen.PartNew in version NX3.0.0.
Methods¶
Method Detail¶
CreateRuleApparentChaining¶
-
ScRuleFactory.CreateRuleApparentChaining¶ Creates selection intent rule:
NXOpen.ApparentChainingRuleSignature
CreateRuleApparentChaining(seedCurve, view, chainingMethod, selectionMask, chainingTolerance, angleTolerance)Parameters: - seedCurve (
NXOpen.ICurve) – The seed curve. - view (
NXOpen.View) – The view. - chainingMethod (
NXOpen.ApparentChainingRuleType) – Selection Intent method. - selectionMask (
NXOpen.ApparentChainingRuleSelection) – The selection type none, edge or curve. - chainingTolerance (float) – The chaining tolerance.
- angleTolerance (float) – The angle tolerance.
Returns: Return type: New in version NX8.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedCurve (
CreateRuleBaseCurveDumb¶
-
ScRuleFactory.CreateRuleBaseCurveDumb¶ Creates selection intent rule:
NXOpen.CurveDumbRuleSignature
CreateRuleBaseCurveDumb(curves)Parameters: curves (list of NXOpen.IBaseCurve) – Curves which creates this rule.Returns: Return type: NXOpen.CurveDumbRuleNew in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleBodyDumb¶
-
ScRuleFactory.CreateRuleBodyDumb¶ Overloaded method CreateRuleBodyDumb
CreateRuleBodyDumb(bodies)CreateRuleBodyDumb(bodies, includeSheetBodies)
-------------------------------------Creates selection intent rule:
NXOpen.BodyDumbRuleSignature
CreateRuleBodyDumb(bodies)Parameters: bodies (list of NXOpen.Body) – Bodies used to create this rule.Returns: Return type: NXOpen.BodyDumbRuleNew in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.BodyDumbRulewith the option to include or exclude sheet bodiesSignature
CreateRuleBodyDumb(bodies, includeSheetBodies)Parameters: - bodies (list of
NXOpen.Body) – Bodies used to create this rule. - includeSheetBodies (bool) –
Returns: Return type: New in version NX9.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleBodyFeature¶
-
ScRuleFactory.CreateRuleBodyFeature¶ Overloaded method CreateRuleBodyFeature
CreateRuleBodyFeature(features)CreateRuleBodyFeature(features, includeSheetBodies)CreateRuleBodyFeature(features, partOccurrence)CreateRuleBodyFeature(features, includeSheetBodies, partOccurrence)
-------------------------------------Creates selection intent rule:
BodyFeatureRuleSignature
CreateRuleBodyFeature(features)Parameters: features (list of NXOpen.Features.Feature) – Features whose bodies are used to create this rule.Returns: Return type: NXOpen.BodyFeatureRuleNew in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
BodyFeatureRulewith the option to include or exclude sheet bodiesSignature
CreateRuleBodyFeature(features, includeSheetBodies)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose bodies are used to create this rule. - includeSheetBodies (bool) –
Returns: Return type: New in version NX9.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
BodyFeatureRulefor the given feature from a part occurrence.Signature
CreateRuleBodyFeature(features, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose bodies are used to create this rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of seed body that is used to create this rule.
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
BodyFeatureRulefor the given feature from a part occurrence, with the option to include or exclude sheet bodiesSignature
CreateRuleBodyFeature(features, includeSheetBodies, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose bodies are used to create this rule. - includeSheetBodies (bool) –
- partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of seed body that is used to create this rule.
Returns: Return type: New in version NX9.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleBodyGroup¶
-
ScRuleFactory.CreateRuleBodyGroup¶ Overloaded method CreateRuleBodyGroup
CreateRuleBodyGroup(groups)CreateRuleBodyGroup(groups, includeSheetBodies)
-------------------------------------Creates selection intent rule:
BodyGroupRuleSignature
CreateRuleBodyGroup(groups)Parameters: groups (list of NXOpen.Group) – Groups whose bodies are used to create this rule.Returns: Return type: NXOpen.BodyGroupRuleNew in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.BodyFeatureRulewith the option to include or exclude sheet bodiesSignature
CreateRuleBodyGroup(groups, includeSheetBodies)Parameters: - groups (list of
NXOpen.Group) – Groups whose bodies are used to create this rule. - includeSheetBodies (bool) –
Returns: Return type: New in version NX9.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleCurveChain¶
-
ScRuleFactory.CreateRuleCurveChain¶ Creates selection intent rule:
NXOpen.CurveChainRuleSignature
CreateRuleCurveChain(seedCurve, endCurve, isFromSeedStart, gapTolerance)Parameters: - seedCurve (
NXOpen.ICurve) – Seed curve - endCurve – End curve of curve chain.
It can be null (Nothing) :type endCurve:
NXOpen.ICurve:param isFromSeedStart: True: the chain starts from the start point of the seed curve :type isFromSeedStart: bool :param gapTolerance: Gap tolerance. :type gapTolerance: float :returns: :rtype:NXOpen.CurveChainRuleNew in version NX9.0.0.
License requirements: None.
- seedCurve (
CreateRuleCurveDumb¶
-
ScRuleFactory.CreateRuleCurveDumb¶ Creates selection intent rule:
NXOpen.CurveDumbRuleSignature
CreateRuleCurveDumb(curves)Parameters: curves (list of NXOpen.Curve) – Curves which creates this rule.Returns: Return type: NXOpen.CurveDumbRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleCurveDumbFromPoints¶
-
ScRuleFactory.CreateRuleCurveDumbFromPoints¶ Creates selection intent rule:
NXOpen.CurveDumbRuleSignature
CreateRuleCurveDumbFromPoints(points)Parameters: points (list of NXOpen.Point) – Points which creates this rule.Returns: Return type: NXOpen.CurveDumbRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleCurveFeature¶
-
ScRuleFactory.CreateRuleCurveFeature¶ Overloaded method CreateRuleCurveFeature
CreateRuleCurveFeature(features)CreateRuleCurveFeature(features, partOccurrence)
-------------------------------------Creates selection intent rule:
NXOpen.CurveFeatureRuleSignature
CreateRuleCurveFeature(features)Parameters: features (list of NXOpen.Features.Feature) – Features whose curves are used to create this rule.Returns: Return type: NXOpen.CurveFeatureRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.CurveFeatureRulefor the given feature from a part occurrence.Signature
CreateRuleCurveFeature(features, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose curves are used to create this rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of the seed curve that is used to create this rule.
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleCurveFeatureChain¶
-
ScRuleFactory.CreateRuleCurveFeatureChain¶ Creates selection intent rule:
NXOpen.CurveFeatureChainRuleSignature
CreateRuleCurveFeatureChain(features, seedCurve, endCurve, isFromSeedStart, gapTolerance)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose curves are used to create this rule. - seedCurve (
NXOpen.Curve) – Seed curve - endCurve (
NXOpen.Curve) – End curve of curve chain. It can be null (Nothing) - isFromSeedStart (bool) – True: the chain starts from the start point of the seed curve
- gapTolerance (float) – Gap tolerance.
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
- features (list of
CreateRuleCurveFeatureTangent¶
-
ScRuleFactory.CreateRuleCurveFeatureTangent¶ Creates selection intent rule:
NXOpen.CurveFeatureTangentRuleSignature
CreateRuleCurveFeatureTangent(features, seedCurve, endCurve, isFromSeedStart, angleTolerance, gapTolerance)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose tangent curves are used to create this rule. - seedCurve (
NXOpen.Curve) – Seed Curve - endCurve (
NXOpen.Curve) – End curve of curve chain. It can be null (Nothing) - isFromSeedStart (bool) – True: the chain starts from the start point of the seed curve
- angleTolerance (float) – Angle tolerance for tangent curves
- gapTolerance (float) – Gap tolerance for tangent curves
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
- features (list of
CreateRuleCurveGroup¶
-
ScRuleFactory.CreateRuleCurveGroup¶ Creates selection intent rule:
NXOpen.CurveGroupRuleSignature
CreateRuleCurveGroup(groups)Parameters: groups (list of NXOpen.Group) – Groups whose curves are used to create this rule.Returns: Return type: NXOpen.CurveGroupRuleNew in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleCurveTangent¶
-
ScRuleFactory.CreateRuleCurveTangent¶ Creates selection intent rule:
NXOpen.CurveTangentRuleSignature
CreateRuleCurveTangent(seedCurve, endCurve, isFromSeedStart, angleTolerance, gapTolerance)Parameters: - seedCurve (
NXOpen.ICurve) – Seed Curve - endCurve – End curve of curve chain.
It can be null (Nothing) :type endCurve:
NXOpen.ICurve:param isFromSeedStart: True: the chain starts from the start point of the seed curve :type isFromSeedStart: bool :param angleTolerance: Angle tolerance for tangent curves :type angleTolerance: float :param gapTolerance: Gap tolerance for tangent curves :type gapTolerance: float :returns: :rtype:NXOpen.CurveTangentRuleNew in version NX9.0.0.
License requirements: None.
- seedCurve (
CreateRuleEdgeBody¶
-
ScRuleFactory.CreateRuleEdgeBody¶ Creates selection intent rule:
NXOpen.EdgeBodyRuleSignature
CreateRuleEdgeBody(body)Parameters: body ( NXOpen.Body) – Body whose edges are used to create this rule.Returns: Return type: NXOpen.EdgeBodyRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleEdgeBoundary¶
-
ScRuleFactory.CreateRuleEdgeBoundary¶ Creates selection intent rule:
NXOpen.EdgeBoundaryRuleSignature
CreateRuleEdgeBoundary(facesOfFeatures)Parameters: facesOfFeatures (list of NXOpen.Face) – Faces whose boundary edges are used to create this rule.Returns: Return type: NXOpen.EdgeBoundaryRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleEdgeChain¶
-
ScRuleFactory.CreateRuleEdgeChain¶ Overloaded method CreateRuleEdgeChain
CreateRuleEdgeChain(startEdge, endEdge, isFromStart)CreateRuleEdgeChain(startEdge, endEdge, isFromStart, commonFace, allowLaminarEdge)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeChainRuleSignature
CreateRuleEdgeChain(startEdge, endEdge, isFromStart)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - endEdge (
NXOpen.Edge) – End edge of edge chain. - isFromStart (bool) – True: the chain starts from the start point of the start edge if end edge is provided
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeChainRuleSignature
CreateRuleEdgeChain(startEdge, endEdge, isFromStart, commonFace, allowLaminarEdge)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - endEdge (
NXOpen.Edge) – End edge of edge chain. - isFromStart (bool) – True: the chain starts from the start point of the start edge if end edge is provided
- commonFace (
NXOpen.Face) – Face on which chain edges are to be found. Chain Between case - allowLaminarEdge (bool) – Allow only laminar edges?
Returns: Return type: New in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleEdgeDumb¶
-
ScRuleFactory.CreateRuleEdgeDumb¶ Creates selection intent rule:
NXOpen.EdgeDumbRuleSignature
CreateRuleEdgeDumb(edges)Parameters: edges (list of NXOpen.Edge) – Edges which creates this rule.Returns: Return type: NXOpen.EdgeDumbRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleEdgeFace¶
-
ScRuleFactory.CreateRuleEdgeFace¶ Creates selection intent rule:
NXOpen.EdgeFaceRuleSignature
CreateRuleEdgeFace(faces)Parameters: faces (list of NXOpen.Face) – Faces whose edges are used to create this rule.Returns: Return type: NXOpen.EdgeFaceRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleEdgeFeature¶
-
ScRuleFactory.CreateRuleEdgeFeature¶ Overloaded method CreateRuleEdgeFeature
CreateRuleEdgeFeature(features)CreateRuleEdgeFeature(features, partOccurrence)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeFeatureRuleSignature
CreateRuleEdgeFeature(features)Parameters: features (list of NXOpen.Features.Feature) – Features whose edges are used to create edge feature rule.Returns: Return type: NXOpen.EdgeFeatureRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeFeatureRulefor the given feature from a part occurrence.Signature
CreateRuleEdgeFeature(features, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose edges are used to create edge feature rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of the seed edge that is used to create this rule.
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleEdgeIntersect¶
-
ScRuleFactory.CreateRuleEdgeIntersect¶ Creates selection intent rule:
NXOpen.EdgeIntersectRuleSignature
CreateRuleEdgeIntersect(facesOfFeatures1, facesOfFeatures2)Parameters: - facesOfFeatures1 (list of
NXOpen.Face) – Faces of feature1 whose boundary edges are used to create this rule. - facesOfFeatures2 (list of
NXOpen.Face) – Faces of feature2 whose boundary edges are used to create this rule.
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
- facesOfFeatures1 (list of
CreateRuleEdgeMultipleSeedTangent¶
-
ScRuleFactory.CreateRuleEdgeMultipleSeedTangent¶ Creates selection intent rule:
NXOpen.EdgeMultipleSeedTangentRuleSignature
CreateRuleEdgeMultipleSeedTangent(seedEdges, angleTolerance, hasSameConvexity)Parameters: - seedEdges (list of
NXOpen.Edge) – Seed edges. - angleTolerance (float) – Angle tolerance for tangent edges.
- hasSameConvexity (bool) – True: will only find tangent edges that has the same convexity
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedEdges (list of
CreateRuleEdgeSheetBoundary¶
-
ScRuleFactory.CreateRuleEdgeSheetBoundary¶ Creates selection intent rule:
NXOpen.EdgeFeatureRuleSignature
CreateRuleEdgeSheetBoundary(sheet)Parameters: sheet ( NXOpen.Body) – Sheet body whose boundary edges are used to create this rule.Returns: Return type: NXOpen.EdgeSheetBoundaryRuleNew in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleEdgeTangent¶
-
ScRuleFactory.CreateRuleEdgeTangent¶ Overloaded method CreateRuleEdgeTangent
CreateRuleEdgeTangent(startEdge, endEdge, isFromStart, angleTolerance, hasSameConvexity)CreateRuleEdgeTangent(startEdge, endEdge, isFromStart, angleTolerance, hasSameConvexity, allowLaminarEdge)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeTangentRuleSignature
CreateRuleEdgeTangent(startEdge, endEdge, isFromStart, angleTolerance, hasSameConvexity)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - endEdge (
NXOpen.Edge) – End edge of edge chain. It can be null (Nothing) - isFromStart (bool) – True: the tangent starts from the start point of the start edge if end edge is provided
- angleTolerance (float) – Angle tolerance for tangent edges
- hasSameConvexity (bool) – True: will only find tangent edges that has the same convexity.
Returns: Return type: New in version NX3.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.EdgeTangentRuleSignature
CreateRuleEdgeTangent(startEdge, endEdge, isFromStart, angleTolerance, hasSameConvexity, allowLaminarEdge)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - endEdge (
NXOpen.Edge) – End edge of edge chain. It can be null. - isFromStart (bool) – True: the tangent chain starts from the start point of the start edge if end edge is provided
- angleTolerance (float) – Angle tolerance for tangent edges
- hasSameConvexity (bool) – True: will only find tangnet edges that has the same convexity.
- allowLaminarEdge (bool) – Allow only laminar edges?
Returns: Return type: New in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleEdgeVertex¶
-
ScRuleFactory.CreateRuleEdgeVertex¶ Creates selection intent rule:
NXOpen.EdgeVertexRuleSignature
CreateRuleEdgeVertex(startEdge, isFromStart)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - isFromStart (bool) – True: the chain starts from the start point of the start edge if end edge is provided
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
- startEdge (
CreateRuleEdgeVertexTangent¶
-
ScRuleFactory.CreateRuleEdgeVertexTangent¶ Creates selection intent rule:
NXOpen.EdgeVertexTangentRuleSignature
CreateRuleEdgeVertexTangent(startEdge, isFromStart, angleTolerance, hasSameConvexity)Parameters: - startEdge (
NXOpen.Edge) – Start edge of edge chain. - isFromStart (bool) – True: the tangent starts from the start point of the start edge if end edge is provided
- angleTolerance (float) – Angle tolerance for tangent edges
- hasSameConvexity (bool) – True: will only find tangent edges that has the same convexity.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
- startEdge (
CreateRuleFaceAdjacent¶
-
ScRuleFactory.CreateRuleFaceAdjacent¶ Creates selection intent rule:
NXOpen.FaceAdjacentRuleSignature
CreateRuleFaceAdjacent(seedFace)Parameters: seedFace ( NXOpen.Face) – Faces to create this rule.Returns: Return type: NXOpen.FaceAdjacentRuleNew in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleFaceAllBlend¶
-
ScRuleFactory.CreateRuleFaceAllBlend¶ Overloaded method CreateRuleFaceAllBlend
CreateRuleFaceAllBlend(body)CreateRuleFaceAllBlend(body, feature)
-------------------------------------Creates selection intent rule:
NXOpen.FaceAllBlendRuleSignature
CreateRuleFaceAllBlend(body)Parameters: body ( NXOpen.Body) – Body faces are used to create this rule.Returns: Return type: NXOpen.FaceAllBlendRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceAllBlendRuleSignature
CreateRuleFaceAllBlend(body, feature)Parameters: - body (
NXOpen.Body) – Body faces are used to create this rule. - feature (
NXOpen.Features.Feature) – Feature to create this rule
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceAndAdjacentFaces¶
-
ScRuleFactory.CreateRuleFaceAndAdjacentFaces¶ Creates selection intent rule:
NXOpen.FaceAndAdjacentFacesRuleSignature
CreateRuleFaceAndAdjacentFaces(seedFace)Parameters: seedFace ( NXOpen.Face) – Face to create this rule.Returns: Return type: NXOpen.FaceAndAdjacentFacesRuleNew in version NX7.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleFaceBody¶
-
ScRuleFactory.CreateRuleFaceBody¶ Creates selection intent rule:
NXOpen.FaceBodyRuleSignature
CreateRuleFaceBody(body)Parameters: body ( NXOpen.Body) – Body faces are used to create this rule.Returns: Return type: NXOpen.FaceBodyRuleNew in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleFaceBossPocket¶
-
ScRuleFactory.CreateRuleFaceBossPocket¶ Overloaded method CreateRuleFaceBossPocket
CreateRuleFaceBossPocket(seed)CreateRuleFaceBossPocket(seed, includeBoundaryBlends)
-------------------------------------Creates selection intent rule:
NXOpen.FaceBossPocketFacesRuleSignature
CreateRuleFaceBossPocket(seed)Parameters: seed ( NXOpen.Face) – Seed face used to create this rule.Returns: Return type: NXOpen.FaceBossPocketFacesRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceBossPocketFacesRuleSignature
CreateRuleFaceBossPocket(seed, includeBoundaryBlends)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - includeBoundaryBlends (bool) – return blends at the feature periphery
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceConnectedBlend¶
-
ScRuleFactory.CreateRuleFaceConnectedBlend¶ Overloaded method CreateRuleFaceConnectedBlend
CreateRuleFaceConnectedBlend(seedFace)CreateRuleFaceConnectedBlend(seedFace, includeBlendLike, feature)CreateRuleFaceConnectedBlend(seedFace, includeBlendLike, includeUnlabeledBlend, feature)
-------------------------------------Creates selection intent rule:
NXOpen.FaceConnectedBlendRuleSignature
CreateRuleFaceConnectedBlend(seedFace)Parameters: seedFace ( NXOpen.Face) – Faces to create this rule.Returns: Return type: NXOpen.FaceConnectedBlendRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceConnectedBlendRuleSignature
CreateRuleFaceConnectedBlend(seedFace, includeBlendLike, feature)Parameters: - seedFace (
NXOpen.Face) – Faces to create this rule. - includeBlendLike (bool) – True: will find blend and blend-like faces
- feature (
NXOpen.Features.Feature) – Feature to create this rule
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceConnectedBlendRuleSignature
CreateRuleFaceConnectedBlend(seedFace, includeBlendLike, includeUnlabeledBlend, feature)Parameters: - seedFace (
NXOpen.Face) – Faces to create this rule. - includeBlendLike (bool) – True: will find blend and blend-like faces
- includeUnlabeledBlend (bool) – True: will find unlabeled blend faces
- feature (
NXOpen.Features.Feature) – Feature to create this rule
Returns: Return type: New in version NX10.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceDatum¶
-
ScRuleFactory.CreateRuleFaceDatum¶ Creates selection intent rule:
NXOpen.FaceDumbRuleSignature
CreateRuleFaceDatum(faces)Parameters: faces (list of NXOpen.DatumPlane) – Features whose tangent curves are used to create this rule.Returns: Return type: NXOpen.FaceDumbRuleNew in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleFaceDumb¶
-
ScRuleFactory.CreateRuleFaceDumb¶ Creates selection intent rule:
NXOpen.FaceDumbRuleSignature
CreateRuleFaceDumb(faces)Parameters: faces (list of NXOpen.Face) – Features whose tangent curves are used to create this rule.Returns: Return type: NXOpen.FaceDumbRuleNew in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleFaceFeature¶
-
ScRuleFactory.CreateRuleFaceFeature¶ Overloaded method CreateRuleFaceFeature
CreateRuleFaceFeature(features)CreateRuleFaceFeature(features, partOccurrence)
-------------------------------------Creates selection intent rule:
NXOpen.FaceFeatureRuleSignature
CreateRuleFaceFeature(features)Parameters: features (list of NXOpen.Features.Feature) – Features whose faces are used to create this rule.Returns: Return type: NXOpen.FaceFeatureRuleNew in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceFeatureRulefor the given feature from a part occurrence.Signature
CreateRuleFaceFeature(features, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose faces are used to create this rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of seed face that is used to create this rule.
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceMergedRib¶
-
ScRuleFactory.CreateRuleFaceMergedRib¶ Overloaded method CreateRuleFaceMergedRib
CreateRuleFaceMergedRib(seed, edge)CreateRuleFaceMergedRib(seed, edge, includeBoundaryBlends)CreateRuleFaceMergedRib(seed, includeBoundaryBlends, seedPoint)
-------------------------------------Creates selection intent rule:
NXOpen.FaceMergedRibFacesRuleSignature
CreateRuleFaceMergedRib(seed, edge)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - edge (
NXOpen.Edge) – Edge that disambiguates the result - can be NULL
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceMergedRibFacesRuleSignature
CreateRuleFaceMergedRib(seed, edge, includeBoundaryBlends)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - edge (
NXOpen.Edge) – Edge that disambiguates the result - can be NULL - includeBoundaryBlends (bool) – return blends at the feature periphery
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceMergedRibFacesRuleSignature
CreateRuleFaceMergedRib(seed, includeBoundaryBlends, seedPoint)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - includeBoundaryBlends (bool) – return blends at the feature periphery
- seedPoint (
NXOpen.Point3d) – Seed pick point point.
Returns: Return type: New in version NX8.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceRegion¶
-
ScRuleFactory.CreateRuleFaceRegion¶ Creates selection intent rule:
NXOpen.FaceRegionRuleSignature
CreateRuleFaceRegion(seedFace, boundaryFaces)Parameters: - seedFace (
NXOpen.Face) – Body faces are used to create this rule. - boundaryFaces (list of
NXOpen.Face) – Features whose tangent faces are used to create this rule.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedFace (
CreateRuleFaceRegionBoundary¶
-
ScRuleFactory.CreateRuleFaceRegionBoundary¶ Creates selection intent rule:
NXOpen.FaceRegionBoundaryRuleSignature
CreateRuleFaceRegionBoundary(seedObj, curves, seedPoint, distanceTolerance)Parameters: - seedObj (
NXOpen.Face) – Seed face - curves (list of
NXOpen.ICurve) – Curve input for this rule. - seedPoint (
NXOpen.Point3d) – Seed point. - distanceTolerance (float) – Distance tolerance.
Returns: Return type: New in version NX7.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedObj (
CreateRuleFaceRegionWithSmartBoundaries¶
-
ScRuleFactory.CreateRuleFaceRegionWithSmartBoundaries¶ Creates selection intent rule:
NXOpen.FaceRegionRulewhere the boundaries also update with original intentSignature
CreateRuleFaceRegionWithSmartBoundaries(seedFace, boundaryFaceRules)Parameters: - seedFace (
NXOpen.Face) – Seed face to create this rule. - boundaryFaceRules (list of
NXOpen.SelectionIntentRule) – Rules defining the boundaries.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedFace (
CreateRuleFaceRib¶
-
ScRuleFactory.CreateRuleFaceRib¶ Overloaded method CreateRuleFaceRib
CreateRuleFaceRib(seed)CreateRuleFaceRib(seed, includeBoundaryBlends, traverseInteriorLoops)
-------------------------------------Creates selection intent rule:
NXOpen.FaceRibFacesRuleSignature
CreateRuleFaceRib(seed)Parameters: seed ( NXOpen.Face) – Seed face used to create this rule.Returns: Return type: NXOpen.FaceRibFacesRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceRibFacesRuleSignature
CreateRuleFaceRib(seed, includeBoundaryBlends, traverseInteriorLoops)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - includeBoundaryBlends (bool) – return blends at the feature periphery
- traverseInteriorLoops (bool) – process interior loop
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceSlot¶
-
ScRuleFactory.CreateRuleFaceSlot¶ Overloaded method CreateRuleFaceSlot
CreateRuleFaceSlot(seed)CreateRuleFaceSlot(seed, includeBoundaryBlends, traverseInteriorLoops)
-------------------------------------Creates selection intent rule:
NXOpen.FaceSlotFacesRuleSignature
CreateRuleFaceSlot(seed)Parameters: seed ( NXOpen.Face) – Seed face used to create this rule.Returns: Return type: NXOpen.FaceSlotFacesRuleNew in version NX5.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceSlotFacesRuleSignature
CreateRuleFaceSlot(seed, includeBoundaryBlends, traverseInteriorLoops)Parameters: - seed (
NXOpen.Face) – Seed face used to create this rule. - includeBoundaryBlends (bool) – return blends at the feature periphery
- traverseInteriorLoops (bool) – process interior loop
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceTangent¶
-
ScRuleFactory.CreateRuleFaceTangent¶ Overloaded method CreateRuleFaceTangent
CreateRuleFaceTangent(seedFace, boundaryFaces)CreateRuleFaceTangent(seedFace, boundaryFaces, angleTolerance)
-------------------------------------Creates selection intent rule:
NXOpen.FaceTangentRuleSignature
CreateRuleFaceTangent(seedFace, boundaryFaces)Parameters: - seedFace (
NXOpen.Face) – Features whose tangent curves are used to create this rule. - boundaryFaces (list of
NXOpen.Face) – Features whose tangent curves are used to create this rule.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FaceTangentRulewith tangent toleranceSignature
CreateRuleFaceTangent(seedFace, boundaryFaces, angleTolerance)Parameters: - seedFace (
NXOpen.Face) – Features whose tangent curves are used to create this rule. - boundaryFaces (list of
NXOpen.Face) – Features whose tangent curves are used to create this rule. - angleTolerance (float) – Tangent angle tolerance.
Returns: Return type: New in version NX8.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFaceTangentWithSmartBoundaries¶
-
ScRuleFactory.CreateRuleFaceTangentWithSmartBoundaries¶ Creates selection intent rule:
NXOpen.FaceTangentRulewhere the boundaries also update with original intentSignature
CreateRuleFaceTangentWithSmartBoundaries(seedFace, boundaryFaceRules)Parameters: - seedFace (
NXOpen.Face) – Seed face to create this rule. - boundaryFaceRules (list of
NXOpen.SelectionIntentRule) – Rules defining the boundaries.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedFace (
CreateRuleFeatureIntersectionEdges¶
-
ScRuleFactory.CreateRuleFeatureIntersectionEdges¶ Overloaded method CreateRuleFeatureIntersectionEdges
CreateRuleFeatureIntersectionEdges(features)CreateRuleFeatureIntersectionEdges(features, partOccurrence)
-------------------------------------Creates selection intent rule:
NXOpen.FeatureIntersectionEdgesRuleSignature
CreateRuleFeatureIntersectionEdges(features)Parameters: features (list of NXOpen.NXObject) – Features whose intersection edges are used to create this rule.Returns: Return type: NXOpen.FeatureIntersectionEdgesRuleNew in version NX9.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FeatureIntersectionEdgesRuleSignature
CreateRuleFeatureIntersectionEdges(features, partOccurrence)Parameters: - features (list of
NXOpen.NXObject) – Features whose intersection edges are used to create this rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of the seed edge that is used to create this rule.
Returns: Return type: New in version NX11.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFeaturePoints¶
-
ScRuleFactory.CreateRuleFeaturePoints¶ Overloaded method CreateRuleFeaturePoints
CreateRuleFeaturePoints(features, partOccurrence)CreateRuleFeaturePoints(features)
-------------------------------------Creates selection intent rule:
NXOpen.FeaturePointsRulefor the given feature from a part occurrence.Signature
CreateRuleFeaturePoints(features, partOccurrence)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose points are used to create this rule. - partOccurrence (
NXOpen.DisplayableObject) – Part occurrence of seed point that is used to create this rule.
Returns: Return type: New in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FeaturePointsRuleSignature
CreateRuleFeaturePoints(features)Parameters: features (list of NXOpen.Features.Feature) – Features whose points are used to create this rule.Returns: Return type: NXOpen.FeaturePointsRuleNew in version NX5.0.2.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleFollowFillet¶
-
ScRuleFactory.CreateRuleFollowFillet¶ Overloaded method CreateRuleFollowFillet
CreateRuleFollowFillet(features, bodies, basicCurves, seedWireframe, endWireframe, isFromSeedStart, seedPoint, gapTolerance, angleTolerance, method)CreateRuleFollowFillet(features, bodies, basicCurves, seedWireframe, seedPoint, gapTolerance, angleTolerance, method)
-------------------------------------Creates selection intent rule:
NXOpen.FollowFilletRuleSignature
CreateRuleFollowFillet(features, bodies, basicCurves, seedWireframe, endWireframe, isFromSeedStart, seedPoint, gapTolerance, angleTolerance, method)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose curves are used to create this rule. - bodies (list of
NXOpen.Body) – Bodies whose edges are used to create this rule. - basicCurves (list of
NXOpen.ICurve) – Non-associative basic curves that are used to create this rule. - seedWireframe (
NXOpen.ICurve) – Seed wireframe - endWireframe (
NXOpen.ICurve) – End wireframe. It can be null (Nothing) - isFromSeedStart (bool) – True: the chain starts from the start point of the seed wireframe
- seedPoint (
NXOpen.Point3d) – Seed point. - gapTolerance (float) – Gap tolerance.
- angleTolerance (float) – Angle tolerance.
- method (
NXOpen.FollowFilletRuleType) – Selection Intent method.
Returns: Return type: New in version NX4.0.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------Creates selection intent rule:
NXOpen.FollowFilletRulewith stop at intersection option ONSignature
CreateRuleFollowFillet(features, bodies, basicCurves, seedWireframe, seedPoint, gapTolerance, angleTolerance, method)Parameters: - features (list of
NXOpen.Features.Feature) – Features whose curves are used to create this rule. - bodies (list of
NXOpen.Body) – Bodies whose edges are used to create this rule. - basicCurves (list of
NXOpen.ICurve) – Non-associative basic curves that are used to create this rule. - seedWireframe (
NXOpen.ICurve) – Seed wireframe - seedPoint (
NXOpen.Point3d) – Seed point. - gapTolerance (float) – Gap tolerance.
- angleTolerance (float) – Angle tolerance.
- method (
NXOpen.FollowFilletRuleType) – Selection Intent method.
Returns: Return type: New in version NX7.5.0.
License requirements: gateway (“UG GATEWAY”)
-------------------------------------
CreateRuleOuterEdgesOfFaces¶
-
ScRuleFactory.CreateRuleOuterEdgesOfFaces¶ Creates selection intent rule:
NXOpen.OuterEdgesOfFacesRuleSignature
CreateRuleOuterEdgesOfFaces(facesOfFeatures)Parameters: facesOfFeatures (list of NXOpen.NXObject) – Faces whose boundary edges are used to create this rule.Returns: Return type: NXOpen.OuterEdgesOfFacesRuleNew in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)
CreateRuleRegionBoundary¶
-
ScRuleFactory.CreateRuleRegionBoundary¶ Creates selection intent rule:
NXOpen.RegionBoundaryRuleSignature
CreateRuleRegionBoundary(seedObj, curves, seedPoint, distanceTolerance)Parameters: - seedObj (
NXOpen.DisplayableObject) – face or sketch - curves (list of
NXOpen.ICurve) – Curve input for this rule. - seedPoint (
NXOpen.Point3d) – Seed point. - distanceTolerance (float) – Distance tolerance.
Returns: Return type: New in version NX6.0.0.
License requirements: gateway (“UG GATEWAY”)
- seedObj (
CreateRuleRibTopFaceEdges¶
-
ScRuleFactory.CreateRuleRibTopFaceEdges¶ Creates selection intent rule:
NXOpen.RibTopFaceEdgesRuleSignature
CreateRuleRibTopFaceEdges(facesOfFeatures)Parameters: facesOfFeatures (list of NXOpen.NXObject) – Faces whose boundary edges are used to create this rule.Returns: Return type: NXOpen.RibTopFaceEdgesRuleNew in version NX8.5.0.
License requirements: gateway (“UG GATEWAY”)