AnnotationPlacement Class¶
-
class
NXOpen.Annotations.
AnnotationPlacement
¶ Bases:
NXOpen.TaggedObject
Represents an object that journals the adding of a leader and setting of the origin for dialogs that use a builder
New in version NX5.0.0.
Methods¶
Method | Description |
---|---|
GetOrigin | Gets the origin of the current annotation |
SetLeaderBundle | Sets the leader bundle for the current annotation in the builder |
SetOrigin | Sets the origin of the current annotation |
Method Detail¶
GetOrigin¶
-
AnnotationPlacement.
GetOrigin
¶ Gets the origin of the current annotation
Signature
GetOrigin()
Returns: a tuple Return type: A tuple consisting of (originData, origin). originData is a NXOpen.Annotations.AnnotationAssociativeOriginData_Struct
. The origin data origin is aNXOpen.Point3d
. The origin stored on the annotationNew in version NX5.0.0.
License requirements: None.
SetLeaderBundle¶
-
AnnotationPlacement.
SetLeaderBundle
¶ Sets the leader bundle for the current annotation in the builder
Signature
SetLeaderBundle(jaLeader)
Parameters: jaLeader ( NXOpen.Annotations.LeaderBundle
) – The leader bundle to setNew in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
SetOrigin¶
-
AnnotationPlacement.
SetOrigin
¶ Sets the origin of the current annotation
Signature
SetOrigin(originData, origin)
Parameters: - originData (
NXOpen.Annotations.AnnotationAssociativeOriginData_Struct
) – The origin data - origin (
NXOpen.Point3d
) – The new origin
New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
- originData (