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

The builder for designing guide lines in Mold Wizard. More...

Inheritance diagram for NXOpen::Tooling::MWDesignGuideLinesBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  DirectionType { DirectionTypeNormal, DirectionTypeTangential, DirectionTypeSnaptoWCSAxis, DirectionTypeVector }
 The type of direction for the guide line to be created. More...
 

Public Member Functions

void AutoCreateGuideLines ()
 Button for creating guide lines automatically at locations where there are not exactly two parting lines are connecting. More...
 
NXOpen::CurveCreateGuideLine (NXOpen::Curve *partingLineTag, const NXOpen::Point3d &closePoint, double length, int *created)
 Create a guide line given a parting line and coordinates close to one of its end points. More...
 
void DeleteAllGuideLines ()
 Button for deleting all the guide lines. More...
 
void DeleteGuideLine (NXOpen::Curve *guideLine)
 Delete a given guide line. More...
 
void DeleteSelectedGuideLine ()
 Button for deleting the selected guide line. More...
 
NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType GuideDirection ()
 Returns the direction type for creating or editing the guide line. More...
 
NXOpen::ExpressionGuideLength ()
 Returns the length for the guide line. More...
 
NXOpen::SelectCurveGuideOrPartingLine ()
 Returns the guide line or parting line. More...
 
NXOpen::DirectionGuideVector ()
 Returns the vector for the guide line. More...
 
void SetGuideDirection (NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType guideDirection)
 Sets the direction type for creating or editing the guide line. More...
 
void SetGuideVector (NXOpen::Direction *guideVector)
 Sets the vector for the guide line. More...
 
void SetSnapAngleLimit (double snapAngleLimit)
 Sets the snap angle limit for snapping the guide line direction to one of the WCS axis. More...
 
double SnapAngleLimit ()
 Returns the snap angle limit for snapping the guide line direction to one of the WCS axis. More...
 
void UpdateGuideLineDirection (NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType directionType, NXOpen::Curve *guideLine)
 Update the guide line with a new direction. More...
 
void UpdateGuideLineDirectionAndLength (NXOpen::Curve *guideLine, const NXOpen::Vector3d &guideLineVector, double guideLinelength)
 Update the guide line with a new direction and length. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. 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

The builder for designing guide lines in Mold Wizard.


To create a new instance of this class, use NXOpen::Tooling::MWDesignGuideLinesCollection::CreateBuilder
Default values.

Property Value

GuideDirection

Normal

GuideLength.Value

0 (millimeters part), 0 (inches part)

SnapAngleLimit

30


Created in NX7.5.0.

Member Enumeration Documentation

The type of direction for the guide line to be created.

Enumerator
DirectionTypeNormal 

Normal.

DirectionTypeTangential 

Tangential.

DirectionTypeSnaptoWCSAxis 

Snap to WCS axis.

DirectionTypeVector 

Specify Vector.

Member Function Documentation

void NXOpen::Tooling::MWDesignGuideLinesBuilder::AutoCreateGuideLines ( )

Button for creating guide lines automatically at locations where there are not exactly two parting lines are connecting.


Created in NX7.5.0.

License requirements : None

NXOpen::Curve* NXOpen::Tooling::MWDesignGuideLinesBuilder::CreateGuideLine ( NXOpen::Curve partingLineTag,
const NXOpen::Point3d closePoint,
double  length,
int *  created 
)

Create a guide line given a parting line and coordinates close to one of its end points.

If there is an existing guide line at the same location, a new one will not be created and the existing guide line will be returned.

Returns
Existing or newly created guide line
Created in NX7.5.0.

License requirements : None
Parameters
partingLineTagParting line on which a guide line will be placed
closePointPoint close to one of the end points of the parting line
lengthLength of the guide line to be created
created1 if a guide line has been created, or 0 if existing guide line is returned
void NXOpen::Tooling::MWDesignGuideLinesBuilder::DeleteAllGuideLines ( )

Button for deleting all the guide lines.


Created in NX7.5.0.

License requirements : None

void NXOpen::Tooling::MWDesignGuideLinesBuilder::DeleteGuideLine ( NXOpen::Curve guideLine)

Delete a given guide line.


Created in NX7.5.0.

License requirements : None

Parameters
guideLineGuide line
void NXOpen::Tooling::MWDesignGuideLinesBuilder::DeleteSelectedGuideLine ( )

Button for deleting the selected guide line.


Created in NX7.5.0.

License requirements : None

NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType NXOpen::Tooling::MWDesignGuideLinesBuilder::GuideDirection ( )

Returns the direction type for creating or editing the guide line.


Created in NX7.5.0.

License requirements : None

NXOpen::Expression* NXOpen::Tooling::MWDesignGuideLinesBuilder::GuideLength ( )

Returns the length for the guide line.


Created in NX7.5.0.

License requirements : None

NXOpen::SelectCurve* NXOpen::Tooling::MWDesignGuideLinesBuilder::GuideOrPartingLine ( )

Returns the guide line or parting line.


Created in NX7.5.0.

License requirements : None

NXOpen::Direction* NXOpen::Tooling::MWDesignGuideLinesBuilder::GuideVector ( )

Returns the vector for the guide line.


Created in NX7.5.0.

License requirements : None

void NXOpen::Tooling::MWDesignGuideLinesBuilder::SetGuideDirection ( NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType  guideDirection)

Sets the direction type for creating or editing the guide line.


Created in NX7.5.0.

License requirements : None

Parameters
guideDirectionguidedirection
void NXOpen::Tooling::MWDesignGuideLinesBuilder::SetGuideVector ( NXOpen::Direction guideVector)

Sets the vector for the guide line.


Created in NX7.5.0.

License requirements : None

Parameters
guideVectorguidevector
void NXOpen::Tooling::MWDesignGuideLinesBuilder::SetSnapAngleLimit ( double  snapAngleLimit)

Sets the snap angle limit for snapping the guide line direction to one of the WCS axis.


Created in NX7.5.0.

License requirements : None

Parameters
snapAngleLimitsnapanglelimit
double NXOpen::Tooling::MWDesignGuideLinesBuilder::SnapAngleLimit ( )

Returns the snap angle limit for snapping the guide line direction to one of the WCS axis.


Created in NX7.5.0.

License requirements : None

void NXOpen::Tooling::MWDesignGuideLinesBuilder::UpdateGuideLineDirection ( NXOpen::Tooling::MWDesignGuideLinesBuilder::DirectionType  directionType,
NXOpen::Curve guideLine 
)

Update the guide line with a new direction.


Created in NX7.5.0.

License requirements : None

Parameters
directionTypeDirection type
guideLineGuide line
void NXOpen::Tooling::MWDesignGuideLinesBuilder::UpdateGuideLineDirectionAndLength ( NXOpen::Curve guideLine,
const NXOpen::Vector3d guideLineVector,
double  guideLinelength 
)

Update the guide line with a new direction and length.


Created in NX11.0.1.

License requirements : None

Parameters
guideLineGuide line
guideLineVectorDirection vector of the guide line
guideLinelengthLength of the guide line

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