public interface LeaderBundle extends TransientObject
Modifier and Type | Method and Description |
---|---|
LeaderAlignment |
leaderAlignment()
Returns the leader alignment
License requirements: None. |
LeaderSide |
leaderSide()
Returns the leader side
License requirements: None. |
LeaderType |
leaderType()
Returns the leader type
License requirements: None. |
int |
numberOfLeaders()
Returns the number of leaders.
|
void |
setLeaderAlignment(LeaderAlignment leaderAlignment)
Sets the leader alignment
License requirements: None. |
void |
setLeaderData(int n,
LeaderAttachment attachmentType,
NXObject attachmentObject,
View attachmentView,
Point3d endPoint,
double angle,
Point3d[] intermediatePoints)
Sets the leader data for the nth leader
License requirements: None. |
void |
setLeaderSide(LeaderSide leaderSide)
Sets the leader side
License requirements: None. |
void |
setLeaderType(LeaderType leaderType)
Sets the leader type
License requirements: None. |
void |
setNumberOfLeaders(int numLeaders)
Sets the number of leaders.
|
_value, dispose, printTestData, printTestData
LeaderType leaderType() throws NXException, RemoteException
NXException
RemoteException
void setLeaderType(LeaderType leaderType) throws NXException, RemoteException
leaderType
- NXException
RemoteException
LeaderSide leaderSide() throws NXException, RemoteException
NXException
RemoteException
void setLeaderSide(LeaderSide leaderSide) throws NXException, RemoteException
leaderSide
- NXException
RemoteException
LeaderAlignment leaderAlignment() throws NXException, RemoteException
NXException
RemoteException
void setLeaderAlignment(LeaderAlignment leaderAlignment) throws NXException, RemoteException
leaderAlignment
- NXException
RemoteException
int numberOfLeaders() throws NXException, RemoteException
Constants.MAX_LEADERS
.
The only leader types that permit more than one leader are the following:
Plain, Around, PlainAligned, and AroundAligned.
PlainAligned and AroundAligned require at least one leader.
NXException
RemoteException
void setNumberOfLeaders(int numLeaders) throws NXException, RemoteException
Constants.MAX_LEADERS
.
The only leader types that permit more than one leader are the following:
Plain, Around, PlainAligned, and AroundAligned.
PlainAligned and AroundAligned require at least one leader.
numLeaders
- NXException
RemoteException
void setLeaderData(int n, LeaderAttachment attachmentType, NXObject attachmentObject, View attachmentView, Point3d endPoint, double angle, Point3d[] intermediatePoints) throws NXException, RemoteException
n
- The leader to set the data forattachmentType
- attachmentObject
- Attachment object. Should be null
if the attachment type is Screen.
Must not be null if the attachment type
is OnObject.attachmentView
- The view that the leader will be associated with.
Must not be nullendPoint
- The coordinates of the leader's end point.
If the attachment type is Screen, the
coordinates will be view coordinates.
If the attachment type is OnObject, the
coordinates will be in the absolute
coordinate system of the model that owns
the attachment objectangle
- intermediatePoints
- Intermediate points for the leader. The number of points must not
exceed Constants.MAX_LEADER_INTERMEDIATE_POINTS
.
The points are in the view coordinate system.
The only leader types that permit intermediate points are the
following: Plain, Around, PlainAligned, AroundAligned,
DatumArrow, and GbDatumArrow.NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.