NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Tooling.EdgePatchBuilder Class Reference

Represents a builder to be used to create edge patch surfaces. More...

Inheritance diagram for NXOpen.Tooling.EdgePatchBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  ConvertTypeOption { WithCopies, NoCopies }
 The option to convert to have copies or no copies for all selected sheets. More...
 
enum  PatchStatus {
  NoLoopExisted, OneLoopExisted, MultiLoopsExisted, SomeLoopsExisted,
  LoopNotPatched, PatchedAndSomeSuppressed, PatchedAndAllSuppressed, PatchedAndNoSuppressed
}
 Settings of the patch status types. More...
 
enum  SelectTypes { Face, Body, Traverse }
 Settings of the selection types. More...
 

Public Member Functions

unsafe void ClearList (int type)
 Clear the index list. More...
 
unsafe void DeleteOneLoopList (int index)
 Delete one loop list of the index. More...
 
unsafe void DestroyMemory ()
 Destroy the builder memory. More...
 
unsafe void DirectionReverse ()
 Reverse reference face direction. More...
 
unsafe void EditReferenceFace (int index, NXOpen.Face[] addFaces, NXOpen.Face[] removeFaces)
 Add or remove reference faces. More...
 
unsafe void FindBodyHoles (NXOpen.Body body)
 Find holes on the input body. More...
 
unsafe
NXOpen.Tooling.EdgePatchBuilder.PatchStatus 
FindEdgesPatch (NXOpen.NXObject[] edges)
 Get hole information of input edges. More...
 
unsafe
NXOpen.Tooling.EdgePatchBuilder.PatchStatus 
FindFaceHoles (NXOpen.Face referFaces)
 Find holes on the input faces. More...
 
unsafe void GetBodyColor (out double redValue, out double greenValue, out double blueValue)
 Returns the body color. More...
 
unsafe void MakeMoldWizardFills (double tolerance, NXOpen.NXObject[] edges, NXOpen.Face[] origFaces)
 Create a mold wizard fill. More...
 
unsafe void SetBodyColor (double redValue, double greenValue, double blueValue)
 Sets the body color. More...
 
unsafe void SetDeletedList (int[] items)
 Set deleted list value. More...
 
unsafe void SetGiveFailedMessage (int giveMessage)
 Set the giving failed message value. More...
 
unsafe void SetSelectedItems (int[] selectedItems)
 Set the selected items index value. More...
 
unsafe void SetTolerance (double tolerance)
 Set the tolerance value. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. 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

unsafe bool AllowPatch [get, set]
 Returns or sets the flag indicating if creating copies for patch surface is allowed. More...
 
unsafe NXOpen.SelectBody Body [get]
 Returns the body to use to search for loops. More...
 
unsafe NXOpen.NXColor BodyColor [get, set]
 Returns or sets the patch body color. More...
 
unsafe
NXOpen.Tooling.EdgePatchBuilder.ConvertTypeOption 
ConvertType [get, set]
 Returns or sets the option to convert to have copies or no copies for all selected sheets. More...
 
unsafe NXOpen.ScCollector Face [get]
 Returns the face to use to search for loops. More...
 
unsafe NXOpen.ScCollector Loops [get]
 Returns the loops to patch. More...
 
unsafe bool PatchSurface [get, set]
 Returns or sets the indication to create patch surface bodies in core/cavity. More...
 
unsafe NXOpen.ScCollector ReferenceFace [get]
 Returns the reference face to use to create edge patch. More...
 
unsafe
NXOpen.Tooling.EdgePatchBuilder.SelectTypes 
SelType [get, set]
 Returns or sets the patch type of the edge patch creation. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
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.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a builder to be used to create edge patch surfaces.

To create a new instance of this class, use NXOpen.Tooling.EdgePatchCollection.CreateBuilder

Default values.

Property Value

ConvertType

WithCopies

PatchSurface

1

SelType

Face

Created in NX7.5.0

Member Enumeration Documentation

The option to convert to have copies or no copies for all selected sheets.

Enumerator
WithCopies 
NoCopies 

Settings of the patch status types.

Enumerator
NoLoopExisted 

No loop existed in list

OneLoopExisted 

One loop existed in list

MultiLoopsExisted 

More than one loops existed in list

SomeLoopsExisted 

Some loops existed in list

LoopNotPatched 

No loop is patched

PatchedAndSomeSuppressed 

Some patched bodies are suppressed

PatchedAndAllSuppressed 

All patched bodies are suppressed

PatchedAndNoSuppressed 

No patched body is suppressed

Settings of the selection types.

Enumerator
Face 

Face types

Body 

Body types

Traverse 

Traverse types

Member Function Documentation

unsafe void NXOpen.Tooling.EdgePatchBuilder.ClearList ( int  type)
inline

Clear the index list.

Created in NX7.5.0

License requirements: None.

Parameters
typeindicating which index list to clear
unsafe void NXOpen.Tooling.EdgePatchBuilder.DeleteOneLoopList ( int  index)
inline

Delete one loop list of the index.

Created in NX7.5.0

License requirements: None.

Parameters
indexthe index value
unsafe void NXOpen.Tooling.EdgePatchBuilder.DestroyMemory ( )
inline

Destroy the builder memory.

Created in NX7.5.0

License requirements: None.

unsafe void NXOpen.Tooling.EdgePatchBuilder.DirectionReverse ( )
inline

