TextBasedElementCollection Class¶
-
class
NXOpen.Motion.
TextBasedElementCollection
¶ Bases:
object
Represents a collection of Text Based Element objects
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX12.0.0.
Methods¶
Method | Description |
---|---|
CreateTextBasedElementBuilder | Creates a NXOpen.Motion.TextBasedElementBuilder |
FindObject | Finds the NXOpen.Motion.TextBasedElement with the given name. |
Method Detail¶
CreateTextBasedElementBuilder¶
-
TextBasedElementCollection.
CreateTextBasedElementBuilder
¶ Creates a
NXOpen.Motion.TextBasedElementBuilder
Signature
CreateTextBasedElementBuilder(textBasedElement)
Parameters: textBasedElement ( NXOpen.Motion.TextBasedElement
) –NXOpen.Motion.TextBasedElement
to be editedReturns: TextBasedElementBuilder object Return type: NXOpen.Motion.TextBasedElementBuilder
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
TextBasedElementCollection.
FindObject
¶ Finds the
NXOpen.Motion.TextBasedElement
with the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)
Parameters: name (str) – The name of the NXOpen.Motion.TextBasedElement
.Returns: NXOpen.Motion.TextBasedElement
with this name.Return type: NXOpen.Motion.TextBasedElement
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)