NX Open C++ Reference Guide
|
Represents a GeometricUtilities::ReplAsstBuilder . More...
Public Member Functions | |
double | Allowance () |
Returns the deviation allowance for geometric matching Created in NX6.0.0. | |
NXOpen::GeometricUtilities::ParentEquivalencyMap * | CreateEmptyMatch () |
This is the default creator for a parent equivalency map. | |
void | CreateGeometricMaps (std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > &maps) |
Perform geometric matching. | |
void | CreateInferredMaps (std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > &maps) |
Infer more matches from matches already 'Accepted'. | |
void | CreateNameBasedMaps (std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > &maps) |
Perform automatic matching based on user-defined object names. | |
void | Enter () |
Entry and re-entry to the Replacement Assistant mapping environment. | |
void | Exit () |
Exit the Replacement Assistant mapping environment. | |
NXOpen::GeometricUtilities::ParentEquivalencyMapList * | MatchList () |
Returns the list of all Parent Equivalency Map objects Created in NX6.0.0. | |
bool | MatchSheetBoundariesOnly () |
Returns the automatic matching preference to match sheet boundaries only Created in NX6.0.0. | |
bool | OneToOne () |
Returns the one to one auto matching preference Created in NX6.0.0. | |
int | QueryFeatureOutputUsage () |
Query the downstream usage of the current feature's output entities and populate the usageInfoList. | |
void | SetAllowance (double allowance) |
Sets the deviation allowance for geometric matching Created in NX6.0.0. | |
void | SetMatchSheetBoundariesOnly (bool sheetBoundariesOnly) |
Sets the automatic matching preference to match sheet boundaries only Created in NX6.0.0. | |
void | SetNewParents (const std::vector< NXOpen::DisplayableObject * > &replacementObjects) |
Set the source entities for the Replacement Assistant. | |
void | SetOneToOne (bool oneToOne) |
Sets the one to one auto matching preference Created in NX6.0.0. | |
NXOpen::GeometricUtilities::EntityUsageInfoList * | UsageInfoList () |
Returns the list of all Entity Usage Info objects 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::ReplAsstBuilder .
This is the primary data container for Replacement Assistant mapping environment available on editing Linked Body, Linked Face, Extract Body, Extract Face and Mirror Body features. Execute Enter() before invoking any match creation or automatic matching APIs. Call Exit() to exit the mapping environment.
Created in NX6.0.0.
double NXOpen::GeometricUtilities::ReplAsstBuilder::Allowance | ( | ) |
Returns the deviation allowance for geometric matching
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::ParentEquivalencyMap* NXOpen::GeometricUtilities::ReplAsstBuilder::CreateEmptyMatch | ( | ) |
This is the default creator for a parent equivalency map.
void NXOpen::GeometricUtilities::ReplAsstBuilder::CreateGeometricMaps | ( | std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > & | maps | ) |
Perform geometric matching.
Created in NX6.0.0.
License requirements : None
maps | new maps created by geometric matching |
void NXOpen::GeometricUtilities::ReplAsstBuilder::CreateInferredMaps | ( | std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > & | maps | ) |
Infer more matches from matches already 'Accepted'.
Add [array_order_guaranteed] annotation for output array when API wrap allows the same.
Created in NX6.0.0.
License requirements : None
maps | new maps created by inferring |
void NXOpen::GeometricUtilities::ReplAsstBuilder::CreateNameBasedMaps | ( | std::vector< NXOpen::GeometricUtilities::ParentEquivalencyMap * > & | maps | ) |
Perform automatic matching based on user-defined object names.
Created in NX6.0.0.
License requirements : None
maps | new maps created by name-based matching |
void NXOpen::GeometricUtilities::ReplAsstBuilder::Enter | ( | ) |
Entry and re-entry to the Replacement Assistant mapping environment.
This function needs to be executed before invoking any match creation or automatic matching APIs. The matches inferred internally (internal identifier reuse, inherited from parent and siblings) will be populated when this function is executed for the first time after selecting a replacement entity.
Created in NX6.0.0.
License requirements : None
void NXOpen::GeometricUtilities::ReplAsstBuilder::Exit | ( | ) |
Exit the Replacement Assistant mapping environment.
Any match creation or automatic matchping API cannot be executed after this function is called.
Created in NX6.0.0.
License requirements : None
NXOpen::GeometricUtilities::ParentEquivalencyMapList* NXOpen::GeometricUtilities::ReplAsstBuilder::MatchList | ( | ) |
Returns the list of all Parent Equivalency Map objects
Created in NX6.0.0.
License requirements : None
bool NXOpen::GeometricUtilities::ReplAsstBuilder::MatchSheetBoundariesOnly | ( | ) |
Returns the automatic matching preference to match sheet boundaries only
Created in NX6.0.0.
License requirements : None
bool NXOpen::GeometricUtilities::ReplAsstBuilder::OneToOne | ( | ) |
Returns the one to one auto matching preference
Created in NX6.0.0.
License requirements : None
int NXOpen::GeometricUtilities::ReplAsstBuilder::QueryFeatureOutputUsage | ( | ) |
Query the downstream usage of the current feature's output entities and populate the usageInfoList.
This API need be called only ONCE per feature being reparented. @return
Created in NX6.0.0.
License requirements : None
void NXOpen::GeometricUtilities::ReplAsstBuilder::SetAllowance | ( | double | allowance | ) |
Sets the deviation allowance for geometric matching
Created in NX6.0.0.
License requirements : None
allowance | allowance |
void NXOpen::GeometricUtilities::ReplAsstBuilder::SetMatchSheetBoundariesOnly | ( | bool | sheetBoundariesOnly | ) |
Sets the automatic matching preference to match sheet boundaries only
Created in NX6.0.0.
License requirements : None
sheetBoundariesOnly | sheetboundariesonly |
void NXOpen::GeometricUtilities::ReplAsstBuilder::SetNewParents | ( | const std::vector< NXOpen::DisplayableObject * > & | replacementObjects | ) |
Set the source entities for the Replacement Assistant.
If there are matches already created and the body is changed, the matches will be deleted.
Created in NX6.0.0.
License requirements : None
replacementObjects | replacement objects |
void NXOpen::GeometricUtilities::ReplAsstBuilder::SetOneToOne | ( | bool | oneToOne | ) |
Sets the one to one auto matching preference
Created in NX6.0.0.
License requirements : None
oneToOne | onetoone |
NXOpen::GeometricUtilities::EntityUsageInfoList* NXOpen::GeometricUtilities::ReplAsstBuilder::UsageInfoList | ( | ) |
Returns the list of all Entity Usage Info objects
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.