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

This class creates Replace expressions from the source part to the current work part via the naming rule defined. More...

Inheritance diagram for NXOpen::ReplaceExpressionsBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXString CurrentString ()
 Returns the current string. More...
 
NXString ReplaceString ()
 Returns the replace string. More...
 
void SetCurrentString (const NXString &currentString)
 Sets the current string. More...
 
void SetCurrentString (const char *currentString)
 Sets the current string. More...
 
void SetReplaceString (const NXString &replaceString)
 Sets the replace string. More...
 
void SetReplaceString (const char *replaceString)
 Sets the replace string. 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

This class creates Replace expressions from the source part to the current work part via the naming rule defined.


To create a new instance of this class, use NXOpen::ExpressionCollection::CreateReplaceExpressionsBuilder

Created in NX10.0.0.

Member Function Documentation

NXString NXOpen::ReplaceExpressionsBuilder::CurrentString ( )

Returns the current string.

This string is used as the replaced string.
Created in NX10.0.0.

License requirements : None

NXString NXOpen::ReplaceExpressionsBuilder::ReplaceString ( )

Returns the replace string.

This string replaces the current string.
Created in NX10.0.0.

License requirements : None

void NXOpen::ReplaceExpressionsBuilder::SetCurrentString ( const NXString currentString)

Sets the current string.

This string is used as the replaced string.
Created in NX10.0.0.

License requirements : None

Parameters
currentStringcurrentstring
void NXOpen::ReplaceExpressionsBuilder::SetCurrentString ( const char *  currentString)

Sets the current string.

This string is used as the replaced string.
Created in NX10.0.0.

License requirements : None

Parameters
currentStringcurrentstring
void NXOpen::ReplaceExpressionsBuilder::SetReplaceString ( const NXString replaceString)

Sets the replace string.

This string replaces the current string.
Created in NX10.0.0.

License requirements : None

Parameters
replaceStringreplacestring
void NXOpen::ReplaceExpressionsBuilder::SetReplaceString ( const char *  replaceString)

Sets the replace string.

This string replaces the current string.
Created in NX10.0.0.

License requirements : None

Parameters
replaceStringreplacestring

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