Interface WDetailNoteItem
Description
Extends the functionality of
DetailNoteItemThis is the actual type of Detail Note Items in Object Toolkit.
User Guide References:
ShowInDrawing,
Display,
DisplayInDrawing,
Undisplay,
UndisplayInDrawing,
IsShown,
Update,
GetTextStyle,
SetTextStyle,
GetTextStyleInDrawing,
SetTextStyleInDrawing,
UpdateAttachment,
UpdatePosition,
IsAssociative,
GetAttachmentAssociativity,
GetAnnotationElement,
IsInactive,
Rotate,
ConvertLegacy,
NeedsConversion,
GetSecurityMarking,
SetSecurityMarking,
IsUsingXSecReference GetSymbolDef,
Draw,
Show,
Erase,
Remove,
GetInstructions,
Modify,
GetTextLines,
SetTextLines,
SetDisplayed,
IsDisplayed,
IsReadOnly,
SetReadOnly,
GetAttachment,
SetFreeAttachment,
SetOffsetAttachment,
SetOnItemAttachment,
SetLeaders,
SetElbow,
GetElbowLength,
GetNoteTextStyle,
SetNoteTextStyle,
GetLineEnvelope,
GetModelReference,
SetURL,
GetURL,
GetOwner,
KeepArrowTypeAsIs Method Summary
void | |
| Add a leader to the specified detail note. |
void | |
| LICENSE: 222 Add a leader with arrow type to the specified detail note. |
| |
| Returns a list of all symbol instances which are declared in a detail note. |
| |
| LICENSE: 222 Line envelope for note. The order of coordinates in the envelope is: 0 ----------------------------1 | | 2 ----------------------------3 This ordering of coordinates is preserved even if the text is mirrored or applied at a rotation angle. |
| |
| LICENSE: 222 Gets the annotation plane for the 3D notes (not applicable to 2D notes). |
| |
| Get associative note in drawing for solid note. |
| |
| Get associative note in solid for drawing note. |
| |
| LICENSE: 222 Get direction of elbow for leader of the note. |
| |
| Return the geometric tolerance shown in a detail note. |
| |
| LICENSE: 222 Gets arrow types for all the leaders in a note. |
| |
| LICENSE: 222 Get style of the leader. |
| |
| |
double | |
| |
void | |
| LICENSE: 222 Remove leader from detail note. |
void | |
| LICENSE: 222 Sets the annotation plane for the 3D notes. (not applicable to 2D notes). |
void | |
| LICENSE: 222 Set style of the leader. |
void | |
| LICENSE: 222 Modify note with specifed leaders and arrow types. |
Method Detail
GetLeaderArrowTypes |
| GetLeaderArrowTypes | () |
Gets arrow types for all the leaders in a note.
Exceptions thrown (but not limited to):
XToolkitNotFound - No leaders were found. OR The note attachment structure does not have any leader endpoints. OR This attachment is not a leader and does not include an arrow.
User Guide References:
Returns:
SetLeadersWithArrowType |
void | SetLeadersWithArrowType | |
Modify note with specifed leaders and arrow types.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LeadrAttach
Leader attachments.
Types
arrow types.
Returns:
Add a leader to the specified detail note.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LeadrAttach
The leader.
Returns:
AddLeaderWithArrowType |
void | AddLeaderWithArrowType | |
Add a leader with arrow type to the specified detail note.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LeadrAttach
Leader attachment
Type
arrow type.
Returns:
RemoveLeader |
void | RemoveLeader | (int index) |
Remove leader from detail note.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
index
Index of leader. Indices starts from 0.
Returns:
GetElbowDirection |
| GetElbowDirection | () |
Get direction of elbow for leader of the note.
Exceptions thrown (but not limited to):
XToolkitCantAccess - The note uses the default elbow length (this is possible for flat-to-screen notes only).
User Guide References:
Returns:
Direction.
GetLeaderStyle |
| GetLeaderStyle | () |
Get style of the leader.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Leader Style.
SetLeaderStyle |
void | SetLeaderStyle | |
Set style of the leader.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Style
leader style.
Returns:
SetAnnotationPlane |
void | SetAnnotationPlane | |
Sets the annotation plane for the 3D notes. (not applicable to 2D notes).
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
AnnotPlane
The annotation plane.
Returns:
GetAnnotationPlane |
| GetAnnotationPlane | () |
Gets the annotation plane for the 3D notes (not applicable to 2D notes).
Exceptions thrown (but not limited to):
User Guide References:
Returns:
The annotation plane.
GetAssociativeNoteInDrawing |
| GetAssociativeNoteInDrawing | |
Get associative note in drawing for solid note.
Exceptions thrown (but not limited to):
Parameters:
DrawingModel
Returns:
A note object owned by drawing.
GetAssociativeNoteInSolid |
| GetAssociativeNoteInSolid | () |
Get associative note in solid for drawing note.
Exceptions thrown (but not limited to):
Returns:
A note object owned by solid.
Get3DLineEnvelope |
| Get3DLineEnvelope | (int LineNumber) |
Line envelope for note. The order of coordinates in the envelope is:
0 ----------------------------1
| |
2 ----------------------------3
This ordering of coordinates is preserved even if the text is mirrored or applied at a rotation angle.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LineNumber
line number.
Returns:
Line envelope.
CollectSymbolInstances |
| CollectSymbolInstances | () |
Returns a list of all symbol instances which are declared in a detail note.
The instances are returned in the order they are encountered in the note text.
Exceptions thrown (but not limited to):
XToolkitNotFound - There are no symbol instances generated as a callout in this note.
User Guide References:
Returns:
Symbol instances declared in the note.
GetLegacyLeaderNoteLength |
double | GetLegacyLeaderNoteLength | () |
Exceptions thrown (but not limited to):
XToolkitInvalidType - This note is not a directed (normal or tangent) leader type note or is in an annotaton plane.
User Guide References:
Returns:
GetLegacyLeaderNoteDirection |
| GetLegacyLeaderNoteDirection | () |
Exceptions thrown (but not limited to):
XToolkitInvalidType - This note is not a directed (normal or tangent) leader type note or is in an annotaton plane.
User Guide References:
Returns:
Return the geometric tolerance shown in a detail note.
User Guide References:
Returns:
The geometric tolerance handle