ParentEquivalencyMap Class¶
-
class
NXOpen.GeometricUtilities.
ParentEquivalencyMap
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.GeometricUtilities.ParentEquivalencyMap
.An object of this class represents a correspondence between entities of the current object (Linked / Extract feature being edited) and entities of the replacement object (faces / body).
To create a new instance of this class, use
NXOpen.GeometricUtilities.ReplAsstBuilder.CreateEmptyMatch
New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
MapStatus | Returns or sets the map status |
MapType | Returns or sets the map type |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
GetEntitiesFromCurrentObject | Get the mapped entities from the current object. |
GetEntitiesFromReplacementObject | Get the mapped entities from the replacement object |
SetMappedEntities | Set externally mapped entities |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
ParentEquivalencyMapStatus Enumeration | enum for map status |
ParentEquivalencyMapType Enumeration | enum for map type |
Property Detail¶
MapStatus¶
-
ParentEquivalencyMap.
MapStatus
¶ Returns or sets the map status
-------------------------------------
Getter Method
Signature
MapStatus()
Returns: Return type: NXOpen.GeometricUtilities.ParentEquivalencyMapStatus
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MapStatus(mapStatus)
Parameters: mapStatus ( NXOpen.GeometricUtilities.ParentEquivalencyMapStatus
) –New in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
MapType¶
-
ParentEquivalencyMap.
MapType
¶ Returns or sets the map type
-------------------------------------
Getter Method
Signature
MapType()
Returns: Return type: NXOpen.GeometricUtilities.ParentEquivalencyMapType
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MapType(mapType)
Parameters: mapType ( NXOpen.GeometricUtilities.ParentEquivalencyMapType
) –New in version NX9.0.0.
License requirements: None.
Method Detail¶
GetEntitiesFromCurrentObject¶
-
ParentEquivalencyMap.
GetEntitiesFromCurrentObject
¶ Get the mapped entities from the current object.
Signature
GetEntitiesFromCurrentObject()
Returns: entities from the current object Return type: list of NXOpen.DisplayableObject
New in version NX6.0.0.
License requirements: None.
GetEntitiesFromReplacementObject¶
-
ParentEquivalencyMap.
GetEntitiesFromReplacementObject
¶ Get the mapped entities from the replacement object
Signature
GetEntitiesFromReplacementObject()
Returns: entities from the replacement object Return type: list of NXOpen.DisplayableObject
New in version NX6.0.0.
License requirements: None.
SetMappedEntities¶
-
ParentEquivalencyMap.
SetMappedEntities
¶ Set externally mapped entities
Signature
SetMappedEntities(oldEntities, newEntities)
Parameters: - oldEntities (list of
NXOpen.DisplayableObject
) – entities from the current object - newEntities (list of
NXOpen.DisplayableObject
) – entities from the replacement object
New in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
- oldEntities (list of
Validate¶
-
ParentEquivalencyMap.
Validate
¶ 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.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.