AnnotationAssociativeOriginData_Struct Struct — NXOpen Python API Reference 12.0.0 documentation

# 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 .

  Constructor: NXOpen.Annotations.Annotation.AssociativeOriginData()

# 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 `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.AssociativeOriginType`

## View

`AnnotationAssociativeOriginData_Struct.``View`

  View of associativity for the annotation.

  Used for `NXOpen.Annotations.AssociativeOriginType.RelativeToView` `-------------------------------------`

  Field Value Type:`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` `-------------------------------------`

  Field Value Type:`NXOpen.View`

## PointOnGeometry

`AnnotationAssociativeOriginData_Struct.``PointOnGeometry`

  Absolute point in absolute space the annotation is associated with.

  `-------------------------------------`

  Field Value Type:`NXOpen.Point`

## VertAnnotation

`AnnotationAssociativeOriginData_Struct.``VertAnnotation`

  Annotation to align with.

  Used for `NXOpen.Annotations.AssociativeOriginType.VerticallyAligned` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.Annotation`

## VertAlignmentPosition

`AnnotationAssociativeOriginData_Struct.``VertAlignmentPosition`

  Alignment position on vert_annotation to align to.

  Used for `NXOpen.Annotations.AssociativeOriginType.VerticallyAligned` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.AlignmentPosition`

## HorizAnnotation

`AnnotationAssociativeOriginData_Struct.``HorizAnnotation`

  Annotation to align with.

  Used for `NXOpen.Annotations.AssociativeOriginType.HorizontallyAligned` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.Annotation`

## HorizAlignmentPosition

`AnnotationAssociativeOriginData_Struct.``HorizAlignmentPosition`

  Alignment position on horiz_annotation to align to.

  Used for `NXOpen.Annotations.AssociativeOriginType.HorizontallyAligned` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.AlignmentPosition`

## AlignedAnnotation

`AnnotationAssociativeOriginData_Struct.``AlignedAnnotation`

  Alignment annotation.

  Used for `NXOpen.Annotations.AssociativeOriginType.AlignedWithArrows`. `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.Annotation`

## DimensionLine

`AnnotationAssociativeOriginData_Struct.``DimensionLine`

  1 for dimension line 1, 2 for dimension line 2.

  Used for `NXOpen.Annotations.AssociativeOriginType.AlignedWithArrows` `-------------------------------------`

  Field Value Type: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` `-------------------------------------`

  Field Value Type:`NXOpen.View`

## AssociatedPoint

`AnnotationAssociativeOriginData_Struct.``AssociatedPoint`

  Origin location of annotation.

  Used for `NXOpen.Annotations.AssociativeOriginType.AtAPoint` `-------------------------------------`

  Field Value Type:`NXOpen.Point`

## OffsetAnnotation

`AnnotationAssociativeOriginData_Struct.``OffsetAnnotation`

  Annotation to align to.

  `NXOpen.Annotations.AssociativeOriginType.OffsetFromText` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.Annotation`

## OffsetAlignmentPosition

`AnnotationAssociativeOriginData_Struct.``OffsetAlignmentPosition`

  Alignment position on annotation to align with.

  `NXOpen.Annotations.AssociativeOriginType.OffsetFromText` `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.AlignmentPosition`

## XOffsetFactor

`AnnotationAssociativeOriginData_Struct.``XOffsetFactor`

  X Offset factor from associated point.

  `NXOpen.Annotations.AssociativeOriginType.OffsetFromText` `-------------------------------------`

  Field Value Type:float

## YOffsetFactor

`AnnotationAssociativeOriginData_Struct.``YOffsetFactor`

  Y Offset factor from associated point.

  `NXOpen.Annotations.AssociativeOriginType.OffsetFromText` `-------------------------------------`

  Field Value Type:float

## StackAlignmentPosition

`AnnotationAssociativeOriginData_Struct.``StackAlignmentPosition`

  `-------------------------------------`

  Field Value Type:`NXOpen.Annotations.StackAlignmentPosition`