NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Tooling::EnlargeSurfaceBuilder Class Reference

Mold Wizard enlarge surface management builder, trims a enlarged surface to a boundary of edges, curves, datum planes or faces. More...

Inheritance diagram for NXOpen::Tooling::EnlargeSurfaceBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  KeepDiscardOption { KeepDiscardOptionKeep, KeepDiscardOptionDiscard }
 represents the keep discard options for selected region. More...

Public Member Functions

void AddPlanarFaceData (NXOpen::Face *planarFace)
 Initializes the planar face data with face, and adds the data to builder.
void AddSurfaceData (NXOpen::Face *addFace)
 Initializes the surface data with face, and adds the data to builder.
bool AsPatchSurface ()
 Returns the value of option, which specifies whether to set the result region as patch surface or not.
NXOpen::NXColorBodyColor ()
 Returns the color value of patch surface body.
NXOpen::SelectNXObjectListBoundarySelection ()
 Returns the selection of boundary to trim the target surface, it could be face, datum plane, edge and curve.
bool ChangeAllSizes ()
 Returns the value of option, which specifies when enlarging surface, whether to change all the sizes at the same time or not.
bool CutToBoundary ()
 Returns the value of option, which specifies whether to cut the target to boundary objects or not.
void ErasePlanarFaceData (NXOpen::Face *planarFace)
 Erases the planar face data from builder according to face.
void EraseSurfaceData (NXOpen::Face *eraseFace)
 Erases the surface data from builder according to face.
void GetColorValue (double *redValue, double *greenValue, double *blueValue)
 Returns the value of patch surface color.
NXOpen::Tooling::EnlargeSurfaceBuilder::KeepDiscardOption RegionOption ()
 Returns the value of the option, which specifies to keep or discard the selected region.
NXOpen::RegionPointListRegionSelection ()
 Returns the selection of region, which will be kept or discarded as the result of enlarged surface.
void SetAsPatchSurface (bool asPatchSurface)
 Sets the value of option, which specifies whether to set the result region as patch surface or not.
void SetBodyColor (NXOpen::NXColor *patchColor)
 Sets the color value of patch surface body.
void SetChangeAllSizes (bool changeAllSizes)
 Sets the value of option, which specifies when enlarging surface, whether to change all the sizes at the same time or not.
void SetColorValue (double redValue, double greenValue, double blueValue)
 Sets the value of patch surface color.
void SetCutToBoundary (bool cutToBoundary)
 Sets the value of option, which specifies whether to cut the target to boundary objects or not.
void SetRangeValue (NXOpen::Face *rangeFace, const std::vector< double > &rangeValue)
 Sets the value of surface range to buider data according to range face.
void SetRegionOption (NXOpen::Tooling::EnlargeSurfaceBuilder::KeepDiscardOption regionOption)
 Sets the value of the option, which specifies to keep or discard the selected region.
void SetTargetFace (NXOpen::Face *targetFace)
 Sets the target face to target surface data.
NXOpen::GeometricUtilities::SurfaceRangeBuilderSurfaceRange ()
 Returns the surface range data, which controls the enlarged parameters of surface.
NXOpen::ScCollectorTargetSelection ()
 Returns the selection of target to create enlarge surface, body face only.

Detailed Description

Mold Wizard enlarge surface management builder, trims a enlarged surface to a boundary of edges, curves, datum planes or faces.

Optionally creates output trimmed sheet body as a patch surface.
To create a new instance of this class, use Tooling::EnlargeSurfaceCollection::CreateEnlargeSurfaceBuilder
Default values.

Property Value

AsPatchSurface

1

ChangeAllSizes

1

CutToBoundary

1

RegionOption

Keep

SurfaceRange.AnchorPosition

Vertex1


Created in NX7.5.0.


Member Enumeration Documentation

represents the keep discard options for selected region.

Enumerator:
KeepDiscardOptionKeep 

selected region will be kept.

KeepDiscardOptionDiscard 

selected region will be discarded.


Member Function Documentation

Initializes the planar face data with face, and adds the data to builder.


Created in NX7.5.0.

License requirements : None

Parameters:
planarFaceface to add to planar face data

Initializes the surface data with face, and adds the data to builder.


Created in NX7.5.0.

License requirements : None

Parameters:
addFaceface to add to surface data

Returns the value of option, which specifies whether to set the result region as patch surface or not.


Created in NX7.5.0.

License requirements : None

Returns the color value of patch surface body.


Created in NX8.0.1.

License requirements : None

Returns the selection of boundary to trim the target surface, it could be face, datum plane, edge and curve.


Created in NX7.5.0.

License requirements : None

Returns the value of option, which specifies when enlarging surface, whether to change all the sizes at the same time or not.


Created in NX7.5.0.

License requirements : None

Returns the value of option, which specifies whether to cut the target to boundary objects or not.


Created in NX7.5.0.

License requirements : None

Erases the planar face data from builder according to face.


Created in NX7.5.0.

License requirements : None

Parameters:
planarFaceface to get planar face data

Erases the surface data from builder according to face.


Created in NX7.5.0.

License requirements : None

Parameters:
eraseFaceface to get surface data
void NXOpen::Tooling::EnlargeSurfaceBuilder::GetColorValue ( double *  redValue,
double *  greenValue,
double *  blueValue 
)

Returns the value of patch surface color.


Created in NX7.5.0.

License requirements : None

Parameters:
redValuered value between 0 and 1
greenValuegreen value between 0 and 1
blueValueblue value between 0 and 1

Returns the value of the option, which specifies to keep or discard the selected region.


Created in NX7.5.0.

License requirements : None

Returns the selection of region, which will be kept or discarded as the result of enlarged surface.


Created in NX7.5.0.

License requirements : None

Sets the value of option, which specifies whether to set the result region as patch surface or not.


Created in NX7.5.0.

License requirements : None

Parameters:
asPatchSurfaceaspatchsurface

Sets the color value of patch surface body.


Created in NX8.0.1.

License requirements : None

Parameters:
patchColorthe color index

Sets the value of option, which specifies when enlarging surface, whether to change all the sizes at the same time or not.


Created in NX7.5.0.

License requirements : None

Parameters:
changeAllSizeschangeallsizes
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetColorValue ( double  redValue,
double  greenValue,
double  blueValue 
)

Sets the value of patch surface color.


Created in NX7.5.0.

License requirements : None

Parameters:
redValuered value between 0 and 1
greenValuegreen value between 0 and 1
blueValueblue value between 0 and 1

Sets the value of option, which specifies whether to cut the target to boundary objects or not.


Created in NX7.5.0.

License requirements : None

Parameters:
cutToBoundarycuttoboundary
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetRangeValue ( NXOpen::Face rangeFace,
const std::vector< double > &  rangeValue 
)

Sets the value of surface range to buider data according to range face.


Created in NX7.5.0.

License requirements : None

Parameters:
rangeFacerange face
rangeValuearray of u and v range value

Sets the value of the option, which specifies to keep or discard the selected region.


Created in NX7.5.0.

License requirements : None

Parameters:
regionOptionregionoption

Sets the target face to target surface data.


Created in NX7.5.0.

License requirements : None

Parameters:
targetFacetarget face

Returns the surface range data, which controls the enlarged parameters of surface.


Created in NX7.5.0.

License requirements : None

Returns the selection of target to create enlarge surface, body face only.


Created in NX7.5.0.

License requirements : None


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