NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Weld::JointmarkGuideBuilder Class Reference

Used to create or edit a guide curve for Jointmark. More...

Inheritance diagram for NXOpen::Weld::JointmarkGuideBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Location { LocationCenterLine, LocationOffsetFromEdge, LocationExistingCurve }
 The type of guide curve. More...
 
enum  SpaceMethod { SpaceMethodArcLength, SpaceMethodParallelXPlane, SpaceMethodParallelYPlane, SpaceMethodParallelZPlane }
 Options for Spacing Method. More...
 
enum  SpaceOption { SpaceOptionDistance, SpaceOptionNumber, SpaceOptionMinimumDistance }
 Spacing Option. More...
 

Public Member Functions

void CreateGuideCurves ()
 Creates the guide curves. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderEndDistance ()
 Returns the end distance. More...
 
bool ExtendOffset ()
 Returns the extend offset. More...
 
void GetGuideCurves (std::vector< NXOpen::ICurve * > &guideCurves, std::vector< NXOpen::NXObject * > &instanceGuideCurves)
 Gets the created curves curves. More...
 
NXOpen::SectionGuideCurve ()
 Returns the guide curve. More...
 
NXOpen::Weld::JointmarkGuideBuilder::Location LocationOption ()
 Returns the location option. More...
 
int NumberOfPoints ()
 Returns the number to determine the points along the guide curve. More...
 
NXOpen::ExpressionOffsetDistance ()
 Returns the offset distance. More...
 
void RediscoverGuideEnds ()
 Use the specified reuse features to set the start and end distance for the guide curve. More...
 
bool ReverseDirection ()
 Returns the reversal status of Guide Curve direction. More...
 
NXOpen::SectionSection1 ()
 Returns the first section used in Centerline. More...
 
NXOpen::SectionSection2 ()
 Returns the second section used in Centerline. More...
 
NXOpen::SectionSection3 ()
 Returns the third section used in Offset from Edge. More...
 
NXOpen::SectionSection4 ()
 Returns the fourth section used in Existing Curve. More...
 
void SetExtendOffset (bool extendOffset)
 Sets the extend offset. More...
 
void SetGuideCurve (NXOpen::Section *guide)
 Sets the guide curve. More...
 
void SetLocationOption (NXOpen::Weld::JointmarkGuideBuilder::Location locationOption)
 Sets the location option. More...
 
void SetNumberOfPoints (int number)
 Sets the number to determine the points along the guide curve. More...
 
void SetReverseDirection (bool reverse)
 Sets the reversal status of Guide Curve direction. More...
 
void SetSpacingMethod (NXOpen::Weld::JointmarkGuideBuilder::SpaceMethod spacingMethod)
 Sets the spacing method. More...
 
void SetSpacingOption (NXOpen::Weld::JointmarkGuideBuilder::SpaceOption spacingOption)
 Sets the spacing option. More...
 
NXOpen::ExpressionSpacing ()
 Returns the spacing to determine the points along the guide curve. More...
 
NXOpen::Weld::JointmarkGuideBuilder::SpaceMethod SpacingMethod ()
 Returns the spacing method. More...
 
NXOpen::Weld::JointmarkGuideBuilder::SpaceOption SpacingOption ()
 Returns the spacing option. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderStartDistance ()
 Returns the start distance. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Used to create or edit a guide curve for Jointmark.


To create a new instance of this class, use NXOpen::Weld::JointmarkBuilder::NewGuide

Created in NX9.0.0.

Member Enumeration Documentation

The type of guide curve.

Enumerator
LocationCenterLine 

Centerline.

LocationOffsetFromEdge 

Offset from Edge.

LocationExistingCurve 

Existing Curve.

Options for Spacing Method.

Enumerator
SpaceMethodArcLength 

Arc Length.

SpaceMethodParallelXPlane 

Parallel X Plane.

SpaceMethodParallelYPlane 

Parallel Y Plane.

SpaceMethodParallelZPlane 

Parallel Z Plane.

Spacing Option.

Enumerator
SpaceOptionDistance 

Space points by a fixed distance.

Spacing at last point may not be uniform.

SpaceOptionNumber 

Uniformly space a number of points.

SpaceOptionMinimumDistance 

Uniformly space points using a minimum distance value.

Member Function Documentation

void NXOpen::Weld::JointmarkGuideBuilder::CreateGuideCurves ( )

Creates the guide curves.


