NX Open C++ Reference Guide
|
Represents a datum plane feature builder. More...
Public Types | |
enum | AlternateSolution { AlternateSolutionTangent, AlternateSolutionNormal, AlternateSolutionBinormal, AlternateSolutionOppositeTangent, AlternateSolutionOppositeNormal, AlternateSolutionOppositeBinormal, AlternateSolutionProject, AlternateSolutionProjectView } |
Specifies the alternate solution for a datum plane using point on curve method. More... | |
enum | ConstraintType { ConstraintTypeUndefined, ConstraintTypeCoincident, ConstraintTypeParallel, ConstraintTypePerpendicular, ConstraintTypeCenter, ConstraintTypeTangent, ConstraintTypeDistance, ConstraintTypeAngle, ConstraintTypeFrenet } |
Specifies different constraint types of selected geometries. More... | |
enum | CurveOption { CurveOptionDistance, CurveOptionPercent } |
Specifies the distance on the curve as absolute distance or relative distance as percentage. More... | |
enum | FixedType { FixedTypeAll, FixedTypeXy, FixedTypeYz, FixedTypeZx } |
Specifies the fixed type datum plane going thru only one specific plane or thru all planes. More... | |
enum | UseArcLength { UseArcLengthNoPoint, UseArcLengthFirstPoint, UseArcLengthSecondPoint, UseArcLengthThirdPoint, UseArcLengthFirstAndSecondPoint, UseArcLengthFirstAndThirdPoint, UseArcLengthSecondAndThirdPoint, UseArcLengthAllPoints } |
Specifies points for which arclength is to be used. More... | |
Public Member Functions | |
NXOpen::DatumPlane * | GetDatum () |
The datum display object this is the feature output. | |
NXOpen::Plane * | GetPlane () |
The plane is use to create the feature. | |
bool | ResizeDuringUpdate () |
Returns the resize during update Created in NX8.0.0. | |
void | SetCornerPoints (const NXOpen::Point3d &corner1, const NXOpen::Point3d &corner2, const NXOpen::Point3d &corner3, const NXOpen::Point3d &corner4) |
Sets corner points to builder Created in NX7.5.0. | |
void | SetFaceAndOffset (NXOpen::Face *face, double offsetValue, const NXString &expression) |
Sets one face object and offset Created in NX3.0.0. | |
void | SetFixedDatumPlane (NXOpen::Features::DatumPlaneBuilder::FixedType type) |
Sets type of fixed datum plane. | |
void | SetGeometryAndConstraints (NXOpen::DisplayableObject *geometry1, NXOpen::Features::DatumPlaneBuilder::ConstraintType geometryConstraintType1, int constraintAttribute1, double constraintValue1, const NXString &constraint1, NXOpen::DisplayableObject *geometry2, NXOpen::Features::DatumPlaneBuilder::ConstraintType geometryConstraintType2, int constraintAttribute2, double constraintValue2, const NXString &constraint2) |
Sets two different geometric objects. | |
void | SetPointAndDirection (NXOpen::Point *point, NXOpen::Direction *direction) |
Sets point and direction Created in NX3.0.0. | |
void | SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumPlaneBuilder::AlternateSolution alternateSolution, NXOpen::Features::DatumPlaneBuilder::CurveOption option, NXOpen::ICurve *curve) |
Sets curve or edge and arc length Created in NX3.0.0. | |
void | SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumPlaneBuilder::AlternateSolution alternateSolution, NXOpen::Features::DatumPlaneBuilder::CurveOption option, NXOpen::ICurve *curve, NXOpen::Direction *direction) |
Sets curve or edge and arc length Created in NX3.0.0. | |
void | SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumPlaneBuilder::CurveOption option, NXOpen::ICurve *curve, NXOpen::DisplayableObject *secondGeometry) |
Sets curve or edge object and arc length with other geometry selected. | |
void | SetResizeDuringUpdate (bool resize) |
Sets the resize during update Created in NX8.0.0. | |
void | SetThreePoints (NXOpen::Point *point1, NXOpen::Point *point2, NXOpen::Point *point3, NXOpen::Features::DatumPlaneBuilder::UseArcLength useArcLength) |
Sets three different points. | |
NXOpen::Features::Feature * | UpdateFeature () |
Update the feature if the feature does not exist then create it. |
Represents a datum plane feature builder.
Provides methods to create datum planes thru three points, point and direction and point on curve
To create a new instance of this class, use Features::FeatureCollection::CreateDatumPlaneBuilder
Created in NX3.0.0.
Specifies the alternate solution for a datum plane using point on curve method.
Specifies different constraint types of selected geometries.
ConstraintTypeUndefined |
Not defined. |
ConstraintTypeCoincident |
Coincident constraint. |
ConstraintTypeParallel |
Parallel constraint. |
ConstraintTypePerpendicular |
Perpendicular constraint. |
ConstraintTypeCenter |
Center constraint. |
ConstraintTypeTangent |
Tangent constraint. |
ConstraintTypeDistance |
Distance constraint. |
ConstraintTypeAngle |
Angle constraint. |
ConstraintTypeFrenet |
Frenet constraint. |
Specifies points for which arclength is to be used.
Percentage of arclength is used for points for which arclength option is not selected. Specified for creation of datum plane using thru three points method.
The datum display object this is the feature output.
The plane is use to create the feature.
Returns the resize during update
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::DatumPlaneBuilder::SetCornerPoints | ( | const NXOpen::Point3d & | corner1, |
const NXOpen::Point3d & | corner2, | ||
const NXOpen::Point3d & | corner3, | ||
const NXOpen::Point3d & | corner4 | ||
) |
Sets corner points to builder
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
corner1 | corner1 |
corner2 | corner2 |
corner3 | corner3 |
corner4 | corner4 |
void NXOpen::Features::DatumPlaneBuilder::SetFaceAndOffset | ( | NXOpen::Face * | face, |
double | offsetValue, | ||
const NXString & | expression | ||
) |
void NXOpen::Features::DatumPlaneBuilder::SetFixedDatumPlane | ( | NXOpen::Features::DatumPlaneBuilder::FixedType | type | ) |
Sets type of fixed datum plane.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | Indicates fixed datum plane type |
void NXOpen::Features::DatumPlaneBuilder::SetGeometryAndConstraints | ( | NXOpen::DisplayableObject * | geometry1, |
NXOpen::Features::DatumPlaneBuilder::ConstraintType | geometryConstraintType1, | ||
int | constraintAttribute1, | ||
double | constraintValue1, | ||
const NXString & | constraint1, | ||
NXOpen::DisplayableObject * | geometry2, | ||
NXOpen::Features::DatumPlaneBuilder::ConstraintType | geometryConstraintType2, | ||
int | constraintAttribute2, | ||
double | constraintValue2, | ||
const NXString & | constraint2 | ||
) |
Sets two different geometric objects.
Possible combinations are:
If first constrain is Through Curve, then the second contraint can be:
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
geometry1 | First geometric object |
geometryConstraintType1 | Constraint type of first geometry |
constraintAttribute1 | Constraint attribute value of first geometry |
constraintValue1 | Constraint value parameter of first geometry |
constraint1 | Constraint attached with first geometric object. Set to "0.0" in case value is not specified NOTE: The full Unicode character set is not supported for this parameter. |
geometry2 | Second geometric object |
geometryConstraintType2 | Constraint type of first geometry |
constraintAttribute2 | Constraint attribute value of second geometry |
constraintValue2 | Constraint value parameter of second geometry |
constraint2 | Constraint attached with second geometric object. Set to "0.0" in case value is not specified NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::DatumPlaneBuilder::SetPointAndDirection | ( | NXOpen::Point * | point, |
NXOpen::Direction * | direction | ||
) |
void NXOpen::Features::DatumPlaneBuilder::SetPointOnCurve | ( | double | arcLength, |
const NXString & | constraint, | ||
NXOpen::Features::DatumPlaneBuilder::AlternateSolution | alternateSolution, | ||
NXOpen::Features::DatumPlaneBuilder::CurveOption | option, | ||
NXOpen::ICurve * | curve | ||
) |
Sets curve or edge and arc length
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
arcLength | Arc length |
constraint | Constraint expression. Usually same as arc_length NOTE: The full Unicode character set is not supported for this parameter. |
alternateSolution | Alternate solution |
option | Absolute distance or relative distance |
curve | curve or edge |
void NXOpen::Features::DatumPlaneBuilder::SetPointOnCurve | ( | double | arcLength, |
const NXString & | constraint, | ||
NXOpen::Features::DatumPlaneBuilder::AlternateSolution | alternateSolution, | ||
NXOpen::Features::DatumPlaneBuilder::CurveOption | option, | ||
NXOpen::ICurve * | curve, | ||
NXOpen::Direction * | direction | ||
) |
Sets curve or edge and arc length
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::DatumPlaneBuilder::SetPointOnCurve | ( | double | arcLength, |
const NXString & | constraint, | ||
NXOpen::Features::DatumPlaneBuilder::CurveOption | option, | ||
NXOpen::ICurve * | curve, | ||
NXOpen::DisplayableObject * | secondGeometry | ||
) |
Sets curve or edge object and arc length with other geometry selected.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
arcLength | Arc length |
constraint | Constraint expression. Usually same as arc_length NOTE: The full Unicode character set is not supported for this parameter. |
option | Whether the absolute distance has been selected or relative |
curve | Curve or Edge object already created |
secondGeometry | Second geometric object |
void NXOpen::Features::DatumPlaneBuilder::SetResizeDuringUpdate | ( | bool | resize | ) |
Sets the resize during update
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
resize | resize during update |
void NXOpen::Features::DatumPlaneBuilder::SetThreePoints | ( | NXOpen::Point * | point1, |
NXOpen::Point * | point2, | ||
NXOpen::Point * | point3, | ||
NXOpen::Features::DatumPlaneBuilder::UseArcLength | useArcLength | ||
) |
Sets three different points.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
point1 | First point |
point2 | Second point |
point3 | Third point |
useArcLength | Specify points which use arclength instead of percentage of arclength |
Update the feature if the feature does not exist then create it.