NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | List of all members
NXOpen.Utilities.NXObjectManager Class Reference

Maintains a mapping between Tags and objects. More...

Inheritance diagram for NXOpen.Utilities.NXObjectManager:
NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

TaggedObject GetTaggedObject (Tag objectTag)
 Returns the object corresponding to a tag. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Static Public Member Functions

static TaggedObject Get (Tag objectTag)
 Returns the object corresponding to a tag. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Detailed Description

Maintains a mapping between Tags and objects.

This class can be used to help use methods in the NXOpen.UF namespace together with objects in the NXOpen namespace. Use the method BaseSession.GetObjectManager to get an object instance of this class.

Member Function Documentation

static TaggedObject NXOpen.Utilities.NXObjectManager.Get ( Tag  objectTag)
inlinestatic

Returns the object corresponding to a tag.

The object that is returned by this method is unique for given tag while that tag is alive. The Tag property of the object will return the tag with which it was obtained by this method. Methods in classes in the NXOpen.UF namespace may return tags and Get can be used to obtain the corresponding object.

Parameters
objectTagTag for which an object is wanted.
Returns
The object for this tag
TaggedObject NXOpen.Utilities.NXObjectManager.GetTaggedObject ( Tag  objectTag)
inline

Returns the object corresponding to a tag.

Use this method in a remoting application.

The object that is returned by this method is unique for given tag while that tag is alive. The Tag property of the object will return the tag with which it was obtained by this method. Methods in classes in the NXOpen.UF namespace may return tags and GetTaggedObject can be used to obtain the corresponding object.

Parameters
objectTagTag for which an object is wanted.
Returns
The object for this tag

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