Class pfcDetailNoteItem
Description
This interface represents a detail note item in a Creo Parametric model.
See Also:
Direct Parent Classes:
User Guide References:
Property Summary
| |
| |
| |
| The symbol definition that the note belongs to, or null if the note does not belong to a symbol definition. |
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 */ number | |
| |
| |
| 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. |
| |
| |
| |
| |
| |
| |
| |
| |
/* 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. |
Property Detail
The symbol definition that the note belongs to, or null if the note does not belong to a symbol definition.
Method Detail
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:
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:
Gets attachment information of note.
Exceptions thrown (but not limited to):
Returns:
User Guide References:
/* optional */ number | GetElbowLength | () |
Gets length of note leader elbow.
Returns:
length.
User Guide References:
| GetInstructions | (boolean GiveParametersAsNames) |
Returns a data object describing how a detail note item is constructed.
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.
User Guide References:
| GetLineEnvelope | (number LineNumber) |
Returns the envelope of a line in the note, in screen coordinates.
Exceptions thrown (but not limited to):
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.
User Guide References:
| GetModelReference | (number LineNumber, number Index) |
Returns the model referenced by parameterized text in a note.
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.
User Guide References:
Gets textstyle of note.
Returns:
Textstyle.
User Guide References:
Returns:
Exceptions thrown (but not limited to):
Parameters:
TxtDisplayOption
Returns:
User Guide References:
/* optional */ string | GetURL | () |
Get URL as part of note text. Availble only for 3D notes
Returns:
URL.
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.
User Guide References:
Checks if note is read-only.
Returns:
xtrue if read only.
User Guide References:
void | KeepArrowTypeAsIs | (boolean ArrowType) |
Parameters:
ArrowType
User Guide References:
Modifies the definition of an existing detail note item.
Parameters:
Instructions
The instructions object describing the new detail note item.
User Guide References:
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
pfcDetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
User Guide References:
void | SetDisplayed | (boolean Display) |
Sets note data displayed. This is useful for notes whose owner is not displayed in session.
Parameters:
Display
User Guide References:
Set elbow to leader note.
Parameters:
Length
length of leader elbow.
Direction
direction of leader elbow.
User Guide References:
Sets free attachment information of note.
Parameters:
Attachment
free attachment
User Guide References:
Sets leader attachment information of note.
Exceptions thrown (but not limited to):
Parameters:
LeaderAttachs
leaders
Sets textstyle of note.
Parameters:
TextStyle
Textstyle.
User Guide References:
Sets offset attachment information of note.
Parameters:
Attachment
offset attachment
User Guide References:
Sets on item attachment information of note.
Parameters:
Attachment
on item attachment
User Guide References:
void | SetReadOnly | (boolean ReadOnly) |
Sets note read-only.
Parameters:
ReadOnly
User Guide References:
Exceptions thrown (but not limited to):
Parameters:
TextLines
User Guide References:
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.
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
pfcDetailNoteInstructions attribute IsDisplayed, and regenerate the drawing.
User Guide References: