public interface DatumAxisBuilder extends DatumBuilder
FeatureCollection.createDatumAxisBuilder(Feature)
Modifier and Type | Interface and Description |
---|---|
static class |
DatumAxisBuilder.AlternateSolution
Specifies the alternate solution for datum axis using point on curve method only
|
static class |
DatumAxisBuilder.ConstraintType
Specifies different constraint types for selected geometries
|
static class |
DatumAxisBuilder.CurveOption
Specifies the distance on the curve as absolute distance or relative distance as percentage
|
static class |
DatumAxisBuilder.CurveOrientations
Available orientations that the user can choose when the Datum Axis type is On Curve Vector
|
static class |
DatumAxisBuilder.DirectionOrientations
Two available direction orientations that the user can choose when the Datum Axis type is Point and Direction
|
static class |
DatumAxisBuilder.FixedType
Specifies the fixed type datum axis going thru only one specific axis or thru all axes.
|
static class |
DatumAxisBuilder.Types
New Datum Axis types in NX5
|
static class |
DatumAxisBuilder.UseArcLength
Specifies points for which arclength is to be used.
|
Modifier and Type | Method and Description |
---|---|
DatumAxisBuilder.AlternateSolution |
alternateSolutionType()
Returns the alternate solution type.
|
OnPathDimensionBuilder |
arcLength()
Returns the arc length.
|
SelectICurve |
curve()
Returns the curve or edge.
|
SelectNXObject |
curveOrFace()
Returns the curve or face .
|
DatumAxisBuilder.CurveOrientations |
curveOrientation()
Returns the orientation of vector on a curve.
|
DatumAxisBuilder.DirectionOrientations |
directionOrientation()
Returns the direction orientation.
|
void |
evaluatePath(Section section)
Evaluate the path.
|
boolean |
isAssociative()
Returns the associativity.
|
boolean |
isAxisReversed()
Returns the datum axis direction.
|
SelectNXObject |
object1()
Returns the first object (i.e. a planar face or datum plane).
|
SelectNXObject |
object2()
Returns the second object (i.e. a planar face or datum plane).
|
SelectNXObjectList |
objects()
Returns the objects to define Datum Axis.
|
SelectNXObject |
orientationObject()
Returns the orientation object.
|
Point |
point()
Returns the point.
|
Point |
point1()
Returns the first point.
|
Point |
point2()
Returns the second point.
|
double |
resizedEndDistance()
Returns the resized distance for the end point.
|
boolean |
reverseDirection()
Returns
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
Section |
section()
Returns the section.
|
void |
setAlternateSolutionType(DatumAxisBuilder.AlternateSolution alternateSolutionType)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setAssociative(boolean isAssociative)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setAxisReversed(boolean isAxisReversed)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setCurveOrientation(DatumAxisBuilder.CurveOrientations curveOrientation)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setDirectionOrientation(DatumAxisBuilder.DirectionOrientations directionOrientation)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setFixedDatumAxis(DatumAxisBuilder.FixedType type)
Sets type of fixed datum axis
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setGeometryAndConstraints(DisplayableObject geometry1,
DatumAxisBuilder.ConstraintType geometryConstraintType1,
int constraintAttribute1,
double constraintValue1,
String constraint1,
DisplayableObject geometry2,
DatumAxisBuilder.ConstraintType geometryConstraintType2,
int constraintAttribute2,
double constraintValue2,
String constraint2,
Sense direction)
Sets two different geometric objects.
|
void |
setPoint(Point point)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPoint1(Point point1)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPoint2(Point point2)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPointAndDirection(Point point,
nxopen.Direction direction)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPointOnCurve(double arcLength,
String constraint,
DatumAxisBuilder.AlternateSolution alternateSolution,
DatumAxisBuilder.CurveOption option,
ICurve curve)
Sets curve or edge and arc length
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPointOnCurve(double arcLength,
String constraint,
DatumAxisBuilder.CurveOption option,
DisplayableObject secondGeometry,
ICurve curve)
Sets Curve or Edge object and arc length with an extra geometry in picture
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setPointOnCurve(double arcLength,
String constraint,
DatumAxisBuilder.CurveOption option,
ICurve curve,
DisplayableObject secondGeometry)
Sets Curve or Edge object and arc length with an extra geometry in picture
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setResizedEndDistance(double resizedEndDistance)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setReverseDirection(boolean reverseDirection)
Sets
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setTwoPoints(Point point1,
Point point2,
DatumAxisBuilder.UseArcLength useArcLength)
Sets two points
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setType(DatumAxisBuilder.Types type)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
void |
setVector(nxopen.Direction vector)
License requirements: solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT") . |
DatumAxisBuilder.Types |
type()
Returns the Datum Axis type
License requirements: None. |
nxopen.Direction |
vector()
Returns the vector.
|
createConstraint, getConstraints, setConstraints
boolean reverseDirection() throws NXException, RemoteException
NXException
RemoteException
void setReverseDirection(boolean reverseDirection) throws NXException, RemoteException
reverseDirection
- NXException
RemoteException
void setPointAndDirection(Point point, nxopen.Direction direction) throws NXException, RemoteException
point
- direction
- NXException
RemoteException
void setTwoPoints(Point point1, Point point2, DatumAxisBuilder.UseArcLength useArcLength) throws NXException, RemoteException
point1
- point2
- useArcLength
- Specify points which use arclength instead of percentage of arclengthNXException
RemoteException
void setPointOnCurve(double arcLength, String constraint, DatumAxisBuilder.AlternateSolution alternateSolution, DatumAxisBuilder.CurveOption option, ICurve curve) throws NXException, RemoteException
arcLength
- Arc lengthconstraint
- Constraint expression. Usually same as arc_length alternateSolution
- Alternate solutionoption
- Absolute distance or relative distancecurve
- Curve or Edge objectNXException
RemoteException
void setPointOnCurve(double arcLength, String constraint, DatumAxisBuilder.CurveOption option, ICurve curve, DisplayableObject secondGeometry) throws NXException, RemoteException
arcLength
- Arc lengthconstraint
- Constraint expression. Usually same as arc_length option
- Absolute distance or relative distancecurve
- Curve or Edge objectsecondGeometry
- Second geometric objectNXException
RemoteException
void setPointOnCurve(double arcLength, String constraint, DatumAxisBuilder.CurveOption option, DisplayableObject secondGeometry, ICurve curve) throws NXException, RemoteException
arcLength
- Arc lengthconstraint
- Constraint expression. Usually same as arc_length option
- Absolute distance or relative distancesecondGeometry
- Second Geometric objectcurve
- Curve or Edge objectNXException
RemoteException
void setGeometryAndConstraints(DisplayableObject geometry1, DatumAxisBuilder.ConstraintType geometryConstraintType1, int constraintAttribute1, double constraintValue1, String constraint1, DisplayableObject geometry2, DatumAxisBuilder.ConstraintType geometryConstraintType2, int constraintAttribute2, double constraintValue2, String constraint2, Sense direction) throws NXException, RemoteException
geometry1
- First geometric objectgeometryConstraintType1
- Constraint type of first geometryconstraintAttribute1
- Constraint attribute value of first geometry VRH alternate_solution_only - only for point on curveconstraintValue1
- Constraint value parameter of first geometryconstraint1
- Constraint attached with first geometric object.
Set to "0.0" in case value is not specified geometry2
- Second geometric objectgeometryConstraintType2
- Constraint type of second geometryconstraintAttribute2
- Constraint attribute value of second geometryconstraintValue2
- Constraint value parameter of second geometryconstraint2
- Constraint attached with second geometric object.
Set to "0.0" in case value is not specified direction
- Flag to specify datum axis directionNXException
RemoteException
void setFixedDatumAxis(DatumAxisBuilder.FixedType type) throws NXException, RemoteException
type
- Indicates fixed datum axis typeNXException
RemoteException
DatumAxisBuilder.Types type() throws NXException, RemoteException
NXException
RemoteException
void setType(DatumAxisBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
SelectNXObjectList objects() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#INFERRED
NXException
RemoteException
SelectICurve curve() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
Section section() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
void evaluatePath(Section section) throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
section
- NXException
RemoteException
Point point() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#POINT_AND_DIR
NXException
RemoteException
void setPoint(Point point) throws NXException, RemoteException
point
- NXException
RemoteException
Point point1() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#TWO_POINTS
NXException
RemoteException
void setPoint1(Point point1) throws NXException, RemoteException
point1
- NXException
RemoteException
Point point2() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#TWO_POINTS
NXException
RemoteException
void setPoint2(Point point2) throws NXException, RemoteException
point2
- NXException
RemoteException
SelectNXObject object1() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#INTERSECTION
NXException
RemoteException
SelectNXObject object2() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#INTERSECTION
NXException
RemoteException
SelectNXObject curveOrFace() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#CURVE_OR_FACE_AXIS
NXException
RemoteException
DatumAxisBuilder.DirectionOrientations directionOrientation() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#POINT_AND_DIR
NXException
RemoteException
void setDirectionOrientation(DatumAxisBuilder.DirectionOrientations directionOrientation) throws NXException, RemoteException
directionOrientation
- NXException
RemoteException
nxopen.Direction vector() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#POINT_AND_DIR
NXException
RemoteException
void setVector(nxopen.Direction vector) throws NXException, RemoteException
vector
- NXException
RemoteException
OnPathDimensionBuilder arcLength() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
DatumAxisBuilder.CurveOrientations curveOrientation() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
void setCurveOrientation(DatumAxisBuilder.CurveOrientations curveOrientation) throws NXException, RemoteException
curveOrientation
- NXException
RemoteException
DatumAxisBuilder.AlternateSolution alternateSolutionType() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
void setAlternateSolutionType(DatumAxisBuilder.AlternateSolution alternateSolutionType) throws NXException, RemoteException
alternateSolutionType
- NXException
RemoteException
SelectNXObject orientationObject() throws NXException, RemoteException
Features.DatumAxisBuilder.Types#ON_CURVE_VECTOR
NXException
RemoteException
boolean isAxisReversed() throws NXException, RemoteException
NXException
RemoteException
void setAxisReversed(boolean isAxisReversed) throws NXException, RemoteException
isAxisReversed
- NXException
RemoteException
boolean isAssociative() throws NXException, RemoteException
NXException
RemoteException
void setAssociative(boolean isAssociative) throws NXException, RemoteException
isAssociative
- NXException
RemoteException
double resizedEndDistance() throws NXException, RemoteException
NXException
RemoteException
void setResizedEndDistance(double resizedEndDistance) throws NXException, RemoteException
resizedEndDistance
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.