Attachment Class

class NXOpen.UIStyler.Attachment

Bases: NXOpen.TransientObject

Represents an Attachment for UI Styler

New in version NX5.0.0.

Methods

Method Description
Dispose Free resources associated with the instance.
SetAttachTypeLeft Sets the attach type left
SetAttachTypeRight Sets the attach type right
SetAttachTypeTop Sets the attach type top
SetCenter Sets whether the dialog item is at the center
SetLeftDialogItem Sets the left dialog item
SetLeftOffset Sets the left offset
SetRightDialogItem Sets the right dialog item
SetRightOffset Sets the right offset
SetTopDialogItem Sets the top dialog item
SetTopOffset Sets the top offset

Enumerations

AttachmentAttachType Enumeration Represents alignment option for Styler Item

Method Detail

Dispose

Attachment.Dispose

Free resources associated with the instance.

After this method is called, it is illegal to use the object. In .NET or Java, this method is automatically called when the object is deleted by the garbage collector.

Signature Dispose()

New in version NX5.0.0.

License requirements: None.

SetAttachTypeLeft

Attachment.SetAttachTypeLeft

Sets the attach type left

Signature SetAttachTypeLeft(attachTypeLeft)

Parameters:attachTypeLeft (NXOpen.UIStyler.AttachmentAttachType) –

New in version NX5.0.0.

License requirements: None.

SetAttachTypeRight

Attachment.SetAttachTypeRight

Sets the attach type right

Signature SetAttachTypeRight(attachTypeRight)

Parameters:attachTypeRight (NXOpen.UIStyler.AttachmentAttachType) –

New in version NX5.0.0.

License requirements: None.

SetAttachTypeTop

Attachment.SetAttachTypeTop

Sets the attach type top

Signature SetAttachTypeTop(attachTypeTop)

Parameters:attachTypeTop (NXOpen.UIStyler.AttachmentAttachType) – attach_type_top

New in version NX5.0.0.

License requirements: None.

SetCenter

Attachment.SetCenter

Sets whether the dialog item is at the center

Signature SetCenter(isCenter)

Parameters:isCenter (bool) – center

New in version NX5.0.0.

License requirements: None.

SetLeftDialogItem

Attachment.SetLeftDialogItem

Sets the left dialog item

Signature SetLeftDialogItem(leftItemIdentifire)

Parameters:leftItemIdentifire (str) – Left item identifier

New in version NX5.0.0.

License requirements: None.

SetLeftOffset

Attachment.SetLeftOffset

Sets the left offset

Signature SetLeftOffset(offsetLeft)

Parameters:offsetLeft (int) –

New in version NX5.0.0.

License requirements: None.

SetRightDialogItem

Attachment.SetRightDialogItem

Sets the right dialog item

Signature SetRightDialogItem(rightItemIdentifire)

Parameters:rightItemIdentifire (str) – Right item identifier

New in version NX5.0.0.

License requirements: None.

SetRightOffset

Attachment.SetRightOffset

Sets the right offset

Signature SetRightOffset(offsetRight)

Parameters:offsetRight (int) –

New in version NX5.0.0.

License requirements: None.

SetTopDialogItem

Attachment.SetTopDialogItem

Sets the top dialog item

Signature SetTopDialogItem(topItemIdentifire)

Parameters:topItemIdentifire (str) – Top item identifier

New in version NX5.0.0.

License requirements: None.

SetTopOffset

Attachment.SetTopOffset

Sets the top offset

Signature SetTopOffset(offsetTop)

Parameters:offsetTop (int) –

New in version NX5.0.0.

License requirements: None.