NX Open C++ Reference Guide
|
Used to create or edit a Weld::WeldJoint feature. More...
Public Types | |
enum | DestinationTypes { DestinationTypesWorkPart, DestinationTypesNewComponent } |
Where to create new joints. More... | |
enum | SplitTypes { SplitTypesEqualSegments, SplitTypesLimits, SplitTypesAngle, SplitTypesComputedAngle, SplitTypesLength } |
Joint splitting options. More... | |
enum | Types { TypesCreateAutomatic, TypesCreateManual, TypesCreateMultiple, TypesCreateAttributes } |
Creation method. More... | |
enum | WeldTypes { WeldTypesAny, WeldTypesGroove, WeldTypesFillet } |
Weld types. More... | |
Public Member Functions | |
int | ButtColor () |
Returns the color for butt weld type joints Created in NX8.0.0. | |
NXOpen::DisplayableObject::ObjectFont | ButtFont () |
Returns the curve font for butt weld type joints Created in NX8.0.0. | |
NXOpen::DisplayableObject::ObjectWidth | ButtWidth () |
Returns the curve with for butt weld type joints Created in NX8.0.0. | |
NXOpen::Curve * | CreateLimitsPath (NXOpen::Curve *jointCurve) |
Creates the path to be used for the limits. | |
NXOpen::Weld::WeldJointBuilder::Types | CreateMethod () |
Returns the creation method Created in NX8.0.0. | |
void | CreateSingleJointFromFeature (NXOpen::Curve *featureCurve, bool updateBuilder) |
Creates a joint from a feature. | |
void | Delete () |
Deletes all joints set by Weld::WeldJointBuilder::Joint . | |
NXOpen::Weld::WeldJointBuilder::DestinationTypes | Destination () |
Returns the destination to create new joints Created in NX8.0.0. | |
bool | DuplicateCheck () |
Returns the indication to not allow new joints to be created if they are duplicates of exising joints Created in NX8.0.0. | |
int | FilletColor () |
Returns the color for fillet weld type joints Created in NX8.0.0. | |
NXOpen::DisplayableObject::ObjectFont | FilletFont () |
Returns the curve font for fillet weld type joints Created in NX8.0.0. | |
NXOpen::DisplayableObject::ObjectWidth | FilletWidth () |
Returns the curve with for fillet weld type joints Created in NX8.0.0. | |
double | GetAngleBetween () |
Gets the angle between the fillet weld mold faces, and the target faces, or butt weld primary and secondary faces. | |
bool | GetIsLongPoint () |
Gets the long point status. | |
bool | GetJointChanged (NXOpen::Curve *curve) |
Indicates whether joint was changed. | |
NXOpen::Die::DieLimitsBuilder * | GetJointLimits (NXOpen::Curve *curve) |
Get the limits of an individual joint. | |
void | GetNewlyCreatedJoints (std::vector< NXOpen::Curve * > &curves, std::vector< NXOpen::Weld::JointItemBuilder * > &newItemBuilder) |
Gets the Weld::JointItemBuilder objects and curves which were just created by Weld::WeldJointBuilder::ShowJoints . | |
double | GetPrimaryThickness (NXOpen::Curve *curve) |
Gets the primary thickness for a specified joint. | |
double | GetSecondaryThickness (NXOpen::Curve *curve) |
Gets the primary secondary for a specified joint. | |
NXOpen::Weld::JointItemBuilder * | GetSingleJoint (NXOpen::Curve *curve) |
Gets the Weld::JointItemBuilder object associated to the input curve. | |
NXOpen::SelectCurveList * | Joint () |
Returns the welding joint curves. | |
NXOpen::Weld::JointItemBuilderList * | JointList () |
Returns the list of joints. | |
NXOpen::Die::DieLimitsBuilderList * | LimitList () |
Returns the list of limit builders. | |
NXOpen::Die::DieLimitsBuilder * | Limits () |
Returns the limits of the joint curve span. | |
NXOpen::ScCollector * | MasterEdge () |
Returns the master edge of a fillet weld. | |
NXOpen::Weld::JointItemBuilder * | NewItem () |
Creates a Weld::JointItemBuilder object. | |
int | NumberSegments () |
Returns the number of segments to divide a joint when using Weld::WeldJointBuilder::SplitTypesEqualSegments . | |
NXOpen::ScCollector * | PlacementFace () |
Returns the placement face of a fillet weld. | |
NXOpen::ScCollector * | PrimaryEdge () |
Returns the primary edge of a butt weld. | |
NXOpen::ScCollector * | PrimaryFace () |
Returns the primary face of a butt weld. | |
NXOpen::ScCollector * | SecondaryEdge () |
Returns the secondary edge of a butt weld. | |
NXOpen::ScCollector * | SecondaryFace () |
Returns the secondary face of a butt weld. | |
void | SetButtColor (int color) |
Sets the color for butt weld type joints Created in NX8.0.0. | |
void | SetButtFont (NXOpen::DisplayableObject::ObjectFont font) |
Sets the curve font for butt weld type joints Created in NX8.0.0. | |
void | SetButtWidth (NXOpen::DisplayableObject::ObjectWidth width) |
Sets the curve with for butt weld type joints Created in NX8.0.0. | |
void | SetCreateMethod (NXOpen::Weld::WeldJointBuilder::Types type) |
Sets the creation method Created in NX8.0.0. | |
void | SetDestination (NXOpen::Weld::WeldJointBuilder::DestinationTypes type) |
Sets the destination to create new joints Created in NX8.0.0. | |
void | SetDuplicateCheck (bool status) |
Sets the indication to not allow new joints to be created if they are duplicates of exising joints Created in NX8.0.0. | |
void | SetFilletColor (int color) |
Sets the color for fillet weld type joints Created in NX8.0.0. | |
void | SetFilletFont (NXOpen::DisplayableObject::ObjectFont font) |
Sets the curve font for fillet weld type joints Created in NX8.0.0. | |
void | SetFilletWidth (NXOpen::DisplayableObject::ObjectWidth width) |
Sets the curve with for fillet weld type joints Created in NX8.0.0. | |
void | SetJointChanged (NXOpen::Curve *curve, bool changed) |
Indicate that joint was changed. | |
void | SetNumberSegments (int numberSegments) |
Sets the number of segments to divide a joint when using Weld::WeldJointBuilder::SplitTypesEqualSegments . | |
void | SetSplitAngle (double angle) |
Sets the split angle to divide a joint when using Weld::WeldJointBuilder::SplitTypesAngle . | |
void | SetSplitLength (double length) |
Sets the split length to divide a joint when using Weld::WeldJointBuilder::SplitTypesLength . | |
void | SetSplitOption (NXOpen::Weld::WeldJointBuilder::SplitTypes option) |
Sets the method used to split the joint Created in NX8.0.0. | |
void | SetType (NXOpen::Weld::WeldJointBuilder::Types type) |
Sets the creation type Created in NX8.0.0. | |
void | SetVariableBevelAngles (const std::vector< double > &variableAngles) |
This method is for use with the variable bevel callback. | |
void | SetWeldType (NXOpen::Weld::WeldJointBuilder::WeldTypes type) |
Sets the weld type Created in NX8.0.0. | |
NXOpen::SelectBodyList * | ShipComponent () |
Returns the components on which the welding joints will be created. | |
void | ShowJoints () |
Show joints will create joints using the method set by Weld::WeldJointBuilder::Types . | |
void | Split () |
Splits all joints set by Weld::WeldJointBuilder::Joint defined by Weld::WeldJointBuilder::SplitTypes . | |
double | SplitAngle () |
Returns the split angle to divide a joint when using Weld::WeldJointBuilder::SplitTypesAngle . | |
double | SplitLength () |
Returns the split length to divide a joint when using Weld::WeldJointBuilder::SplitTypesLength . | |
NXOpen::Weld::WeldJointBuilder::SplitTypes | SplitOption () |
Returns the method used to split the joint Created in NX8.0.0. | |
NXOpen::ScCollector * | TargetFace () |
Returns the target face of a fillet weld. | |
NXOpen::Weld::WeldJointBuilder::Types | Type () |
Returns the creation type Created in NX8.0.0. | |
void | UpdateCollectors (NXOpen::Curve *jointCurve) |
Updates the main collectors by copying data from Joint. | |
void | UpdateJointAfterLimitsChange () |
Updates the joint curve after the limits change. | |
void | UpdateJointAfterLimitsChange (NXOpen::Die::DieLimitsBuilder *limits) |
Updates the joint curve after the limits change. | |
NXOpen::Weld::CharacteristicsBuilder * | WeldingCharacteristics () |
Returns the collection of welding characteristics defined by attributes. | |
NXOpen::Weld::WeldJointBuilder::WeldTypes | WeldType () |
Returns the weld type Created in NX8.0.0. |
Used to create or edit a Weld::WeldJoint feature.
To create a new instance of this class, use Weld::WeldManager::CreateJointBuilder
Default values.
Property | Value |
---|---|
NumberSegments |
2 |
SplitAngle |
5.0 |
Created in NX8.0.0.
Joint splitting options.
SplitTypesEqualSegments |
Specified number of equal segments. |
SplitTypesLimits |
At limits defined by Weld::WeldJointBuilder::LimitList . |
SplitTypesAngle |
At specifed angle. |
SplitTypesComputedAngle |
At angle computed from geometry and tables. |
SplitTypesLength |
At equal arc length. |
Returns the color for butt weld type joints
Created in NX8.0.0.
License requirements : None
Returns the curve font for butt weld type joints
Created in NX8.0.0.
License requirements : None
Returns the curve with for butt weld type joints
Created in NX8.0.0.
License requirements : None
NXOpen::Curve* NXOpen::Weld::WeldJointBuilder::CreateLimitsPath | ( | NXOpen::Curve * | jointCurve | ) |
Creates the path to be used for the limits.
jointCurve | Joint curve used to create path. |
Returns the creation method
Created in NX8.0.0.
License requirements : None
void NXOpen::Weld::WeldJointBuilder::CreateSingleJointFromFeature | ( | NXOpen::Curve * | featureCurve, |
bool | updateBuilder | ||
) |
Creates a joint from a feature.
Created in NX8.0.0.
License requirements : None
featureCurve | Weld Joint feature curve |
updateBuilder | indicates where builder should be updated with information from the feature |
Deletes all joints set by Weld::WeldJointBuilder::Joint .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
Returns the destination to create new joints
Created in NX8.0.0.
License requirements : None
Returns the indication to not allow new joints to be created if they are duplicates of exising joints
Created in NX8.0.0.
License requirements : None
Returns the color for fillet weld type joints
Created in NX8.0.0.
License requirements : None
Returns the curve font for fillet weld type joints
Created in NX8.0.0.
License requirements : None
Returns the curve with for fillet weld type joints
Created in NX8.0.0.
License requirements : None
Gets the angle between the fillet weld mold faces, and the target faces, or butt weld primary and secondary faces.
Gets the long point status.
A long point indicates only trimming and no extension is needed to to meeting the body being welded to.
bool NXOpen::Weld::WeldJointBuilder::GetJointChanged | ( | NXOpen::Curve * | curve | ) |
Indicates whether joint was changed.
curve | Joint curve to check |
NXOpen::Die::DieLimitsBuilder* NXOpen::Weld::WeldJointBuilder::GetJointLimits | ( | NXOpen::Curve * | curve | ) |
Get the limits of an individual joint.
curve | curve |
void NXOpen::Weld::WeldJointBuilder::GetNewlyCreatedJoints | ( | std::vector< NXOpen::Curve * > & | curves, |
std::vector< NXOpen::Weld::JointItemBuilder * > & | newItemBuilder | ||
) |
Gets the Weld::JointItemBuilder objects and curves which were just created by Weld::WeldJointBuilder::ShowJoints .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
curves | curves |
newItemBuilder | newitembuilder |
double NXOpen::Weld::WeldJointBuilder::GetPrimaryThickness | ( | NXOpen::Curve * | curve | ) |
Gets the primary thickness for a specified joint.
curve | curve |
double NXOpen::Weld::WeldJointBuilder::GetSecondaryThickness | ( | NXOpen::Curve * | curve | ) |
Gets the primary secondary for a specified joint.
curve | curve |
NXOpen::Weld::JointItemBuilder* NXOpen::Weld::WeldJointBuilder::GetSingleJoint | ( | NXOpen::Curve * | curve | ) |
Gets the Weld::JointItemBuilder object associated to the input curve.
curve | Joint curve |
Returns the welding joint curves.
Created in NX8.0.0.
License requirements : None
Returns the list of joints.
Created in NX8.0.0.
License requirements : None
Returns the list of limit builders.
Created in NX8.0.0.
License requirements : None
Returns the limits of the joint curve span.
Created in NX8.0.0.
License requirements : None
Returns the master edge of a fillet weld.
Created in NX8.0.0.
License requirements : None
Creates a Weld::JointItemBuilder object.
Returns the number of segments to divide a joint when using Weld::WeldJointBuilder::SplitTypesEqualSegments .
Created in NX8.0.0.
License requirements : None
Returns the placement face of a fillet weld.
For example, on a profile it is the face that touches the plate.
Created in NX8.0.0.
License requirements : None
Returns the primary edge of a butt weld.
Created in NX8.0.0.
License requirements : None
Returns the primary face of a butt weld.
Created in NX8.0.0.
License requirements : None
Returns the secondary edge of a butt weld.
Created in NX8.0.0.
License requirements : None
Returns the secondary face of a butt weld.
Created in NX8.0.0.
License requirements : None
void NXOpen::Weld::WeldJointBuilder::SetButtColor | ( | int | color | ) |
Sets the color for butt weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
color | color |
Sets the curve font for butt weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
font | font |
Sets the curve with for butt weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
width | width |
Sets the creation method
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
type | type |
void NXOpen::Weld::WeldJointBuilder::SetDestination | ( | NXOpen::Weld::WeldJointBuilder::DestinationTypes | type | ) |
Sets the destination to create new joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
type | type |
void NXOpen::Weld::WeldJointBuilder::SetDuplicateCheck | ( | bool | status | ) |
Sets the indication to not allow new joints to be created if they are duplicates of exising joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
status | status |
void NXOpen::Weld::WeldJointBuilder::SetFilletColor | ( | int | color | ) |
Sets the color for fillet weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
color | color |
Sets the curve font for fillet weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
font | font |
Sets the curve with for fillet weld type joints
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
width | width |
void NXOpen::Weld::WeldJointBuilder::SetJointChanged | ( | NXOpen::Curve * | curve, |
bool | changed | ||
) |
Indicate that joint was changed.
Created in NX8.0.0.
License requirements : None
curve | Joint curve to check |
changed | changed |
void NXOpen::Weld::WeldJointBuilder::SetNumberSegments | ( | int | numberSegments | ) |
Sets the number of segments to divide a joint when using Weld::WeldJointBuilder::SplitTypesEqualSegments .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
numberSegments | numbersegments |
void NXOpen::Weld::WeldJointBuilder::SetSplitAngle | ( | double | angle | ) |
Sets the split angle to divide a joint when using Weld::WeldJointBuilder::SplitTypesAngle .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
angle | angle |
void NXOpen::Weld::WeldJointBuilder::SetSplitLength | ( | double | length | ) |
Sets the split length to divide a joint when using Weld::WeldJointBuilder::SplitTypesLength .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
length | length |
void NXOpen::Weld::WeldJointBuilder::SetSplitOption | ( | NXOpen::Weld::WeldJointBuilder::SplitTypes | option | ) |
Sets the method used to split the joint
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
option | option |
Sets the creation type
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
type | type |
void NXOpen::Weld::WeldJointBuilder::SetVariableBevelAngles | ( | const std::vector< double > & | variableAngles | ) |
This method is for use with the variable bevel callback.
Created in NX8.0.0.
License requirements : None
variableAngles | the variable angles. |
Sets the weld type
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
type | type |
Returns the components on which the welding joints will be created.
Used when Weld::WeldJointBuilder::Types . is set to Weld::WeldJointBuilder::TypesCreateAutomatic or Weld::WeldJointBuilder::TypesCreateAttributes After setting the components, Weld::WeldJointBuilder::ShowJoints should be called to create the welding joints.
Created in NX8.0.0.
License requirements : None
Show joints will create joints using the method set by Weld::WeldJointBuilder::Types .
For Weld::WeldJointBuilder::TypesCreateAutomatic and Weld::WeldJointBuilder::TypesCreateAttributes components need to be set using Weld::WeldJointBuilder::ShipComponent . For Weld::WeldJointBuilder::TypesCreateManual , the following need to be set: When Weld::WeldJointBuilder::WeldTypes is Weld::WeldJointBuilder::WeldTypesFillet , the following methods need to be called to set the input data: Weld::WeldJointBuilder::MasterEdge , Weld::WeldJointBuilder::PlacementFace , Weld::WeldJointBuilder::TargetFace . When Weld::WeldJointBuilder::WeldTypes is Weld::WeldJointBuilder::WeldTypesGroove , the following methods need to be called to set the input data: Weld::WeldJointBuilder::PrimaryFace , Weld::WeldJointBuilder::PrimaryEdge , Weld::WeldJointBuilder::SecondaryFace , Weld::WeldJointBuilder::SecondaryEdge .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
Splits all joints set by Weld::WeldJointBuilder::Joint defined by Weld::WeldJointBuilder::SplitTypes .
Created in NX8.0.0.
License requirements : structure_weld ("STRUCTURE WELD")
double NXOpen::Weld::WeldJointBuilder::SplitAngle | ( | ) |
Returns the split angle to divide a joint when using Weld::WeldJointBuilder::SplitTypesAngle .
Created in NX8.0.0.
License requirements : None
double NXOpen::Weld::WeldJointBuilder::SplitLength | ( | ) |
Returns the split length to divide a joint when using Weld::WeldJointBuilder::SplitTypesLength .
Created in NX8.0.0.
License requirements : None
Returns the method used to split the joint
Created in NX8.0.0.
License requirements : None
Returns the target face of a fillet weld.
For example, the plate face that the profile lies on.
Created in NX8.0.0.
License requirements : None
Returns the creation type
Created in NX8.0.0.
License requirements : None
void NXOpen::Weld::WeldJointBuilder::UpdateCollectors | ( | NXOpen::Curve * | jointCurve | ) |
Updates the main collectors by copying data from Joint.
Created in NX8.0.0.
License requirements : None
jointCurve | Joint curve to use to update collectors |
Updates the joint curve after the limits change.
Created in NX8.0.0.
License requirements : None
void NXOpen::Weld::WeldJointBuilder::UpdateJointAfterLimitsChange | ( | NXOpen::Die::DieLimitsBuilder * | limits | ) |
Updates the joint curve after the limits change.
Created in NX8.0.0.
License requirements : None
limits | limits that changed |
Returns the collection of welding characteristics defined by attributes.
Created in NX8.0.0.
License requirements : None
Returns the weld type
Created in NX8.0.0.
License requirements : None