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

Represents a builder to be used to add sheet bodies as patch surfaces or delete patch surfaces. More...

Inheritance diagram for NXOpen.Tooling.AssignPatchBuilder:
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  Types { PatchSurface, PartingSurface }
 The types for assigning sheets. More...
 

Public Member Functions

unsafe void AddSelectFace (NXOpen.Body addFace)
 Add selected face to select list. More...
 
unsafe void ClearAddingCandidates ()
 Clear the m_addingCandidates list. More...
 
unsafe void GetPatchColor (out double redValue, out double greenValue, out double blueValue)
 Get the defined color of patch surfaces. More...
 
unsafe void InitOnEnter ()
 Get initial patched and parting faces to do delete surface function. More...
 
unsafe void PrepareAllRemovingSheets (NXOpen.Body[] sheets)
 Get all the related sheets in one feature set. More...
 
unsafe void SetPatchColor (double redValue, double greenValue, double blueValue)
 Set the defined color of patch surfaces. More...
 
unsafe void UpdateInitialCandidates ()
 Update initial candidates after changing sheet type. 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
NXOpen.Tooling.AssignPatchBuilder.ConvertTypeOption 
ConvertType [get, set]
 Returns or sets the option to convert to have copies or no copies for all selected sheets. More...
 
unsafe bool KeepSheet [get, set]
 Returns or sets the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface. More...
 
unsafe NXOpen.NXColor PartingColor [get, set]
 Returns or sets the parting surface color More...
 
unsafe NXOpen.NXColor PatchColor [get, set]
 Returns or sets the patch surface color. More...
 
unsafe NXOpen.SelectBodyList PatchSurfaces [get]
 Returns the selected surfaces added as patch surfaces or deleted from patch surfaces. More...
 
unsafe
NXOpen.Tooling.AssignPatchBuilder.Types 
Type [get, set]
 Returns or sets the type for editing patch or parting 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 add sheet bodies as patch surfaces or delete patch surfaces.

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

Default values.

Property Value

ConvertType

WithCopies

KeepSheet

1

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 

The types for assigning sheets.

Enumerator
PatchSurface 
PartingSurface 

Member Function Documentation

unsafe void NXOpen.Tooling.AssignPatchBuilder.AddSelectFace ( NXOpen.Body  addFace)
inline

Add selected face to select list.

Created in NX7.5.0

License requirements: None.

Parameters
addFaceface to add to user selected face list
unsafe void NXOpen.Tooling.AssignPatchBuilder.ClearAddingCandidates ( )
inline

Clear the m_addingCandidates list.

Created in NX7.5.0

License requirements: None.

unsafe void NXOpen.Tooling.AssignPatchBuilder.GetPatchColor ( out double  redValue,
out double  greenValue,
out double  blueValue 
)
inline

Get the defined color of patch surfaces.

Created in NX7.5.0

Deprecated in NX8.5.0. Use Tooling.AssignPatchBuilder.PatchColor 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.AssignPatchBuilder.InitOnEnter ( )
inline

Get initial patched and parting faces to do delete surface function.

Created in NX7.5.0

License requirements: None.

unsafe void NXOpen.Tooling.AssignPatchBuilder.PrepareAllRemovingSheets ( NXOpen.Body[]  sheets)
inline

Get all the related sheets in one feature set.

Created in NX7.5.0

License requirements: None.

Parameters
sheetsThe sheets to find their related originals
unsafe void NXOpen.Tooling.AssignPatchBuilder.SetPatchColor ( double  redValue,
double  greenValue,
double  blueValue 
)
inline

Set the defined color of patch surfaces.

Created in NX7.5.0

Deprecated in NX8.5.0. Use Tooling.AssignPatchBuilder.PatchColor 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.AssignPatchBuilder.UpdateInitialCandidates ( )
inline

Update initial candidates after changing sheet type.

Created in NX11.0.0

License requirements: None.

Property Documentation

unsafe NXOpen.Tooling.AssignPatchBuilder.ConvertTypeOption NXOpen.Tooling.AssignPatchBuilder.ConvertType
getset

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

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Tooling.AssignPatchBuilder.KeepSheet
getset

Returns or sets the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.NXColor NXOpen.Tooling.AssignPatchBuilder.PartingColor
getset

Returns or sets the parting surface color

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.NXColor NXOpen.Tooling.AssignPatchBuilder.PatchColor
getset

Returns or sets the patch surface color.

Created in NX7.5.5

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectBodyList NXOpen.Tooling.AssignPatchBuilder.PatchSurfaces
get

Returns the selected surfaces added as patch surfaces or deleted from patch surfaces.

Created in NX7.5.0

License requirements: None.

unsafe NXOpen.Tooling.AssignPatchBuilder.Types NXOpen.Tooling.AssignPatchBuilder.Type
getset

Returns or sets the type for editing patch or parting

Created in NX11.0.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.