public interface TrimRegionBuilder extends Builder
TrimRegionCollection.createTrimRegionBuilder()
Property | Value |
---|---|
AsPatchSurface | 1 |
BoundaryType | BodyCurve |
RegionType | Keep |
Modifier and Type | Interface and Description |
---|---|
static class |
TrimRegionBuilder.BoundaryOption
represents the boundary type option, body/curve type or traverse type.
|
static class |
TrimRegionBuilder.ColorValueData
This class holds the data returned from
getColorValue() |
static class |
TrimRegionBuilder.RegionOption
represents the option to keep or discard the selected region.
|
Modifier and Type | Method and Description |
---|---|
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 |
boundaryBody()
Returns the selection of boundary body to extract region faces, which are used for create intersection curves with target.
|
TrimRegionBuilder.BoundaryOption |
boundaryType()
Returns the value of boundary type option, which specifies to use body or edge/curve as boundary object.
|
TrimRegionBuilder.ColorValueData |
getColorValue()
Returns the value of surface patch color.
|
ScCollector |
loopCollector()
Returns the loop collector to collect the traverse loops.
|
RegionPointList |
regionPoint()
Returns the selection of region point, which will be kept or discarded as the result of trim region.
|
TrimRegionBuilder.RegionOption |
regionType()
Returns the value of the option, which specifies to keep or discard the selected region.
|
void |
setAsPatchSurface(boolean asPatchSurface)
License requirements: None. |
void |
setBodyColor(NXColor patchColor)
License requirements: None. |
void |
setBoundaryType(TrimRegionBuilder.BoundaryOption boundaryType)
License requirements: None. |
void |
setColorValue(double redValue,
double greenValue,
double blueValue)
Sets the value of surface patch color.
|
void |
setRegionType(TrimRegionBuilder.RegionOption regionType)
License requirements: None. |
void |
setTraverseEdges(NXObject[] traverseEdges)
Sets the edges from traverse loop to builder data.
|
SelectBody |
targetBody()
Returns the selection of target to create trim region, body type only.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectBody targetBody() throws NXException, RemoteException
NXException
RemoteException
TrimRegionBuilder.BoundaryOption boundaryType() throws NXException, RemoteException
NXException
RemoteException
void setBoundaryType(TrimRegionBuilder.BoundaryOption boundaryType) throws NXException, RemoteException
boundaryType
- NXException
RemoteException
SelectNXObjectList boundaryBody() throws NXException, RemoteException
NXException
RemoteException
ScCollector loopCollector() throws NXException, RemoteException
NXException
RemoteException
RegionPointList regionPoint() throws NXException, RemoteException
NXException
RemoteException
TrimRegionBuilder.RegionOption regionType() throws NXException, RemoteException
NXException
RemoteException
void setRegionType(TrimRegionBuilder.RegionOption regionType) throws NXException, RemoteException
regionType
- NXException
RemoteException
boolean asPatchSurface() throws NXException, RemoteException
NXException
RemoteException
void setAsPatchSurface(boolean asPatchSurface) throws NXException, RemoteException
asPatchSurface
- NXException
RemoteException
TrimRegionBuilder.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
void setTraverseEdges(NXObject[] traverseEdges) throws NXException, RemoteException
traverseEdges
- the selected edgesNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.