NX Open C++ Reference Guide
Public Member Functions
NXOpen::GeometricUtilities::ReplAsstBuilder Class Reference

Represents a GeometricUtilities::ReplAsstBuilder . More...

Inheritance diagram for NXOpen::GeometricUtilities::ReplAsstBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Member Functions

double Allowance ()
 Returns the deviation allowance for geometric matching
Created in NX6.0.0.
NXOpen::GeometricUtilities::ParentEquivalencyMapCreateEmptyMatch ()
 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::ParentEquivalencyMapListMatchList ()
 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::EntityUsageInfoListUsageInfoList ()
 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.

Detailed Description

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.


Member Function Documentation

Returns the deviation allowance for geometric matching
Created in NX6.0.0.



License requirements : None

This is the default creator for a parent equivalency map.

Returns:

Created in NX6.0.0.

License requirements : None

Perform geometric matching.


Created in NX6.0.0.

License requirements : None

Parameters:
mapsnew maps created by geometric matching

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

Parameters:
mapsnew maps created by inferring

Perform automatic matching based on user-defined object names.


Created in NX6.0.0.

License requirements : None

Parameters:
mapsnew maps created by name-based matching

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

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

Returns the list of all Parent Equivalency Map objects
Created in NX6.0.0.



License requirements : None

Returns the automatic matching preference to match sheet boundaries only
Created in NX6.0.0.



License requirements : None

Returns the one to one auto matching preference
Created in NX6.0.0.



License requirements : None

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.

Returns:

Created in NX6.0.0.

License requirements : None

Sets the deviation allowance for geometric matching
Created in NX6.0.0.



License requirements : None

Parameters:
allowanceallowance

Sets the automatic matching preference to match sheet boundaries only
Created in NX6.0.0.



License requirements : None

Parameters:
sheetBoundariesOnlysheetboundariesonly
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

Parameters:
replacementObjectsreplacement objects

Sets the one to one auto matching preference
Created in NX6.0.0.



License requirements : None

Parameters:
oneToOneonetoone

Returns the list of all Entity Usage Info objects
Created in NX6.0.0.



License requirements : None

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.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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