NoteData Class¶
-
class
NXOpen.Annotations.
NoteData
¶ Bases:
NXOpen.TransientObject
Represents note data
New in version NX4.0.0.
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetSimpleDraftingAidPreferences | Returns the SimpleDraftingAidPreferences object @return Note preferences |
GetText | Returns the text @return List of lines |
SetSimpleDraftingAidPreferences | Sets the SimpleDraftingAidPreferences object |
SetText | Sets the text |
Method Detail¶
Dispose¶
-
NoteData.
Dispose
¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX4.0.0.
License requirements: None.
GetSimpleDraftingAidPreferences¶
-
NoteData.
GetSimpleDraftingAidPreferences
¶ Returns the SimpleDraftingAidPreferences object
Signature
GetSimpleDraftingAidPreferences()
Returns: Note preferences Return type: NXOpen.Annotations.SimpleDraftingAidPreferences
New in version NX4.0.0.
License requirements: None.
GetText¶
-
NoteData.
GetText
¶ Returns the text
Signature
GetText()
Returns: List of lines Return type: list of str New in version NX4.0.0.
License requirements: None.
SetSimpleDraftingAidPreferences¶
-
NoteData.
SetSimpleDraftingAidPreferences
¶ Sets the SimpleDraftingAidPreferences object
Signature
SetSimpleDraftingAidPreferences(preferences)
Parameters: preferences ( NXOpen.Annotations.SimpleDraftingAidPreferences
) – New note preferencesNew in version NX4.0.0.
License requirements: None.