Dialog Class¶
-
class
NXOpen.UIStyler.Dialog¶ Bases:
NXOpen.TransientObjectRepresents a DialogItem for UI Styler.
New in version NX5.0.0.
Methods¶
| Method | Description |
|---|---|
| Dispose | Free resources associated with the instance. |
| GetBitmap | Gets the dialog item with specified item identifier |
| GetButtonLayout | Gets the dialog item with specified item identifier |
| GetCollapsibleGroup | Gets the dialog item with specified item identifier |
| GetColorTool | Gets the dialog item with specified item identifier |
| GetDialogIndex | Gets the dialog item with specified item identifier |
| GetDialogItemUsingSelectionHandle | Gets the dialog item for a selection handle |
| GetGroupBox | Gets the dialog item with specified item identifier |
| GetIntegerItem | Gets the dialog item with specified item identifier |
| GetIntegerScale | Gets the dialog item with specified item identifier |
| GetLabelItem | Gets the dialog item with specified item identifier |
| GetMultiSelectList | Gets the dialog item with specified item identifier |
| GetMultiTextBox | Gets the dialog item with specified item identifier |
| GetOptionMenu | Gets the dialog item with specified item identifier |
| GetOptionToggle | Gets the dialog item with specified item identifier |
| GetPropertyPage | Gets the dialog item with specified item identifier |
| GetPushButton | Gets the dialog item with specified item identifier |
| GetRadioBox | Gets the dialog item with specified item identifier |
| GetRealItem | Gets the dialog item with specified item identifier |
| GetRealScale | Gets the dialog item with specified item identifier |
| GetRowColumn | Gets the dialog item with specified item identifier |
| GetScrolledWindow | Gets the dialog item with specified item identifier |
| GetSelectionBox | Gets the dialog item with specified item identifier |
| GetSeparator | Gets the dialog item with specified item identifier |
| GetSingleSelectList | Gets the dialog item with specified item identifier |
| GetStringItem | Gets the dialog item with specified item identifier |
| GetStylerItem | Gets the dialog item with specified item identifier |
| GetTabControl | Gets the dialog item with specified item identifier |
| GetToggle | Gets the dialog item with specified item identifier |
| GetToolPalette | Gets the dialog item with specified item identifier |
| GetWideString | Gets the dialog item with specified item identifier |
| RegisterWithUiMenu | Registers the dialog with a menu item. |
| Show | Displays an NX (UIStyler generated) bottom dialog. |
Enumerations¶
| DialogItemType Enumeration | Represents dialog item type |
Method Detail¶
Dispose¶
-
Dialog.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.
GetBitmap¶
-
Dialog.GetBitmap¶ Gets the dialog item with specified item identifier
Signature
GetBitmap(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.BitMapNew in version NX5.0.0.
License requirements: None.
GetButtonLayout¶
-
Dialog.GetButtonLayout¶ Gets the dialog item with specified item identifier
Signature
GetButtonLayout(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.ButtonLayoutNew in version NX5.0.0.
License requirements: None.
GetCollapsibleGroup¶
-
Dialog.GetCollapsibleGroup¶ Gets the dialog item with specified item identifier
Signature
GetCollapsibleGroup(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.CollapsibleGroupNew in version NX5.0.0.
License requirements: None.
GetColorTool¶
-
Dialog.GetColorTool¶ Gets the dialog item with specified item identifier
Signature
GetColorTool(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.ColorToolNew in version NX5.0.0.
License requirements: None.
GetDialogIndex¶
-
Dialog.GetDialogIndex¶ Gets the dialog item with specified item identifier
Signature
GetDialogIndex(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.DialogItemNew in version NX5.0.0.
License requirements: None.
GetDialogItemUsingSelectionHandle¶
-
Dialog.GetDialogItemUsingSelectionHandle¶ Gets the dialog item for a selection handle
Signature
GetDialogItemUsingSelectionHandle(select)Parameters: select ( NXOpen.SelectionHandle) – Selection handleReturns: Return type: NXOpen.UIStyler.StylerItemNew in version NX5.0.0.
License requirements: None.
GetGroupBox¶
-
Dialog.GetGroupBox¶ Gets the dialog item with specified item identifier
Signature
GetGroupBox(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.GroupBoxNew in version NX5.0.0.
License requirements: None.
GetIntegerItem¶
-
Dialog.GetIntegerItem¶ Gets the dialog item with specified item identifier
Signature
GetIntegerItem(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.IntegerItemNew in version NX5.0.0.
License requirements: None.
GetIntegerScale¶
-
Dialog.GetIntegerScale¶ Gets the dialog item with specified item identifier
Signature
GetIntegerScale(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.IntegerScaleNew in version NX5.0.0.
License requirements: None.
GetLabelItem¶
-
Dialog.GetLabelItem¶ Gets the dialog item with specified item identifier
Signature
GetLabelItem(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.LabelItemNew in version NX5.0.0.
License requirements: None.
GetMultiSelectList¶
-
Dialog.GetMultiSelectList¶ Gets the dialog item with specified item identifier
Signature
GetMultiSelectList(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.MultiSelectListNew in version NX5.0.0.
License requirements: None.
GetMultiTextBox¶
-
Dialog.GetMultiTextBox¶ Gets the dialog item with specified item identifier
Signature
GetMultiTextBox(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.MultiTextBoxNew in version NX5.0.0.
License requirements: None.
GetOptionToggle¶
-
Dialog.GetOptionToggle¶ Gets the dialog item with specified item identifier
Signature
GetOptionToggle(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.OptionToggleNew in version NX5.0.0.
License requirements: None.
GetPropertyPage¶
-
Dialog.GetPropertyPage¶ Gets the dialog item with specified item identifier
Signature
GetPropertyPage(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.PropertyPageNew in version NX5.0.0.
License requirements: None.
GetPushButton¶
-
Dialog.GetPushButton¶ Gets the dialog item with specified item identifier
Signature
GetPushButton(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.PushButtonNew in version NX5.0.0.
License requirements: None.
GetRadioBox¶
-
Dialog.GetRadioBox¶ Gets the dialog item with specified item identifier
Signature
GetRadioBox(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.RadioBoxNew in version NX5.0.0.
License requirements: None.
GetRealItem¶
-
Dialog.GetRealItem¶ Gets the dialog item with specified item identifier
Signature
GetRealItem(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.RealItemNew in version NX5.0.0.
License requirements: None.
GetRealScale¶
-
Dialog.GetRealScale¶ Gets the dialog item with specified item identifier
Signature
GetRealScale(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.RealScaleNew in version NX5.0.0.
License requirements: None.
GetRowColumn¶
-
Dialog.GetRowColumn¶ Gets the dialog item with specified item identifier
Signature
GetRowColumn(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.RowColumnNew in version NX5.0.0.
License requirements: None.
GetScrolledWindow¶
-
Dialog.GetScrolledWindow¶ Gets the dialog item with specified item identifier
Signature
GetScrolledWindow(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.ScrolledWindowNew in version NX5.0.0.
License requirements: None.
GetSelectionBox¶
-
Dialog.GetSelectionBox¶ Gets the dialog item with specified item identifier
Signature
GetSelectionBox(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.SelectionBoxNew in version NX5.0.0.
License requirements: None.
GetSeparator¶
-
Dialog.GetSeparator¶ Gets the dialog item with specified item identifier
Signature
GetSeparator(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.SeparatorNew in version NX5.0.0.
License requirements: None.
GetSingleSelectList¶
-
Dialog.GetSingleSelectList¶ Gets the dialog item with specified item identifier
Signature
GetSingleSelectList(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.SingleSelectListNew in version NX5.0.0.
License requirements: None.
GetStringItem¶
-
Dialog.GetStringItem¶ Gets the dialog item with specified item identifier
Signature
GetStringItem(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.StringItemNew in version NX5.0.0.
License requirements: None.
GetStylerItem¶
-
Dialog.GetStylerItem¶ Gets the dialog item with specified item identifier
Signature
GetStylerItem(itemIdentifier, type)Parameters: - itemIdentifier (str) – Dialog name
- type (
NXOpen.UIStyler.DialogItemType) –
Returns: Return type: New in version NX5.0.0.
License requirements: None.
GetTabControl¶
-
Dialog.GetTabControl¶ Gets the dialog item with specified item identifier
Signature
GetTabControl(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.TabControlNew in version NX5.0.0.
License requirements: None.
GetToggle¶
-
Dialog.GetToggle¶ Gets the dialog item with specified item identifier
Signature
GetToggle(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.ToggleNew in version NX5.0.0.
License requirements: None.
GetToolPalette¶
-
Dialog.GetToolPalette¶ Gets the dialog item with specified item identifier
Signature
GetToolPalette(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.ToolPaletteNew in version NX5.0.0.
License requirements: None.
GetWideString¶
-
Dialog.GetWideString¶ Gets the dialog item with specified item identifier
Signature
GetWideString(itemIdentifier)Parameters: itemIdentifier (str) – Dialog name Returns: Return type: NXOpen.UIStyler.WideStringNew in version NX5.0.0.
License requirements: None.
Show¶
-
Dialog.Show¶ Displays an NX (UIStyler generated) “bottom” dialog.
This dialog is displayed to NX. Show Method can only be called once for the dialog object.Once show method is called
UIStyler.Dialog.GetStylerItem()will create any itemSignature
Show()Returns: Return type: NXOpen.UIStyler.DialogResponseNew in version NX5.0.0.
License requirements: None.