NX Open C++ Reference Guide
|
Represents a GeometricUtilities::EntityUsageInfo . More...
Public Types | |
enum | Status { StatusUnused, StatusIntraPart, StatusInterPart } |
enum for usage status More... | |
Public Member Functions | |
NXOpen::DisplayableObject * | Entity () |
Returns the important entity. | |
void | GetDependentFeatures (NXOpen::GeometricUtilities::EntityUsageInfo::Status typeOfUsage, std::vector< NXOpen::Features::Feature * > &dependentFeatures, std::vector< NXString > &detailedUsageInfo) |
Query the dependent features of this entity. | |
void | GetOtherDependents (NXOpen::GeometricUtilities::EntityUsageInfo::Status typeOfUsage, std::vector< NXOpen::NXObject * > &otherDependents, std::vector< NXString > &detailedUsageInfo) |
Query other dependents of this entity. | |
NXOpen::GeometricUtilities::EntityUsageInfo::Status | UsageStatus () |
Returns the usage status of the corresponding entity Created in NX6.0.0. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a GeometricUtilities::EntityUsageInfo .
An object of this class provides the dependency information for a single reparentable entity (edge or face). The creation of GeometricUtilities::EntityUsageInfo is restricted for internal use (see GeometricUtilities::ReplAsstBuilder ).
Created in NX6.0.0.
NXOpen::DisplayableObject* NXOpen::GeometricUtilities::EntityUsageInfo::Entity | ( | ) |
Returns the important entity.
Created in NX6.0.0.
License requirements : None
void NXOpen::GeometricUtilities::EntityUsageInfo::GetDependentFeatures | ( | NXOpen::GeometricUtilities::EntityUsageInfo::Status | typeOfUsage, |
std::vector< NXOpen::Features::Feature * > & | dependentFeatures, | ||
std::vector< NXString > & | detailedUsageInfo | ||
) |
Query the dependent features of this entity.
Use 'typeOfUsage' to restrict the query to intra-part features or to include interpart features too.
Created in NX6.0.0.
License requirements : None
typeOfUsage | desired level of usage information |
dependentFeatures | dependent features |
detailedUsageInfo | detailed usage information for each dependent feature |
void NXOpen::GeometricUtilities::EntityUsageInfo::GetOtherDependents | ( | NXOpen::GeometricUtilities::EntityUsageInfo::Status | typeOfUsage, |
std::vector< NXOpen::NXObject * > & | otherDependents, | ||
std::vector< NXString > & | detailedUsageInfo | ||
) |
Query other dependents of this entity.
Use 'typeOfUsage' to restrict the query to intra-part dependents or to include interpart usage too.
Created in NX6.0.0.
License requirements : None
typeOfUsage | desired level of usage information |
otherDependents | dependent objects |
detailedUsageInfo | detailed usage information for each dependent object |
NXOpen::GeometricUtilities::EntityUsageInfo::Status NXOpen::GeometricUtilities::EntityUsageInfo::UsageStatus | ( | ) |
Returns the usage status of the corresponding entity
Created in NX6.0.0.
License requirements : None
|
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.