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

Manages a list of part name/response pairs which are used to determine whether a part should be closed if modified during part close. More...

Inheritance diagram for NXOpen::PartCloseResponses:
NXOpen::TransientObject

Public Member Functions

void AddResponse (const NXString &partName, bool response)
 Add a response to the list. More...
 
void AddResponse (const char *partName, bool response)
 Add a response to the list. More...
 
virtual ~PartCloseResponses ()
 Free resources associated with the instance. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Manages a list of part name/response pairs which are used to determine whether a part should be closed if modified during part close.

These responses are used as input into the following methods: NXOpen::BasePart::Close NXOpen::BasePart::Reopen NXOpen::BasePart::ReopenAs

They are ignored in these methods unless NXOpen::BasePart::CloseModified is set to NXOpen::BasePart::CloseModifiedUseResponses .


Created in NX3.0.0.

Constructor & Destructor Documentation

virtual NXOpen::PartCloseResponses::~PartCloseResponses ( )
virtual

Free resources associated with the instance.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX3.0.0.

License requirements : None

Member Function Documentation

void NXOpen::PartCloseResponses::AddResponse ( const NXString partName,
bool  response 
)

Add a response to the list.


Created in NX3.0.0.

License requirements : None

Parameters
partNamePart with which to associate response
NOTE: The full Unicode character set is not supported for this parameter.
responseWhether or not to close the part if modified. A value of true means yes; a value of false means no.
void NXOpen::PartCloseResponses::AddResponse ( const char *  partName,
bool  response 
)

Add a response to the list.


Created in NX3.0.0.

License requirements : None

Parameters
partNamePart with which to associate response
NOTE: The full Unicode character set is not supported for this parameter.
responseWhether or not to close the part if modified. A value of true means yes; a value of false means no.

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