public interface EnlargeSurfaceBuilder extends Builder
EnlargeSurfaceCollection.createEnlargeSurfaceBuilder()
Property | Value |
---|---|
AsPatchSurface | 1 |
ChangeAllSizes | 1 |
CutToBoundary | 1 |
RegionOption | Keep |
SurfaceRange.AnchorPosition | Vertex1 |
Modifier and Type | Interface and Description |
---|---|
static class |
EnlargeSurfaceBuilder.ColorValueData
This class holds the data returned from
getColorValue() |
static class |
EnlargeSurfaceBuilder.KeepDiscardOption
represents the keep discard options for selected region.
|
Modifier and Type | Method and Description |
---|---|
void |
addPlanarFaceData(Face planarFace)
Initializes the planar face data with face, and adds the data to builder.
|
void |
addSurfaceData(Face addFace)
Initializes the surface data with face, and adds the data to builder.
|
boolean |
asPatchSurface()
Returns the value of option, which specifies whether to set the result region as patch surface or not.
|
NXColor |
bodyColor()
Returns the color value of patch surface body.
|
SelectNXObjectList |
boundarySelection()
Returns the selection of boundary to trim the target surface, it could be face, datum plane, edge and curve.
|
boolean |
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.
|
boolean |
cutToBoundary()
Returns the value of option, which specifies whether to cut the target to boundary objects or not.
|
boolean |
dragData()
Returns the drag preview body data from builder according to face.
|
void |
erasePlanarFaceData(Face planarFace)
Erases the planar face data from builder according to face.
|
void |
eraseSurfaceData(Face eraseFace)
Erases the surface data from builder according to face.
|
EnlargeSurfaceBuilder.ColorValueData |
getColorValue()
Returns the value of patch surface color.
|
EnlargeSurfaceBuilder.KeepDiscardOption |
regionOption()
Returns the value of the option, which specifies to keep or discard the selected region.
|
RegionPointList |
regionSelection()
Returns the selection of region, which will be kept or discarded as the result of enlarged surface.
|
boolean |
reselTargetData()
Returns the reselect target face data from builder.
|
void |
setAsPatchSurface(boolean asPatchSurface)
License requirements: None. |
void |
setBodyColor(NXColor patchColor)
License requirements: None. |
void |
setChangeAllSizes(boolean changeAllSizes)
License requirements: None. |
void |
setColorValue(double redValue,
double greenValue,
double blueValue)
Sets the value of patch surface color.
|
void |
setCutToBoundary(boolean cutToBoundary)
License requirements: None. |
void |
setDragData(boolean setDragData)
License requirements: None. |
void |
setRangeValue(Face rangeFace,
double[] rangeValue)
Sets the value of surface range to buider data according to range face.
|
void |
setRegionOption(EnlargeSurfaceBuilder.KeepDiscardOption regionOption)
License requirements: None. |
void |
setReselTargetData(boolean setReselTargetData)
License requirements: None. |
void |
setTargetFace(Face targetFace)
Sets the target face to target surface data.
|
SurfaceRangeBuilder |
surfaceRange()
Returns the surface range data, which controls the enlarged parameters of surface.
|
ScCollector |
targetSelection()
Returns the selection of target to create enlarge surface, body face only.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
ScCollector targetSelection() throws NXException, RemoteException
NXException
RemoteException
SelectNXObjectList boundarySelection() throws NXException, RemoteException
NXException
RemoteException
RegionPointList regionSelection() throws NXException, RemoteException
NXException
RemoteException
EnlargeSurfaceBuilder.KeepDiscardOption regionOption() throws NXException, RemoteException
NXException
RemoteException
void setRegionOption(EnlargeSurfaceBuilder.KeepDiscardOption regionOption) throws NXException, RemoteException
regionOption
- NXException
RemoteException
SurfaceRangeBuilder surfaceRange() throws NXException, RemoteException
NXException
RemoteException
boolean changeAllSizes() throws NXException, RemoteException
NXException
RemoteException
void setChangeAllSizes(boolean changeAllSizes) throws NXException, RemoteException
changeAllSizes
- NXException
RemoteException
boolean cutToBoundary() throws NXException, RemoteException
NXException
RemoteException
void setCutToBoundary(boolean cutToBoundary) throws NXException, RemoteException
cutToBoundary
- NXException
RemoteException
boolean asPatchSurface() throws NXException, RemoteException
NXException
RemoteException
void setAsPatchSurface(boolean asPatchSurface) throws NXException, RemoteException
asPatchSurface
- NXException
RemoteException
EnlargeSurfaceBuilder.ColorValueData getColorValue() throws NXException, RemoteException
NXException
RemoteException
void setColorValue(double redValue, double greenValue, double blueValue) throws NXException, RemoteException
redValue
- red value between 0 and 1greenValue
- green value between 0 and 1blueValue
- blue value between 0 and 1NXException
RemoteException
NXColor bodyColor() throws NXException, RemoteException
NXException
RemoteException
void setBodyColor(NXColor patchColor) throws NXException, RemoteException
patchColor
- the color indexNXException
RemoteException
boolean dragData() throws NXException, RemoteException
NXException
RemoteException
void setDragData(boolean setDragData) throws NXException, RemoteException
setDragData
- NXException
RemoteException
boolean reselTargetData() throws NXException, RemoteException
NXException
RemoteException
void setReselTargetData(boolean setReselTargetData) throws NXException, RemoteException
setReselTargetData
- NXException
RemoteException
void setTargetFace(Face targetFace) throws NXException, RemoteException
targetFace
- target faceNXException
RemoteException
void setRangeValue(Face rangeFace, double[] rangeValue) throws NXException, RemoteException
rangeFace
- range facerangeValue
- array of u and v range valueNXException
RemoteException
void addSurfaceData(Face addFace) throws NXException, RemoteException
addFace
- face to add to surface dataNXException
RemoteException
void eraseSurfaceData(Face eraseFace) throws NXException, RemoteException
eraseFace
- face to get surface dataNXException
RemoteException
void addPlanarFaceData(Face planarFace) throws NXException, RemoteException
planarFace
- face to add to planar face dataNXException
RemoteException
void erasePlanarFaceData(Face planarFace) throws NXException, RemoteException
planarFace
- face to get planar face dataNXException
RemoteException
void createPreviewSurface() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.