NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Classes | Public Member Functions | Properties | List of all members
NXOpen.UserDefinedObjects.UserDefinedObjectManager Class Reference

This class creates and manages UserDefinedObjects More...

Inheritance diagram for NXOpen.UserDefinedObjects.UserDefinedObjectManager:
NXOpen.Utilities.NXRemotableObject IMessageSink

Classes

struct  _LinkedUdoDefinition
 Used to define a link to a UserDefinedObject
 
struct  LinkedUdoDefinition
 Used to define a link to a UserDefinedObject More...
 

Public Member Functions

unsafe
NXOpen.UserDefinedObjects.UserDefinedObject 
CreateUserDefinedObject (NXOpen.UserDefinedObjects.UserDefinedClass udoClass)
 Constructs a new NXOpen.Features.UserDefinedObjectFeature . More...
 
unsafe
NXOpen.UserDefinedObjects.UserDefinedObjectManager.LinkedUdoDefinition[] 
GetLinksToObject (NXOpen.TaggedObject linkObject)
 Queries an NX Object to find all UserDefinedObjects.UserDefinedObject 's that are linked to the given NXObject (note this will not find owning udos) More...
 
unsafe
NXOpen.UserDefinedObjects.UserDefinedObject 
GetOwningUserDefinedObject (NXOpen.TaggedObject linkObject)
 Queries an NX Object to find the UserDefinedObjects.UserDefinedObject that owns the given NXObject (note this will return null for the owning udo if the object is not owned) More...
 
unsafe
NXOpen.UserDefinedObjects.UserDefinedObject[] 
GetUdosOfClass (NXOpen.UserDefinedObjects.UserDefinedClass udoClass)
 Finds all UserDefinedObjects.UserDefinedObject instances that use the given NXOpen.UserDefinedObjects.UserDefinedClass . More...
 
unsafe bool IsObjectLinkable (NXOpen.TaggedObject linkObject, NXOpen.UserDefinedObjects.UserDefinedObject.LinkType linkType)
 Queries an NX Object to see if it can be linked to a UserDefinedObjects.UserDefinedObject via the given link type More...
 
unsafe bool IsObjectLinkedToUserDefinedObject (NXOpen.TaggedObject linkObject)
 Queries an NX Object to see if it is linked to a UserDefinedObjects.UserDefinedObject (note this will not tell you if the object is owned by a UDO with an owning link) More...
 
unsafe bool IsObjectOwnedByUserDefinedObject (NXOpen.TaggedObject linkObject)
 Queries an NX Object to see if it is owned by a UserDefinedObjects.UserDefinedObject 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...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Detailed Description

This class creates and manages UserDefinedObjects

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

Created in NX5.0.0

Member Function Documentation

unsafe NXOpen.UserDefinedObjects.UserDefinedObject NXOpen.UserDefinedObjects.UserDefinedObjectManager.CreateUserDefinedObject ( NXOpen.UserDefinedObjects.UserDefinedClass  udoClass)
inline

Constructs a new NXOpen.Features.UserDefinedObjectFeature .

Created in NX5.0.0

License requirements: None.

Parameters
udoClassThe UserDefinedClass used to define the new UserDefinedObject
Returns
The new UserDefinedObject instance
unsafe NXOpen.UserDefinedObjects.UserDefinedObjectManager.LinkedUdoDefinition [] NXOpen.UserDefinedObjects.UserDefinedObjectManager.GetLinksToObject ( NXOpen.TaggedObject  linkObject)
inline

Queries an NX Object to find all UserDefinedObjects.UserDefinedObject 's that are linked to the given NXObject (note this will not find owning udos)

Created in NX5.0.0

License requirements: None.

Parameters
linkObjectNXObject to query for links
Returns
The link definitions from UDO's to the NXObject
unsafe NXOpen.UserDefinedObjects.UserDefinedObject NXOpen.UserDefinedObjects.UserDefinedObjectManager.GetOwningUserDefinedObject ( NXOpen.TaggedObject  linkObject)
inline

Queries an NX Object to find the UserDefinedObjects.UserDefinedObject that owns the given NXObject (note this will return null for the owning udo if the object is not owned)

Created in NX5.0.0

License requirements: None.

Parameters
linkObjectNXObject to query for an owning UDO
Returns
The UDO which owns the NXObject
unsafe NXOpen.UserDefinedObjects.UserDefinedObject [] NXOpen.UserDefinedObjects.UserDefinedObjectManager.GetUdosOfClass ( NXOpen.UserDefinedObjects.UserDefinedClass  udoClass)
inline

Finds all UserDefinedObjects.UserDefinedObject instances that use the given NXOpen.UserDefinedObjects.UserDefinedClass .

Created in NX5.0.0

License requirements: None.

Parameters
udoClassThe UserDefinedClass we want to find
Returns
User Defined Objects of the given class
unsafe bool NXOpen.UserDefinedObjects.UserDefinedObjectManager.IsObjectLinkable ( NXOpen.TaggedObject  linkObject,
NXOpen.UserDefinedObjects.UserDefinedObject.LinkType  linkType 
)
inline

Queries an NX Object to see if it can be linked to a UserDefinedObjects.UserDefinedObject via the given link type

Created in NX5.0.0

License requirements: None.

Parameters
linkObjectNXObject to query for linkability
linkTypeThe link type used to link this object to a UDO
Returns
TRUE - This object can be linked to a UDO with the given link type, FALSE - this object can not be NOT linked to a UDO with the given link type
unsafe bool NXOpen.UserDefinedObjects.UserDefinedObjectManager.IsObjectLinkedToUserDefinedObject ( NXOpen.TaggedObject  linkObject)
inline

Queries an NX Object to see if it is linked to a UserDefinedObjects.UserDefinedObject (note this will not tell you if the object is owned by a UDO with an owning link)

Created in NX5.0.0

License requirements: None.

Parameters
linkObjectNXObject to query for links
Returns
TRUE - This object is linked to a UDO, FALSE - this object is NOT linked to a UDO
unsafe bool NXOpen.UserDefinedObjects.UserDefinedObjectManager.IsObjectOwnedByUserDefinedObject ( NXOpen.TaggedObject  linkObject)
inline

Queries an NX Object to see if it is owned by a UserDefinedObjects.UserDefinedObject

Created in NX5.0.0

License requirements: None.

Parameters
linkObjectNXObject to query for an owning UDO
Returns
TRUE - This object is owned by a UDO, FALSE - this object is NOT owned by a UDO

Property Documentation

Tag NXOpen.UserDefinedObjects.UserDefinedObjectManager.Tag
get

Returns the tag of this object.


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