NXOpen .NET Reference
12.0.0
|
This class contains the factory methods for creating facet selection intent rules More...
Public Member Functions | |
unsafe NXOpen.SingleFacetRule | CreateRuleSingleFacet (NXOpen.IFacet[] facets) |
Creates single facet selection intent rule: NXOpen.SingleFacetRule More... | |
unsafe NXOpen.FaceFacetsRule | CreateRuleFaceFacets (NXOpen.NXObject[] faces) |
Creates face facets selection intent rule: NXOpen.FaceFacetsRule More... | |
unsafe NXOpen.FloodFillFacetsRule | CreateRuleFloodFillFacets (NXOpen.IFacet seedFacet, bool isDeselectionRule) |
Creates flood filled facet region selection intent rule: NXOpen.FloodFillFacetsRule . More... | |
unsafe NXOpen.RoughBrushFacetsRule | CreateRuleRoughBrushFacets (NXOpen.Point3d brushToolStartPoint, NXOpen.Vector3d brushToolDirection, double brushToolRadius, bool allowHiddenFacetsSel, NXOpen.IFacet seedFacet) |
Creates rough brush facets selection intent rule: NXOpen.BrushFacetsRule . More... | |
unsafe NXOpen.FineBrushFacetsRule | CreateRuleFineBrushFacets (NXOpen.Point3d brushToolStartPoint, NXOpen.Vector3d brushToolDirection, double brushToolRadius, bool allowHiddenFacetsSel, NXOpen.IFacet seedFacet) |
Creates fine brush facets selection intent rule: NXOpen.BrushFacetsRule . More... | |
unsafe NXOpen.ColorRegionRule | CreateRuleColorRegionFacets (NXOpen.IFacet seedFacet) |
Creates color region facets selection intent rule: NXOpen.ColorRegionRule More... | |
unsafe NXOpen.FillBoundaryRule | CreateRuleFillBoundary (NXOpen.IFacet[] boundaryFacets, NXOpen.IFacet seedFacet, bool includeBoudaryFacets) |
Creates fill boundary rule: NXOpen.FillBoundaryRule More... | |
unsafe NXOpen.BodyFacetsRule | CreateRuleBodyFacets (NXOpen.NXObject[] bodies) |
Create body facets selection rule: NXOpen.BodyFacetsRule More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
This class contains the factory methods for creating facet selection intent rules
To obtain an instance of this class, refer to NXOpen.Part
Created in NX12.0.0
unsafe NXOpen.BodyFacetsRule NXOpen.FacetSelectionRuleFactory.CreateRuleBodyFacets | ( | NXOpen.NXObject[] | bodies | ) |
Create body facets selection rule: NXOpen.BodyFacetsRule
This rule chains to collect all facets of input facet bodies. An Exception is raised if input object is not facet body.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
bodies | a faceted body whose facets are to be collected. |
unsafe NXOpen.ColorRegionRule NXOpen.FacetSelectionRuleFactory.CreateRuleColorRegionFacets | ( | NXOpen.IFacet | seedFacet | ) |
Creates color region facets selection intent rule: NXOpen.ColorRegionRule
This rule chains to collect all neighboring facets of seed (and the neighbor-neighbors) that are of same color as that of seed facet. The chaining grows upto an unicolor region of connected facets. Also the chainging does not cross the boundary of owning face for convergent facets and NX facet body for NX facets.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
seedFacet | the seed facet |
unsafe NXOpen.FaceFacetsRule NXOpen.FacetSelectionRuleFactory.CreateRuleFaceFacets | ( | NXOpen.NXObject[] | faces | ) |
Creates face facets selection intent rule: NXOpen.FaceFacetsRule
This rule chains to collect all facets of input faces or faceted bodies. Note that NX faceted body has single face. An Exception is raised if input object is not a face or a faceted body.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
faces | a face or NX faceted body whose facets are to be collected. |
unsafe NXOpen.FillBoundaryRule NXOpen.FacetSelectionRuleFactory.CreateRuleFillBoundary | ( | NXOpen.IFacet[] | boundaryFacets, |
NXOpen.IFacet | seedFacet, | ||
bool | includeBoudaryFacets | ||
) |
Creates fill boundary rule: NXOpen.FillBoundaryRule
This rule chains to add all neighboring facets of seed (and the neighbor-neighbors) until the region reaches a closed ring of specified boundary facets. While NXOpen.FloodFillFacetsRule smartly identifies the boundary facets from existing collection, NXOpen.FillBoundaryRule chains over existing collected facets until input boundary facets.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
boundaryFacets | boundary facets upto which chaining is done. |
seedFacet | the seed facet |
includeBoudaryFacets | if true, input boundary facets are added to resultant chained collection of facets |
unsafe NXOpen.FineBrushFacetsRule NXOpen.FacetSelectionRuleFactory.CreateRuleFineBrushFacets | ( | NXOpen.Point3d | brushToolStartPoint, |
NXOpen.Vector3d | brushToolDirection, | ||
double | brushToolRadius, | ||
bool | allowHiddenFacetsSel, | ||
NXOpen.IFacet | seedFacet | ||
) |
Creates fine brush facets selection intent rule: NXOpen.BrushFacetsRule .
This rule chains to collect all neighboring facets of seed (and the neighbor-neighbors) that are stictly inside brush tool.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
brushToolStartPoint | the start point of brush tool |
brushToolDirection | the vector defining direction of brush tool |
brushToolRadius | the radius of brush tool |
allowHiddenFacetsSel | the flag to allow selection of invisible facets in view direction specified by brush tool. If this flag is false, facets hidden by parts of the same facet body in current view will not be collected |
seedFacet | the seed facet |
unsafe NXOpen.FloodFillFacetsRule NXOpen.FacetSelectionRuleFactory.CreateRuleFloodFillFacets | ( | NXOpen.IFacet | seedFacet, |
bool | isDeselectionRule | ||
) |
Creates flood filled facet region selection intent rule: NXOpen.FloodFillFacetsRule .
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
seedFacet | seed facet for flood filled facet collection |
isDeselectionRule | flag to specify whether it is deselection rule or not. |
unsafe NXOpen.RoughBrushFacetsRule NXOpen.FacetSelectionRuleFactory.CreateRuleRoughBrushFacets | ( | NXOpen.Point3d | brushToolStartPoint, |
NXOpen.Vector3d | brushToolDirection, | ||
double | brushToolRadius, | ||
bool | allowHiddenFacetsSel, | ||
NXOpen.IFacet | seedFacet | ||
) |
Creates rough brush facets selection intent rule: NXOpen.BrushFacetsRule .
This rule chains to collect all neighboring facets of seed (and the neighbor-neighbors) that are inside or crossing brush tool.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
brushToolStartPoint | the start point of brush tool |
brushToolDirection | the vector defining direction of brush tool |
brushToolRadius | the radius of brush tool |
allowHiddenFacetsSel | the flag to allow selection of invisible facets in view direction specified by brush tool. If this flag is false, facets hidden by parts of the same facet body in current view will not be collected |
seedFacet | the seed facet |
unsafe NXOpen.SingleFacetRule NXOpen.FacetSelectionRuleFactory.CreateRuleSingleFacet | ( | NXOpen.IFacet[] | facets | ) |
Creates single facet selection intent rule: NXOpen.SingleFacetRule
This rule adds given facets to collector without any chaining.
Created in NX12.0.0
License requirements: gateway ("UG GATEWAY")
facets | facets to add through the rule. |
|
get |
Returns the tag of this object.