public interface FlangeBuilder extends SheetmetalBaseBuilder
SheetmetalManager.createFlangeFeatureBuilder(nxopen.features.Feature)
Modifier and Type | Interface and Description |
---|---|
static class |
FlangeBuilder.InsetTypeOptions
This enum represents the inset type for the material of the flange.
|
static class |
FlangeBuilder.LengthTypeOptions
This enum indicates the two ways that the flange length can be measured.
|
static class |
FlangeBuilder.MatchFaceOptions
This enum represents the match face option for the flange.
|
static class |
FlangeBuilder.OffsetTypeOptions
This enum represents the offset type for the flange.
|
static class |
FlangeBuilder.WidthTypeOptions
This enum represents the width type for the flange.
|
Modifier and Type | Method and Description |
---|---|
Expression |
bendAngle()
Returns the bend angle for flange.
|
BendOptions |
bendOptions()
Returns the bend options object.
|
void |
deleteSketch()
Delete the flange sketch
License requirements: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB") OR nx_ship_detail ("Ship Detail Design") . |
Edge |
edge()
Returns the edge on which the flange is created.
|
void |
editSketch()
Edit the sketch base on a new edge you need to call SetEdge to set a new edge
License requirements: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB") OR nx_ship_detail ("Ship Detail Design") . |
Expression |
firstDistance()
Returns a distance based on
widthType() . |
Sketch |
getSketch()
Get the flange sketch
License requirements: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB") OR nx_ship_detail ("Ship Detail Design") . |
FlangeBuilder.InsetTypeOptions |
insetType()
Returns the inset type (inside, outside, bendoutside) for the flange.
|
Expression |
length()
Returns the length of the flange.
|
FlangeBuilder.LengthTypeOptions |
lengthType()
Returns a enum indicating the length type.
|
FlangeBuilder.MatchFaceOptions |
matchFaceOption()
Returns the match face selection type.
|
Plane |
matchPlane()
Returns the Match Plane.
|
Expression |
offset()
Returns the offset value for the flange.
|
FlangeBuilder.OffsetTypeOptions |
offsetType()
Returns the offset type for the flange.
|
Expression |
secondDistance()
Returns a distance based on
widthType() . |
void |
setBendAngle(String bendAngle)
Deprecated.
Deprecated in NX10.0.0. Use
Expression.setRightHandSide(java.lang.String) on the Expression object returned from bendAngle() instead.
|
void |
setEdge(Edge edge)
Sets the edge on which the flange is created.
|
void |
setFirstDistance(String firstDistance)
Deprecated.
Deprecated in NX10.0.0. Use
Expression.setRightHandSide(java.lang.String) on the Expression object returned from firstDistance() instead.
|
void |
setInsetType(FlangeBuilder.InsetTypeOptions insetType)
Sets the inset type (inside, outside, bendoutside) for the flange.
|
void |
setLength(String length)
Deprecated.
Deprecated in NX10.0.0. Use
Expression.setRightHandSide(java.lang.String) on the Expression object returned from length() instead.
|
void |
setLengthType(FlangeBuilder.LengthTypeOptions lengthType)
Sets a enum indicating the length type.
|
void |
setMatchFaceOption(FlangeBuilder.MatchFaceOptions matchFaceOption)
Sets the match face selection type.
|
void |
setMatchPlane(Plane matchPlane)
License requirements: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB") . |
void |
setOffset(String offset)
Deprecated.
Deprecated in NX10.0.0. Use
Expression.setRightHandSide(java.lang.String) on the Expression object returned from offset() instead.
|
void |
setOffsetType(FlangeBuilder.OffsetTypeOptions offsetType)
Sets the offset type for the flange.
|
void |
setSecondDistance(String secondDistance)
Deprecated.
Deprecated in NX10.0.0. Use
Expression.setRightHandSide(java.lang.String) on the Expression object returned from secondDistance() instead.
|
void |
setVertex(Point3d vertex)
Sets the vertex on the flange edge, needed to dimension the flange width.
|
void |
setWidthType(FlangeBuilder.WidthTypeOptions widthType)
Sets the width type for flange.
|
int |
validateBuilderData()
Verify that the builder data is valid for creating a flange.
|
Point3d |
vertex()
Returns the vertex on the flange edge, needed to dimension the flange width.
|
FlangeBuilder.WidthTypeOptions |
widthType()
Returns the width type for flange.
|
getApplicationContext, setApplicationContext
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
Edge edge() throws NXException, RemoteException
NXException
RemoteException
void setEdge(Edge edge) throws NXException, RemoteException
edge
- The flange is created on this edge.NXException
RemoteException
BendOptions bendOptions() throws NXException, RemoteException
NXException
RemoteException
FlangeBuilder.OffsetTypeOptions offsetType() throws NXException, RemoteException
NXException
RemoteException
void setOffsetType(FlangeBuilder.OffsetTypeOptions offsetType) throws NXException, RemoteException
offsetType
- The flange can be offset inside or outside.NXException
RemoteException
Expression offset() throws NXException, RemoteException
NXException
RemoteException
void setOffset(String offset) throws NXException, RemoteException
Expression.setRightHandSide(java.lang.String)
on the Expression
object returned from offset()
instead.
offset
- The flange offset value
NXException
RemoteException
Expression length() throws NXException, RemoteException
NXException
RemoteException
void setLength(String length) throws NXException, RemoteException
Expression.setRightHandSide(java.lang.String)
on the Expression
object returned from length()
instead.
length
- NXException
RemoteException
FlangeBuilder.LengthTypeOptions lengthType() throws NXException, RemoteException
FlangeBuilder.LengthTypeOptions.INSIDE_DIMENSION
or
if the flange length is specifed from the other edge use value FlangeBuilder.LengthTypeOptions.OUTSIDE_DIMENSION
.
FlangeBuilder.LengthTypeOptions.INSIDE_DIMENSION
or
if the flange length is specifed from the outer mold line use value FlangeBuilder.LengthTypeOptions.OUTSIDE_DIMENSION
or
if the flange length is specifed from the bend tangent line use value FlangeBuilder.LengthTypeOptions.WEB_DIMENSION
.
NXException
RemoteException
void setLengthType(FlangeBuilder.LengthTypeOptions lengthType) throws NXException, RemoteException
FlangeBuilder.LengthTypeOptions.INSIDE_DIMENSION
or
if the flange length is specifed from the other edge use value FlangeBuilder.LengthTypeOptions.OUTSIDE_DIMENSION
.
FlangeBuilder.LengthTypeOptions.INSIDE_DIMENSION
or
if the flange length is specifed from the outer mold line use value FlangeBuilder.LengthTypeOptions.OUTSIDE_DIMENSION
or
if the flange length is specifed from the bend tangent line use value FlangeBuilder.LengthTypeOptions.WEB_DIMENSION
.
lengthType
- NXException
RemoteException
FlangeBuilder.InsetTypeOptions insetType() throws NXException, RemoteException
NXException
RemoteException
void setInsetType(FlangeBuilder.InsetTypeOptions insetType) throws NXException, RemoteException
insetType
- NXException
RemoteException
FlangeBuilder.WidthTypeOptions widthType() throws NXException, RemoteException
FlangeBuilder.WidthTypeOptions
. Depending on which of the
values from the enum is used, none, either or both of the distance values from
firstDistance()
and
secondDistance()
may be used. Here is a description of the distances:
If the value is FlangeBuilder.WidthTypeOptions.FULL_EDGE
,
then both the firstDistance()
and secondDistance()
values are unused.
If the value is FlangeBuilder.WidthTypeOptions.CENTER_OF_EDGE
,
then both the firstDistance()
and secondDistance()
represent exactly half the width of the flange.
If the value is FlangeBuilder.WidthTypeOptions.AT_EDGE_END
,
then firstDistance()
represents the width of the flange, starting from the end of the edge specified by the
vertex()
and
the secondDistance()
is not used.
If the value is FlangeBuilder.WidthTypeOptions.FROM_EDGE_END
,
then firstDistance()
represents the distance of the start point of the flange from the end of the edge specified by
vertex()
and secondDistance()
represents the width of the flange.
If the value is FlangeBuilder.WidthTypeOptions.FROM_BOTH_ENDS
,
then firstDistance()
represents the distance of the start point of the flange from the from the end of the edge specified by
vertex()
and secondDistance()
represents the distance of the end point of the flange from end of the edge opposite to the end
specified by vertex()
.
The value FlangeBuilder.WidthTypeOptions.CUSTOM
, cannot be set by the user. It is set internally if the
sketch for the flange has been edited after creation. In this case, the expressions
firstDistance()
and secondDistance()
may or may not retain their original meaning when the flange was first created,
so the user should not rely on these any more to mean anything specific.
NXException
RemoteException
void setWidthType(FlangeBuilder.WidthTypeOptions widthType) throws NXException, RemoteException
FlangeBuilder.WidthTypeOptions
. Depending on which of the
values from the enum is used, none, either or both of the distance values from
firstDistance()
and
secondDistance()
may be used. Here is a description of the distances:
If the value is FlangeBuilder.WidthTypeOptions.FULL_EDGE
,
then both the firstDistance()
and secondDistance()
values are unused.
If the value is FlangeBuilder.WidthTypeOptions.CENTER_OF_EDGE
,
then both the firstDistance()
and secondDistance()
represent exactly half the width of the flange.
If the value is FlangeBuilder.WidthTypeOptions.AT_EDGE_END
,
then firstDistance()
represents the width of the flange, starting from the end of the edge specified by the
vertex()
and
the secondDistance()
is not used.
If the value is FlangeBuilder.WidthTypeOptions.FROM_EDGE_END
,
then firstDistance()
represents the distance of the start point of the flange from the end of the edge specified by
vertex()
and secondDistance()
represents the width of the flange.
If the value is FlangeBuilder.WidthTypeOptions.FROM_BOTH_ENDS
,
then firstDistance()
represents the distance of the start point of the flange from the from the end of the edge specified by
vertex()
and secondDistance()
represents the distance of the end point of the flange from end of the edge opposite to the end
specified by vertex()
.
The value FlangeBuilder.WidthTypeOptions.CUSTOM
, cannot be set by the user. It is set internally if the
sketch for the flange has been edited after creation. In this case, the expressions
firstDistance()
and secondDistance()
may or may not retain their original meaning when the flange was first created,
so the user should not rely on these any more to mean anything specific.
widthType
- NXException
RemoteException
Expression firstDistance() throws NXException, RemoteException
widthType()
.
widthType()
and setWidthType(nxopen.features.sheetmetal.FlangeBuilder.WidthTypeOptions)
for a detailed desctiption of what this distance stands for.
NXException
RemoteException
void setFirstDistance(String firstDistance) throws NXException, RemoteException
Expression.setRightHandSide(java.lang.String)
on the Expression
object returned from firstDistance()
instead.
firstDistance
- NXException
RemoteException
Expression secondDistance() throws NXException, RemoteException
widthType()
.
widthType()
and setWidthType(nxopen.features.sheetmetal.FlangeBuilder.WidthTypeOptions)
for a detailed desctiption of what this distance stands for.
NXException
RemoteException
void setSecondDistance(String secondDistance) throws NXException, RemoteException
Expression.setRightHandSide(java.lang.String)
on the Expression
object returned from secondDistance()
instead.
secondDistance
- NXException
RemoteException
Point3d vertex() throws NXException, RemoteException
widthType()
is
set to one of FlangeBuilder.WidthTypeOptions.AT_EDGE_END
,
FlangeBuilder.WidthTypeOptions.FROM_EDGE_END
. In case of
FlangeBuilder.WidthTypeOptions.FROM_BOTH_ENDS
, the start vertex of the edge
is assumed to be the start point for firstDistance()
.
NXException
RemoteException
void setVertex(Point3d vertex) throws NXException, RemoteException
widthType()
is
set to one of FlangeBuilder.WidthTypeOptions.AT_EDGE_END
,
FlangeBuilder.WidthTypeOptions.FROM_EDGE_END
. In case of
FlangeBuilder.WidthTypeOptions.FROM_BOTH_ENDS
, the start vertex of the edge
is assumed to be the start point for firstDistance()
.
vertex
- A vertex on the flange edge.NXException
RemoteException
Expression bendAngle() throws NXException, RemoteException
NXException
RemoteException
void setBendAngle(String bendAngle) throws NXException, RemoteException
Expression.setRightHandSide(java.lang.String)
on the Expression
object returned from bendAngle()
instead.
bendAngle
- NXException
RemoteException
int validateBuilderData() throws NXException, RemoteException
NXException
RemoteException
Sketch getSketch() throws NXException, RemoteException
NXException
RemoteException
void editSketch() throws NXException, RemoteException
NXException
RemoteException
void deleteSketch() throws NXException, RemoteException
NXException
RemoteException
Plane matchPlane() throws NXException, RemoteException
NXException
RemoteException
void setMatchPlane(Plane matchPlane) throws NXException, RemoteException
matchPlane
- NXException
RemoteException
FlangeBuilder.MatchFaceOptions matchFaceOption() throws NXException, RemoteException
NXException
RemoteException
void setMatchFaceOption(FlangeBuilder.MatchFaceOptions matchFaceOption) throws NXException, RemoteException
matchFaceOption
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.