NXOpen .NET Reference
12.0.0
|
Represents a builder to be used to add sheet bodies as patch surfaces or delete patch surfaces. More...
Public Types | |
enum | Types { PatchSurface, PartingSurface } |
The types for assigning sheets. More... | |
enum | ConvertTypeOption { WithCopies, NoCopies } |
The option to convert to have copies or no copies for all selected sheets. More... | |
Public Member Functions | |
unsafe void | GetPatchColor (out double redValue, out double greenValue, out double blueValue) |
Get the defined color of patch surfaces. More... | |
unsafe void | SetPatchColor (double redValue, double greenValue, double blueValue) |
Set the defined color of patch surfaces. More... | |
unsafe void | AddSelectFace (NXOpen.Body addFace) |
Add selected face to select list. More... | |
unsafe void | InitOnEnter () |
Get initial patched and parting faces to do delete surface function. More... | |
unsafe void | UpdateInitialCandidates () |
Update initial candidates after changing sheet type. More... | |
unsafe void | PrepareAllRemovingSheets (NXOpen.Body[] sheets) |
Get all the related sheets in one feature set. More... | |
unsafe void | ClearAddingCandidates () |
Clear the m_addingCandidates list. 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... | |
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... | |
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
unsafe void NXOpen.Tooling.AssignPatchBuilder.AddSelectFace | ( | NXOpen.Body | addFace | ) |
Add selected face to select list.
Created in NX7.5.0
License requirements: None.
addFace | face to add to user selected face list |
unsafe void NXOpen.Tooling.AssignPatchBuilder.ClearAddingCandidates | ( | ) |
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 | ||
) |
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.
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
unsafe void NXOpen.Tooling.AssignPatchBuilder.InitOnEnter | ( | ) |
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 | ) |
Get all the related sheets in one feature set.
Created in NX7.5.0
License requirements: None.
sheets | The sheets to find their related originals |
unsafe void NXOpen.Tooling.AssignPatchBuilder.SetPatchColor | ( | double | redValue, |
double | greenValue, | ||
double | blueValue | ||
) |
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.
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
unsafe void NXOpen.Tooling.AssignPatchBuilder.UpdateInitialCandidates | ( | ) |
Update initial candidates after changing sheet type.
Created in NX11.0.0
License requirements: None.
|
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.
|
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.
|
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.
|
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.
|
get |
Returns the selected surfaces added as patch surfaces or deleted from patch surfaces.
Created in NX7.5.0
License requirements: None.
|
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.