NXOpen .NET Reference  12.0.0
Classes | Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.LinkedPartManager Class Reference

Represents the customization interface during linked mirror part creation and update. More...

Inheritance diagram for NXOpen.LinkedPartManager:

Classes

class  _LinkedPartManagerAttributeEditHandlerAdapter
 
class  _LinkedPartManagerMapEntityHandlerAdapter
 

Public Member Functions

delegate void MapEntityHandler (NXOpen.LinkedMirrorPartEntityMapEvent mapEntityEvent)
 User defined map entity method that is called whenever a linked mirror part is created or updated from source More...
 
delegate void AttributeEditHandler (NXOpen.LinkedMirrorPartAttributeEditEvent attributeEditEvent)
 User defined attribute edit method that is called whenever a linked mirror part is created or updated from source More...
 
NXOpen.LinkedMirrorPartEntityMapEvent[] ToArray ()
 Returns an array of NXOpen.LinkedMirrorPartEntityMapEvent objects. More...
 
unsafe int AddMapEntityHandler (NXOpen.LinkedPartManager.MapEntityHandler handler)
 Registers a user defined map entity method that is called whenever a linked mirror part is created or updated from source More...
 
unsafe void RemoveMapEntityHandler (int id)
 Unregisters the user defined map entity handler More...
 
unsafe int AddAttributeEditHandler (NXOpen.LinkedPartManager.AttributeEditHandler handler)
 Registers a user defined attribute edit method that is called whenever a linked mirror part is created or updated from source More...
 
unsafe void RemoveAttributeEditHandler (int id)
 Unregisters the attribute edit handler More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents the customization interface during linked mirror part creation and update.

The "map entity handler" customization callback is called during creation of linked mirror part and during update of the linked mirror part from source. One can provide a custom map between the candidate unmapped entities in the source part and candidate unmapped entities in the mirror part.

The "attribute edit handler" customization callback is called during creation of linked mirror part and during update of the linked mirror part from source. One can edit the attributes on entities in the mirror part using this callback.

To obtain an instance of this class, refer to NXOpen.Session

Created in NX8.5.0

Member Function Documentation

unsafe int NXOpen.LinkedPartManager.AddAttributeEditHandler ( NXOpen.LinkedPartManager.AttributeEditHandler  handler)

Registers a user defined attribute edit method that is called whenever a linked mirror part is created or updated from source

Created in NX8.5.0

License requirements: None.

Parameters
handlermethod to register
Returns
identifier of registered method (used to unregister the method)
unsafe int NXOpen.LinkedPartManager.AddMapEntityHandler ( NXOpen.LinkedPartManager.MapEntityHandler  handler)

Registers a user defined map entity method that is called whenever a linked mirror part is created or updated from source

Created in NX8.5.0

License requirements: None.

Parameters
handlermethod to register
Returns
identifier of registered method (used to unregister the method)
delegate void NXOpen.LinkedPartManager.AttributeEditHandler ( NXOpen.LinkedMirrorPartAttributeEditEvent  attributeEditEvent)

User defined attribute edit method that is called whenever a linked mirror part is created or updated from source

Created in NX8.5.0

License requirements: None.

Parameters
attributeEditEventevent object for user defined attribute edit method
override int NXOpen.LinkedPartManager.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

delegate void NXOpen.LinkedPartManager.MapEntityHandler ( NXOpen.LinkedMirrorPartEntityMapEvent  mapEntityEvent)

User defined map entity method that is called whenever a linked mirror part is created or updated from source

Created in NX8.5.0

License requirements: None.

Parameters
mapEntityEventevent object for user defined map entity method
unsafe void NXOpen.LinkedPartManager.RemoveAttributeEditHandler ( int  id)

Unregisters the attribute edit handler

Created in NX8.5.0

License requirements: None.

Parameters
ididentifier for method to unregister
unsafe void NXOpen.LinkedPartManager.RemoveMapEntityHandler ( int  id)

Unregisters the user defined map entity handler

Created in NX8.5.0

License requirements: None.

Parameters
ididentifier for method to unregister
NXOpen.LinkedMirrorPartEntityMapEvent [] NXOpen.LinkedPartManager.ToArray ( )

Returns an array of NXOpen.LinkedMirrorPartEntityMapEvent objects.

Property Documentation

Tag NXOpen.LinkedPartManager.Tag
get

Returns the tag of this object.


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