Interface DetailNoteItem
Description
This interface represents a detail note item in a Creo Parametric model.
See Also:
Direct Known Subclasses:
Method Summary
void | |
| Draws a detail note item. Drawn notes will be removed upon the next regeneration. |
void | |
| Erases a detail note item. Erased notes will be shown again after the next regeneration. |
| |
| Gets attachment information of note. |
/*optional*/ Double | |
| Gets length of note leader elbow. |
| |
| Returns a data object describing how a detail note item is constructed. |
| |
| Returns the envelope of a line in the note, in screen coordinates. |
| |
| Returns the model referenced by parameterized text in a note. |
| |
| Gets textstyle of note. |
| |
| |
| |
| Get method for attribute "SymbolDef" The symbol definition that the note belongs to, ornull if the note does not belong to a symbol definition. |
| |
| |
/*optional*/ String | |
| Get URL as part of note text. Availble only for 3D notes |
boolean | |
| Checks if note data is displayed. This is useful for notes whose owner is not displayed in session |
boolean | |
| Checks if note is read-only. |
void | |
| |
void | |
| Modifies the definition of an existing detail note item. |
void | |
| Removes a detail note item. Removed notes will continue to be removed after the next regeneration. |
void | |
| Sets note data displayed. This is useful for notes whose owner is not displayed in session. |
void | |
| Set elbow to leader note. |
void | |
| Sets free attachment information of note. |
void | |
| Sets leader attachment information of note. |
void | |
| Sets textstyle of note. |
void | |
| Sets offset attachment information of note. |
void | |
| Sets on item attachment information of note. |
void | |
| Sets note read-only. |
void | |
| |
void | |
| Set URL as part of note text. Availble only for 3D notes |
void | |
| Shows a note. Shown notes will continue to be shown after the next regeneration. |
Method Detail
GetSymbolDef |
| GetSymbolDef | () |
The symbol definition that the note belongs to, or null if the note does not belong to a symbol definition.
User Guide References:
Draws a detail note item. Drawn notes will be removed upon the next regeneration.
The drawing must be current to use this method.
User Guide References:
Returns:
Shows a note. Shown notes will continue to be shown after the next regeneration.
The drawing must be current to use this method. To show a note that is in a non-current model, use the
DetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
User Guide References:
Returns:
Erases a detail note item. Erased notes will be shown again after the next regeneration.
The drawing must be current to use this method.
User Guide References:
Returns:
Removes a detail note item. Removed notes will continue to be removed after the next regeneration.
The drawing must be current to use this method. To remove a note that is in a non-current model, use the
DetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
User Guide References:
Returns:
GetInstructions |
| GetInstructions | (boolean GiveParametersAsNames) |
Returns a data object describing how a detail note item is constructed.
User Guide References:
Parameters:
GiveParametersAsNames
true to get symbolic representations of parameter entries in the text, false to get the actual text shown to the user. Creo Parametric does not resolve and replace symbolic callouts for notes, which are not displayed. Therefore, if the note is not displayed or is hidden in a layer, the text retrieved may contain symbolic callouts, even when GiveParametersAsNames is false.
Returns:
The instuctions data object.
Modifies the definition of an existing detail note item.
User Guide References:
Parameters:
Instructions
The instructions object describing the new detail note item.
Returns:
Exceptions thrown (but not limited to):
Parameters:
TxtDisplayOption
Returns:
SetTextLines |
void | SetTextLines | |
Exceptions thrown (but not limited to):
Parameters:
TextLines
Returns:
SetDisplayed |
void | SetDisplayed | (boolean Display) |
Sets note data displayed. This is useful for notes whose owner is not displayed in session.
Parameters:
Display
Returns:
IsDisplayed |
boolean | IsDisplayed | () |
Checks if note data is displayed. This is useful for notes whose owner is not displayed in session
Returns:
xtrue for notes marked as displayed.
IsReadOnly |
boolean | IsReadOnly | () |
Checks if note is read-only.
Returns:
xtrue if read only.
SetReadOnly |
void | SetReadOnly | (boolean ReadOnly) |
Sets note read-only.
Parameters:
ReadOnly
Returns:
GetAttachment |
| GetAttachment | () |
Gets attachment information of note.
Exceptions thrown (but not limited to):
Returns:
SetFreeAttachment |
void | SetFreeAttachment | |
Sets free attachment information of note.
Parameters:
Attachment
free attachment
Returns:
SetOffsetAttachment |
void | SetOffsetAttachment | |
Sets offset attachment information of note.
Parameters:
Attachment
offset attachment
Returns:
SetOnItemAttachment |
void | SetOnItemAttachment | |
Sets on item attachment information of note.
Parameters:
Attachment
on item attachment
Returns:
Sets leader attachment information of note.
Exceptions thrown (but not limited to):
Parameters:
LeaderAttachs
leaders
Returns:
Set elbow to leader note.
Parameters:
Length
length of leader elbow.
Direction
direction of leader elbow.
Returns:
GetElbowLength |
/*optional*/ Double | GetElbowLength | () |
Gets length of note leader elbow.
Returns:
length.
GetNoteTextStyle |
| GetNoteTextStyle | () |
Gets textstyle of note.
User Guide References:
Returns:
Textstyle.
SetNoteTextStyle |
void | SetNoteTextStyle | |
Sets textstyle of note.
User Guide References:
Parameters:
TextStyle
Textstyle.
Returns:
GetLineEnvelope |
| GetLineEnvelope | (int LineNumber) |
Returns the envelope of a line in the note, in screen coordinates.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LineNumber
The line number to evaluate.
Returns:
The envelope, in screen coordinates. The order of coordinates are returned as:
0 -------- 1
| |
2 -------- 3
This ordering of points is preserved even if the note is mirrored and/or at an angle.
GetModelReference |
| GetModelReference | (int LineNumber, int Index) |
Returns the model referenced by parameterized text in a note.
User Guide References:
Parameters:
LineNumber
The line number where the parameterized text occurs.
Index
The index in the line for the parameterized text.
Returns:
The model referenced by the parameterized text.
SetURL |
void | SetURL | (String URLText) |
Set URL as part of note text. Availble only for 3D notes
Exceptions thrown (but not limited to):
Parameters:
URLText
URL.
Returns:
GetURL |
/*optional*/ String | GetURL | () |
Get URL as part of note text. Availble only for 3D notes
Returns:
URL.
Returns:
KeepArrowTypeAsIs |
void | KeepArrowTypeAsIs | (boolean ArrowType) |
User Guide References:
Parameters:
ArrowType
Returns: