NX Open C++ Reference Guide
|
Mold Wizard enlarge surface management builder, trims a enlarged surface to a boundary of edges, curves, datum planes or faces. More...
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::NXColor * | BodyColor () |
Returns the color value of patch surface body. | |
NXOpen::SelectNXObjectList * | BoundarySelection () |
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. | |
void | CreatePreviewSurface () |
Create preview surface data from builder. | |
bool | CutToBoundary () |
Returns the value of option, which specifies whether to cut the target to boundary objects or not. | |
bool | DragData () |
Returns the drag preview body data from builder according to face. | |
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::RegionPointList * | RegionSelection () |
Returns the selection of region, which will be kept or discarded as the result of enlarged surface. | |
bool | ReselTargetData () |
Returns the reselect target face data from builder. | |
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 | SetDragData (bool setDragData) |
Sets the drag preview body data from builder according to face. | |
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 | SetReselTargetData (bool setReselTargetData) |
Sets the reselect target face data from builder. | |
void | SetTargetFace (NXOpen::Face *targetFace) |
Sets the target face to target surface data. | |
NXOpen::GeometricUtilities::SurfaceRangeBuilder * | SurfaceRange () |
Returns the surface range data, which controls the enlarged parameters of surface. | |
NXOpen::ScCollector * | TargetSelection () |
Returns the selection of target to create enlarge surface, body face only. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
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.
void NXOpen::Tooling::EnlargeSurfaceBuilder::AddPlanarFaceData | ( | NXOpen::Face * | planarFace | ) |
Initializes the planar face data with face, and adds the data to builder.
Created in NX7.5.0.
License requirements : None
planarFace | face to add to planar face data |
void NXOpen::Tooling::EnlargeSurfaceBuilder::AddSurfaceData | ( | NXOpen::Face * | addFace | ) |
Initializes the surface data with face, and adds the data to builder.
Created in NX7.5.0.
License requirements : None
addFace | face to add to surface data |
bool NXOpen::Tooling::EnlargeSurfaceBuilder::AsPatchSurface | ( | ) |
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
NXOpen::NXColor* NXOpen::Tooling::EnlargeSurfaceBuilder::BodyColor | ( | ) |
Returns the color value of patch surface body.
Created in NX8.0.1.
License requirements : None
NXOpen::SelectNXObjectList* NXOpen::Tooling::EnlargeSurfaceBuilder::BoundarySelection | ( | ) |
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
bool NXOpen::Tooling::EnlargeSurfaceBuilder::ChangeAllSizes | ( | ) |
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
void NXOpen::Tooling::EnlargeSurfaceBuilder::CreatePreviewSurface | ( | ) |
Create preview surface data from builder.
Created in NX8.5.0.
License requirements : None
bool NXOpen::Tooling::EnlargeSurfaceBuilder::CutToBoundary | ( | ) |
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
bool NXOpen::Tooling::EnlargeSurfaceBuilder::DragData | ( | ) |
Returns the drag preview body data from builder according to face.
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::EnlargeSurfaceBuilder::ErasePlanarFaceData | ( | NXOpen::Face * | planarFace | ) |
Erases the planar face data from builder according to face.
Created in NX7.5.0.
License requirements : None
planarFace | face to get planar face data |
void NXOpen::Tooling::EnlargeSurfaceBuilder::EraseSurfaceData | ( | NXOpen::Face * | eraseFace | ) |
Erases the surface data from builder according to face.
Created in NX7.5.0.
License requirements : None
eraseFace | face 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
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
NXOpen::Tooling::EnlargeSurfaceBuilder::KeepDiscardOption NXOpen::Tooling::EnlargeSurfaceBuilder::RegionOption | ( | ) |
Returns the value of the option, which specifies to keep or discard the selected region.
Created in NX7.5.0.
License requirements : None
NXOpen::RegionPointList* NXOpen::Tooling::EnlargeSurfaceBuilder::RegionSelection | ( | ) |
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
bool NXOpen::Tooling::EnlargeSurfaceBuilder::ReselTargetData | ( | ) |
Returns the reselect target face data from builder.
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetAsPatchSurface | ( | bool | asPatchSurface | ) |
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
asPatchSurface | aspatchsurface |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetBodyColor | ( | NXOpen::NXColor * | patchColor | ) |
Sets the color value of patch surface body.
Created in NX8.0.1.
License requirements : None
patchColor | the color index |
void NXOpen::Tooling::EnlargeSurfaceBuilder::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.
Created in NX7.5.0.
License requirements : None
changeAllSizes | changeallsizes |
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
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetCutToBoundary | ( | bool | cutToBoundary | ) |
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
cutToBoundary | cuttoboundary |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetDragData | ( | bool | setDragData | ) |
Sets the drag preview body data from builder according to face.
Created in NX8.5.0.
License requirements : None
setDragData | setdragdata |
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
rangeFace | range face |
rangeValue | array of u and v range value |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetRegionOption | ( | NXOpen::Tooling::EnlargeSurfaceBuilder::KeepDiscardOption | regionOption | ) |
Sets the value of the option, which specifies to keep or discard the selected region.
Created in NX7.5.0.
License requirements : None
regionOption | regionoption |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetReselTargetData | ( | bool | setReselTargetData | ) |
Sets the reselect target face data from builder.
Created in NX8.5.0.
License requirements : None
setReselTargetData | setreseltargetdata |
void NXOpen::Tooling::EnlargeSurfaceBuilder::SetTargetFace | ( | NXOpen::Face * | targetFace | ) |
Sets the target face to target surface data.
Created in NX7.5.0.
License requirements : None
targetFace | target face |
NXOpen::GeometricUtilities::SurfaceRangeBuilder* NXOpen::Tooling::EnlargeSurfaceBuilder::SurfaceRange | ( | ) |
Returns the surface range data, which controls the enlarged parameters of surface.
Created in NX7.5.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Tooling::EnlargeSurfaceBuilder::TargetSelection | ( | ) |
Returns the selection of target to create enlarge surface, body face only.
Created in NX7.5.0.
License requirements : None