Reverse reference face direction.

Created in NX7.5.0

License requirements: None.

unsafe void NXOpen.Tooling.EdgePatchBuilder.EditReferenceFace ( int  index,
NXOpen.Face[]  addFaces,
NXOpen.Face[]  removeFaces 
)
inline

Add or remove reference faces.

Created in NX7.5.0

License requirements: None.

Parameters
indexthe index of list loop
addFacesThe faces to add to reference faces
removeFacesThe faces to remove from reference faces
unsafe void NXOpen.Tooling.EdgePatchBuilder.FindBodyHoles ( NXOpen.Body  body)
inline

Find holes on the input body.

Created in NX7.5.0

License requirements: None.

Parameters
bodythe body to find holes on which
unsafe NXOpen.Tooling.EdgePatchBuilder.PatchStatus NXOpen.Tooling.EdgePatchBuilder.FindEdgesPatch ( NXOpen.NXObject[]  edges)
inline

Get hole information of input edges.

Created in NX7.5.0

License requirements: None.

Parameters
edgesthe edges or curves to find holes information
Returns
the edges or curves patch status
unsafe NXOpen.Tooling.EdgePatchBuilder.PatchStatus NXOpen.Tooling.EdgePatchBuilder.FindFaceHoles ( NXOpen.Face  referFaces)
inline

Find holes on the input faces.

Created in NX7.5.0

License requirements: None.

Parameters
referFacesthe faces to find holes
Returns
the loop status
unsafe void NXOpen.Tooling.EdgePatchBuilder.GetBodyColor ( out double  redValue,
out double  greenValue,
out double  blueValue 
)
inline

Returns the body color.

Created in NX7.5.0

Deprecated in NX8.5.0. Use Tooling.EdgePatchBuilder.BodyColor instead.

License requirements: None.

Parameters
redValuered value between 0 and 1
greenValuegreen value between 0 and 1
blueValueblue value between 0 and 1
unsafe void NXOpen.Tooling.EdgePatchBuilder.MakeMoldWizardFills ( double  tolerance,
NXOpen.NXObject[]  edges,
NXOpen.Face[]  origFaces 
)
inline

Create a mold wizard fill.

Created in NX9.0.1

License requirements: None.

Parameters
tolerancedistance tolerance
edgesordered edges array
origFacesselected faces array
unsafe void NXOpen.Tooling.EdgePatchBuilder.SetBodyColor ( double  redValue,
double  greenValue,
double  blueValue 
)
inline

Sets the body color.

Created in NX7.5.0

Deprecated in NX8.5.0. Use Tooling.EdgePatchBuilder.BodyColor instead.

License requirements: None.

Parameters
redValuered value between 0 and 1
greenValuegreen value between 0 and 1
blueValueblue value between 0 and 1
unsafe void NXOpen.Tooling.EdgePatchBuilder.SetDeletedList ( int[]  items)
inline

Set deleted list value.

Created in NX7.5.0

License requirements: None.

Parameters
itemsthe deleted index values
unsafe void NXOpen.Tooling.EdgePatchBuilder.SetGiveFailedMessage ( int  giveMessage)
inline

Set the giving failed message value.

Created in NX7.5.0

License requirements: None.

Parameters
giveMessagethe giving failed message value
unsafe void NXOpen.Tooling.EdgePatchBuilder.SetSelectedItems ( int[]  selectedItems)
inline

Set the selected items index value.

Created in NX7.5.0

License requirements: None.

Parameters
selectedItemsthe selected index values
unsafe void NXOpen.Tooling.EdgePatchBuilder.SetTolerance ( double  tolerance)
inline

Set the tolerance value.

Created in NX7.5.0

License requirements: None.

Parameters
tolerancethe tolerance value

Property Documentation

unsafe bool NXOpen.Tooling.EdgePatchBuilder.AllowPatch
getset

Returns or sets the flag indicating if creating copies for patch surface is allowed.

Created in NX7.5.3

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectBody NXOpen.Tooling.EdgePatchBuilder.Body
get

Returns the body to use to search for loops.

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.NXColor NXOpen.Tooling.EdgePatchBuilder.BodyColor
getset

Returns or sets the patch body color.

Created in NX7.5.5

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Tooling.EdgePatchBuilder.ConvertTypeOption NXOpen.Tooling.EdgePatchBuilder.ConvertType
getset

Returns or sets the option to convert to have copies or no copies for all selected sheets.

Created in NX1899.0.0

License requirements to get this property: None.

License requirements to set this property: ug_mold_design ("UG MOLD")

unsafe NXOpen.ScCollector NXOpen.Tooling.EdgePatchBuilder.Face
get

Returns the face to use to search for loops.

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.ScCollector NXOpen.Tooling.EdgePatchBuilder.Loops
get

Returns the loops to patch.

Created in NX7.5.0

License requirements: None.

unsafe bool NXOpen.Tooling.EdgePatchBuilder.PatchSurface
getset

Returns or sets the indication to create patch surface bodies in core/cavity.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.ScCollector NXOpen.Tooling.EdgePatchBuilder.ReferenceFace
get

Returns the reference face to use to create edge patch.

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.Tooling.EdgePatchBuilder.SelectTypes NXOpen.Tooling.EdgePatchBuilder.SelType
getset

Returns or sets the patch type of the edge patch creation.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.