NXOpen .NET Reference Guide
1899
|
This class contains the factory methods for creating facet selection intent rules More...
Public Member Functions | |
unsafe NXOpen.BodyFacetsRule | CreateRuleBodyFacets (NXOpen.NXObject[] bodies) |
Create body facets selection rule: NXOpen.BodyFacetsRule More... | |
unsafe NXOpen.ColorRegionRule | CreateRuleColorRegionFacets (NXOpen.IFacet seedFacet) |
Creates color region facets selection intent rule: NXOpen.ColorRegionRule More... | |
unsafe NXOpen.FaceFacetsRule | CreateRuleFaceFacets (NXOpen.NXObject[] faces) |
Creates face facets selection intent rule: NXOpen.FaceFacetsRule More... | |
unsafe NXOpen.FillBoundaryRule | CreateRuleFillBoundary (NXOpen.IFacet[] boundaryFacets, NXOpen.IFacet seedFacet, bool includeBoudaryFacets) |
Creates fill boundary rule: NXOpen.FillBoundaryRule More... | |
unsafe NXOpen.FillBoundaryRule | CreateRuleFillBoundary (NXOpen.IFacet[] boundaryFacets, NXOpen.IFacet[] seedFacets, bool includeBoudaryFacets) |
Creates fill boundary rule: NXOpen.FillBoundaryRule with multiple rules 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.FloodFillFacetsRule | CreateRuleFloodFillFacets (NXOpen.IFacet seedFacet, bool isDeselectionRule) |
Creates flood filled facet region selection intent rule: NXOpen.FloodFillFacetsRule . More... | |
unsafe NXOpen.PrimitiveFacetsRule | CreateRulePrimitiveFacets (NXOpen.IFacet seedFacet, double primitiveShapeToleranceFactor) |
Creates primitive facets region selection intent rule: NXOpen.PrimitiveFacetsRule . 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.SingleFacetRule | CreateRuleSingleFacet (NXOpen.IFacet[] facets) |
Creates single facet selection intent rule: NXOpen.SingleFacetRule More... | |
unsafe NXOpen.TangentFacetsRule | CreateRuleTangentFacets (NXOpen.IFacet seedFacet, double tangencyTolerance) |
Create tangent facets selection rule: NXOpen.TangentFacetsRule More... | |
unsafe NXOpen.WithinCurvesRule | CreateRuleWithinCurves (NXOpen.IFacet seedFacet) |
Create within curve facets selection rule: NXOpen.WithinCurvesRule More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> 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
|
inline |
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. |
|
inline |
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 |
|
inline |
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. |
|
inline |
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 |
|
inline |
Creates fill boundary rule: NXOpen.FillBoundaryRule with multiple rules
Similar to the method FacetSelectionRuleFactory.CreateRuleFillBoundary this method also creates NXOpen.FillBoundaryRule but the only difference is that this method accepts multiple seeds.
Created in NX12.0.1
License requirements: gateway ("UG GATEWAY")
boundaryFacets | boundary facets upto which chaining is done. |
seedFacets | the seed facets |
includeBoudaryFacets | if true, input boundary facets are added to resultant chained collection of facets |
|
inline |
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 |
|
inline |
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. |
|
inline |
Creates primitive facets region selection intent rule: NXOpen.PrimitiveFacetsRule .
This rule chains to add all neighbouring facets of seed (and the neighbour-neighbours) which belong to a particular primitive shape. Currently this rule collects facets only from planar, cylindrical, conical and spherical shapes.
Created in NX12.0.2
License requirements: gateway ("UG GATEWAY")
seedFacet | seed facet for primitive facets collection |
primitiveShapeToleranceFactor | tolerance factor to be used for primitive shape detection |
|
inline |
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 |
|
inline |
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. |
|
inline |
Create tangent facets selection rule: NXOpen.TangentFacetsRule
This rule chains to add all neighbouring facets of seed (and the neighbour-neighbours) which satisfy the tangency condition.
Created in NX12.0.2
License requirements: gateway ("UG GATEWAY")
seedFacet | seed facet for tangent facet collection |
tangencyTolerance | tolerance to detect tangency of facets with each other |
|
inline |
Create within curve facets selection rule: NXOpen.WithinCurvesRule
This rule chains to add all neighbouring facets of seed (and the neighbour-neighbours) within curve. If curves are not found in the vicinity of the face, all facets of the face will be added to the selection.
Created in NX12.0.2
License requirements: gateway ("UG GATEWAY")
seedFacet | seed facet for within curve facets collection |
|
get |
Returns the tag of this object.