Modifier and Type | Interface and Description |
---|---|
static class |
UserDefinedObjectManager.LinkedUdoDefinition
Used to define a link to a UserDefinedObject
|
Modifier and Type | Method and Description |
---|---|
UserDefinedObject |
createUserDefinedObject(UserDefinedClass udoClass)
Constructs a new
nxopen.features.UserDefinedObjectFeature . |
UserDefinedObjectManager.LinkedUdoDefinition[] |
getLinksToObject(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)
License requirements: None. |
UserDefinedObject |
getOwningUserDefinedObject(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)
License requirements: None. |
UserDefinedObject[] |
getUdosOfClass(UserDefinedClass udoClass)
Finds all
UserDefinedObjects.UserDefinedObject instances that use the given UserDefinedClass . |
boolean |
isObjectLinkable(TaggedObject linkObject,
UserDefinedObject.LinkType linkType)
Queries an NX Object to see if it can be linked to a
UserDefinedObjects.UserDefinedObject via the given link type
License requirements: None. |
boolean |
isObjectLinkedToUserDefinedObject(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)
License requirements: None. |
boolean |
isObjectOwnedByUserDefinedObject(TaggedObject linkObject)
Queries an NX Object to see if it is owned by a
UserDefinedObjects.UserDefinedObject
License requirements: None. |
UserDefinedObject createUserDefinedObject(UserDefinedClass udoClass) throws NXException, RemoteException
nxopen.features.UserDefinedObjectFeature
.
udoClass
- The UserDefinedClass used to define the new UserDefinedObjectNXException
RemoteException
UserDefinedObject[] getUdosOfClass(UserDefinedClass udoClass) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
instances that use the given UserDefinedClass
.
udoClass
- The UserDefinedClass we want to findNXException
RemoteException
boolean isObjectLinkable(TaggedObject linkObject, UserDefinedObject.LinkType linkType) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
via the given link type
linkObject
- NXObject to query for linkabilitylinkType
- The link type used to link this object to a UDONXException
RemoteException
boolean isObjectLinkedToUserDefinedObject(TaggedObject linkObject) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
(note this will not
tell you if the object is owned by a UDO with an owning link)
linkObject
- NXObject to query for linksNXException
RemoteException
UserDefinedObjectManager.LinkedUdoDefinition[] getLinksToObject(TaggedObject linkObject) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
's that are linked to the given NXObject (note this will not find owning udos)
linkObject
- NXObject to query for linksNXException
RemoteException
boolean isObjectOwnedByUserDefinedObject(TaggedObject linkObject) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
linkObject
- NXObject to query for an owning UDONXException
RemoteException
UserDefinedObject getOwningUserDefinedObject(TaggedObject linkObject) throws NXException, RemoteException
UserDefinedObjects.UserDefinedObject
that owns the given NXObject (note this will return null for the owning udo if the object is not owned)
linkObject
- NXObject to query for an owning UDONXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.