Created in NX9.0.1.

License requirements : ugweld ("UG WELD")

NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Weld::JointmarkGuideBuilder::EndDistance ( )

Returns the end distance.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

bool NXOpen::Weld::JointmarkGuideBuilder::ExtendOffset ( )

Returns the extend offset.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

void NXOpen::Weld::JointmarkGuideBuilder::GetGuideCurves ( std::vector< NXOpen::ICurve * > &  guideCurves,
std::vector< NXOpen::NXObject * > &  instanceGuideCurves 
)

Gets the created curves curves.

The guide curves need to exist before calling this, or nothing will be returned.
Created in NX9.0.1.

License requirements : ugweld ("UG WELD")

Parameters
guideCurvesThe array of curves.
instanceGuideCurvesThe array of component curve instances. If there is not an assembly, then this will match the prototype curve.
NXOpen::Section* NXOpen::Weld::JointmarkGuideBuilder::GuideCurve ( )

Returns the guide curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Weld::JointmarkGuideBuilder::Location NXOpen::Weld::JointmarkGuideBuilder::LocationOption ( )

Returns the location option.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

int NXOpen::Weld::JointmarkGuideBuilder::NumberOfPoints ( )

Returns the number to determine the points along the guide curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Expression* NXOpen::Weld::JointmarkGuideBuilder::OffsetDistance ( )

Returns the offset distance.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

void NXOpen::Weld::JointmarkGuideBuilder::RediscoverGuideEnds ( )

Use the specified reuse features to set the start and end distance for the guide curve.


Created in NX11.0.1.

License requirements : ugweld ("UG WELD")

bool NXOpen::Weld::JointmarkGuideBuilder::ReverseDirection ( )

Returns the reversal status of Guide Curve direction.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Section* NXOpen::Weld::JointmarkGuideBuilder::Section1 ( )

Returns the first section used in Centerline.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Section* NXOpen::Weld::JointmarkGuideBuilder::Section2 ( )

Returns the second section used in Centerline.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Section* NXOpen::Weld::JointmarkGuideBuilder::Section3 ( )

Returns the third section used in Offset from Edge.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Section* NXOpen::Weld::JointmarkGuideBuilder::Section4 ( )

Returns the fourth section used in Existing Curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

void NXOpen::Weld::JointmarkGuideBuilder::SetExtendOffset ( bool  extendOffset)

Sets the extend offset.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
extendOffsetextendoffset
void NXOpen::Weld::JointmarkGuideBuilder::SetGuideCurve ( NXOpen::Section guide)

Sets the guide curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
guideguide
void NXOpen::Weld::JointmarkGuideBuilder::SetLocationOption ( NXOpen::Weld::JointmarkGuideBuilder::Location  locationOption)

Sets the location option.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
locationOptionlocationoption
void NXOpen::Weld::JointmarkGuideBuilder::SetNumberOfPoints ( int  number)

Sets the number to determine the points along the guide curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
numbernumber
void NXOpen::Weld::JointmarkGuideBuilder::SetReverseDirection ( bool  reverse)

Sets the reversal status of Guide Curve direction.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
reversereverse
void NXOpen::Weld::JointmarkGuideBuilder::SetSpacingMethod ( NXOpen::Weld::JointmarkGuideBuilder::SpaceMethod  spacingMethod)

Sets the spacing method.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
spacingMethodspacingmethod
void NXOpen::Weld::JointmarkGuideBuilder::SetSpacingOption ( NXOpen::Weld::JointmarkGuideBuilder::SpaceOption  spacingOption)

Sets the spacing option.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

Parameters
spacingOptionspacingoption
NXOpen::Expression* NXOpen::Weld::JointmarkGuideBuilder::Spacing ( )

Returns the spacing to determine the points along the guide curve.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Weld::JointmarkGuideBuilder::SpaceMethod NXOpen::Weld::JointmarkGuideBuilder::SpacingMethod ( )

Returns the spacing method.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::Weld::JointmarkGuideBuilder::SpaceOption NXOpen::Weld::JointmarkGuideBuilder::SpacingOption ( )

Returns the spacing option.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Weld::JointmarkGuideBuilder::StartDistance ( )

Returns the start distance.


Created in NX9.0.0.

License requirements : ugweld ("UG WELD")

virtual bool NXOpen::Weld::JointmarkGuideBuilder::Validate ( )
virtual

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.