InsertSettingsBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# InsertSettingsBuilder Class

class `NXOpen.AME.``InsertSettingsBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Re-usable UI for Settings properties in Insert EO and Insert Template dialog

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
AspectPlacement | Returns or sets the aspect placement
CopiesPerParent | Returns or sets the number of copies to insert per parent
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## AspectPlacement

`InsertSettingsBuilder.``AspectPlacement`

  Returns or sets the aspect placement

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

  Getter Method

  Signature `AspectPlacement`

  Returns: |
  Return type: | bool

  New in version NX12.0.0.

  License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

  Setter Method

  Signature `AspectPlacement`

  Parameters: | aspectPlacement (bool) –

  New in version NX12.0.0.

  License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

## CopiesPerParent

`InsertSettingsBuilder.``CopiesPerParent`

  Returns or sets the number of copies to insert per parent

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

  Getter Method

  Signature `CopiesPerParent`

  Returns: |
  Return type: | int

  New in version NX12.0.0.

  License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

  Setter Method

  Signature `CopiesPerParent`

  Parameters: | copiesPerParent (int) –

  New in version NX12.0.0.

  License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

# Method Detail

## Validate

`InsertSettingsBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.