public interface Gdt extends SimpleDraftingAid, IFcf
SimpleDraftingAid.UserSymbolSizeData
Modifier and Type | Method and Description |
---|---|
boolean |
canChangeLeaderPositionParameter()
Returns a flag indicating whether the
Annotations.Gdt#leaderPositionParameter can be changed
License requirements: None. |
boolean |
hasLeaderPositionParameter()
Returns a flag indicating whether this GDT has a leader position parameter.
|
boolean |
hasStubbedDatumStyle()
Returns a flag indicating whether the leader has a stubbed datum style.
|
double |
leaderPositionParameter()
Returns a parameter which indicates where the leader end point is located on
the object that it is attached to. 0.0 indicates the start of the
object that it is attached to and 1.0 indicates the end of the object.
|
void |
setHasStubbedDatumStyle(boolean stubbed)
Sets a flag indicating whether the leader has a stubbed datum style.
|
void |
setLeaderPositionParameter(double param)
Sets a parameter which indicates where the leader end point is located on
the object that it is attached to. 0.0 indicates the start of the
object that it is attached to and 1.0 indicates the end of the object.
|
void |
setSymbolCfw(LineCfw cfw)
Sets the symbol color, font, and width.
|
getText, getUserSymbolPreferences, getUserSymbolSize, setText, setUserSymbolPreferences, setUserSymbolSize
getFcfFrameData, getFcfFrameDataArray, setFcfFrameData, setFcfFrameData
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
void setSymbolCfw(LineCfw cfw) throws NXException, RemoteException
Update.doUpdate(int)
.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
cfw
- NXException
RemoteException
boolean hasStubbedDatumStyle() throws NXException, RemoteException
NXException
RemoteException
void setHasStubbedDatumStyle(boolean stubbed) throws NXException, RemoteException
stubbed
- NXException
RemoteException
boolean hasLeaderPositionParameter() throws NXException, RemoteException
NXException
RemoteException
double leaderPositionParameter() throws NXException, RemoteException
Annotations.Gdt#hasLeaderPositionParameter
is true.
You should not attempt to
change this parameter unless
Annotations.Gdt#canChangeLeaderPositionParameter
returns true.
This parameter cannot not set for GDTs with the following leader
types: plain, around, plain-aligned, around-aligned, on-annotation,
and on-stub.
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
NXException
RemoteException
void setLeaderPositionParameter(double param) throws NXException, RemoteException
Annotations.Gdt#hasLeaderPositionParameter
is true.
You should not attempt to
change this parameter unless
Annotations.Gdt#canChangeLeaderPositionParameter
returns true.
This parameter cannot not set for GDTs with the following leader
types: plain, around, plain-aligned, around-aligned, on-annotation,
and on-stub.
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
param
- NXException
RemoteException
boolean canChangeLeaderPositionParameter() throws NXException, RemoteException
Annotations.Gdt#leaderPositionParameter
can be changed
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.