AnnotationAssociativeOriginData_Struct Struct¶
NXOpen.Annotations.Annotation.AssociativeOriginData is an alias for NXOpen.Annotations.AnnotationAssociativeOriginData_Struct
-
class
NXOpen.Annotations.
AnnotationAssociativeOriginData_Struct
¶ Bases:
object
Describes the geometry that an annotation’s origin is associated with
Fields¶
Field | Description |
---|---|
OriginType | Type of associativity |
View | View of associativity for the annotation. |
ViewOfGeometry | The member view in which the absolute model point lies. |
PointOnGeometry | Absolute point in absolute space the annotation is associated with. |
VertAnnotation | Annotation to align with. |
VertAlignmentPosition | Alignment position on vert_annotation to align to. |
HorizAnnotation | Annotation to align with. |
HorizAlignmentPosition | Alignment position on horiz_annotation to align to. |
AlignedAnnotation | Alignment annotation. |
DimensionLine | 1 for dimension line 1, 2 for dimension line 2. |
AssociatedView | The member view in which the absolute model point lies. |
AssociatedPoint | Origin location of annotation. |
OffsetAnnotation | Annotation to align to. |
OffsetAlignmentPosition | Alignment position on annotation to align with. |
XOffsetFactor | X Offset factor from associated point. |
YOffsetFactor | Y Offset factor from associated point. |
StackAlignmentPosition |
OriginType¶
-
AnnotationAssociativeOriginData_Struct.
OriginType
¶ Type of associativity
-------------------------------------
Getter Method Signature
OriginType()
Returns: Return type: NXOpen.Annotations.AssociativeOriginType
-------------------------------------
Setter Method
Signature
OriginType(value)
Parameters: value ( NXOpen.Annotations.AssociativeOriginType
) –
View¶
-
AnnotationAssociativeOriginData_Struct.
View
¶ View of associativity for the annotation.
Used for
NXOpen.Annotations.AssociativeOriginType.RelativeToView
-------------------------------------
Getter Method Signature
View()
Returns: Return type: NXOpen.View
-------------------------------------
Setter Method
Signature
View(value)
Parameters: value ( NXOpen.View
) –
ViewOfGeometry¶
-
AnnotationAssociativeOriginData_Struct.
ViewOfGeometry
¶ The member view in which the absolute model point lies.
This is used for mapping onto the drawing. Used for
NXOpen.Annotations.AssociativeOriginType.RelativeToGeometry
-------------------------------------
Getter Method Signature
ViewOfGeometry()
Returns: Return type: NXOpen.View
-------------------------------------
Setter Method
Signature
ViewOfGeometry(value)
Parameters: value ( NXOpen.View
) –
PointOnGeometry¶
-
AnnotationAssociativeOriginData_Struct.
PointOnGeometry
¶ Absolute point in absolute space the annotation is associated with.
-------------------------------------
Getter Method Signature
PointOnGeometry()
Returns: Return type: NXOpen.Point
-------------------------------------
Setter Method
Signature
PointOnGeometry(value)
Parameters: value ( NXOpen.Point
) –
VertAnnotation¶
-
AnnotationAssociativeOriginData_Struct.
VertAnnotation
¶ Annotation to align with.
Used for
NXOpen.Annotations.AssociativeOriginType.VerticallyAligned
-------------------------------------
Getter Method Signature
VertAnnotation()
Returns: Return type: NXOpen.Annotations.Annotation
-------------------------------------
Setter Method
Signature
VertAnnotation(value)
Parameters: value ( NXOpen.Annotations.Annotation
) –
VertAlignmentPosition¶
-
AnnotationAssociativeOriginData_Struct.
VertAlignmentPosition
¶ Alignment position on vert_annotation to align to.
Used for
NXOpen.Annotations.AssociativeOriginType.VerticallyAligned
-------------------------------------
Getter Method Signature
VertAlignmentPosition()
Returns: Return type: NXOpen.Annotations.AlignmentPosition
-------------------------------------
Setter Method
Signature
VertAlignmentPosition(value)
Parameters: value ( NXOpen.Annotations.AlignmentPosition
) –
HorizAnnotation¶
-
AnnotationAssociativeOriginData_Struct.
HorizAnnotation
¶ Annotation to align with.
Used for
NXOpen.Annotations.AssociativeOriginType.HorizontallyAligned
-------------------------------------
Getter Method Signature
HorizAnnotation()
Returns: Return type: NXOpen.Annotations.Annotation
-------------------------------------
Setter Method
Signature
HorizAnnotation(value)
Parameters: value ( NXOpen.Annotations.Annotation
) –
HorizAlignmentPosition¶
-
AnnotationAssociativeOriginData_Struct.
HorizAlignmentPosition
¶ Alignment position on horiz_annotation to align to.
Used for
NXOpen.Annotations.AssociativeOriginType.HorizontallyAligned
-------------------------------------
Getter Method Signature
HorizAlignmentPosition()
Returns: Return type: NXOpen.Annotations.AlignmentPosition
-------------------------------------
Setter Method
Signature
HorizAlignmentPosition(value)
Parameters: value ( NXOpen.Annotations.AlignmentPosition
) –
AlignedAnnotation¶
-
AnnotationAssociativeOriginData_Struct.
AlignedAnnotation
¶ Alignment annotation.
Used for
NXOpen.Annotations.AssociativeOriginType.AlignedWithArrows
.-------------------------------------
Getter Method Signature
AlignedAnnotation()
Returns: Return type: NXOpen.Annotations.Annotation
-------------------------------------
Setter Method
Signature
AlignedAnnotation(value)
Parameters: value ( NXOpen.Annotations.Annotation
) –
DimensionLine¶
-
AnnotationAssociativeOriginData_Struct.
DimensionLine
¶ 1 for dimension line 1, 2 for dimension line 2.
Used for
NXOpen.Annotations.AssociativeOriginType.AlignedWithArrows
-------------------------------------
Getter Method Signature
DimensionLine()
Returns: Return type: int -------------------------------------
Setter Method
Signature
DimensionLine(value)
Parameters: value (int) –
AssociatedView¶
-
AnnotationAssociativeOriginData_Struct.
AssociatedView
¶ The member view in which the absolute model point lies.
This is used for mapping onto the drawing. May be None if annotation is on the model or the point is on the drawing. Used for
NXOpen.Annotations.AssociativeOriginType.AtAPoint
-------------------------------------
Getter Method Signature
AssociatedView()
Returns: Return type: NXOpen.View
-------------------------------------
Setter Method
Signature
AssociatedView(value)
Parameters: value ( NXOpen.View
) –
AssociatedPoint¶
-
AnnotationAssociativeOriginData_Struct.
AssociatedPoint
¶ Origin location of annotation.
Used for
NXOpen.Annotations.AssociativeOriginType.AtAPoint
-------------------------------------
Getter Method Signature
AssociatedPoint()
Returns: Return type: NXOpen.Point
-------------------------------------
Setter Method
Signature
AssociatedPoint(value)
Parameters: value ( NXOpen.Point
) –
OffsetAnnotation¶
-
AnnotationAssociativeOriginData_Struct.
OffsetAnnotation
¶ Annotation to align to.
NXOpen.Annotations.AssociativeOriginType.OffsetFromText
-------------------------------------
Getter Method Signature
OffsetAnnotation()
Returns: Return type: NXOpen.Annotations.Annotation
-------------------------------------
Setter Method
Signature
OffsetAnnotation(value)
Parameters: value ( NXOpen.Annotations.Annotation
) –
OffsetAlignmentPosition¶
-
AnnotationAssociativeOriginData_Struct.
OffsetAlignmentPosition
¶ Alignment position on annotation to align with.
NXOpen.Annotations.AssociativeOriginType.OffsetFromText
-------------------------------------
Getter Method Signature
OffsetAlignmentPosition()
Returns: Return type: NXOpen.Annotations.AlignmentPosition
-------------------------------------
Setter Method
Signature
OffsetAlignmentPosition(value)
Parameters: value ( NXOpen.Annotations.AlignmentPosition
) –
XOffsetFactor¶
-
AnnotationAssociativeOriginData_Struct.
XOffsetFactor
¶ X Offset factor from associated point.
NXOpen.Annotations.AssociativeOriginType.OffsetFromText
-------------------------------------
Getter Method Signature
XOffsetFactor()
Returns: Return type: float -------------------------------------
Setter Method
Signature
XOffsetFactor(value)
Parameters: value (float) –
YOffsetFactor¶
-
AnnotationAssociativeOriginData_Struct.
YOffsetFactor
¶ Y Offset factor from associated point.
NXOpen.Annotations.AssociativeOriginType.OffsetFromText
-------------------------------------
Getter Method Signature
YOffsetFactor()
Returns: Return type: float -------------------------------------
Setter Method
Signature
YOffsetFactor(value)
Parameters: value (float) –
StackAlignmentPosition¶
-
AnnotationAssociativeOriginData_Struct.
StackAlignmentPosition
¶ -------------------------------------
Getter Method Signature
StackAlignmentPosition()
Returns: Return type: NXOpen.Annotations.StackAlignmentPosition
-------------------------------------
Setter Method
Signature
StackAlignmentPosition(value)
Parameters: value ( NXOpen.Annotations.StackAlignmentPosition
) –