ComponentSettingsBlockBuilder Class

class NXOpen.Layout2d.ComponentSettingsBlockBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents the Component Settings Button (Layout2d.

ComponentSettingsBlockBuilder)

New in version NX10.0.0.

Properties

Property Description
ComponentSettings Returns the Component settings builder which stores the component settings
Tag Returns the Tag for this object.

Methods

Method Description
InheritSettingsFromCustomerDefault Inherit Settings From Customer Default
InheritSettingsFromPreferences Inherit Settings From Preference
InheritSettingsFromSelectedObject Inherit Settings From Selected Objects
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

ComponentSettings

ComponentSettingsBlockBuilder.ComponentSettings

Returns the Component settings builder which stores the component settings

-------------------------------------

Getter Method

Signature ComponentSettings

Returns:
Return type:NXOpen.Layout2d.ComponentSettingsBuilder

New in version NX10.0.0.

License requirements: None.

Method Detail

InheritSettingsFromCustomerDefault

ComponentSettingsBlockBuilder.InheritSettingsFromCustomerDefault

Inherit Settings From Customer Default

Signature InheritSettingsFromCustomerDefault()

New in version NX10.0.0.

License requirements: nx_layout (“NX Layout”)

InheritSettingsFromPreferences

ComponentSettingsBlockBuilder.InheritSettingsFromPreferences

Inherit Settings From Preference

Signature InheritSettingsFromPreferences()

New in version NX10.0.0.

License requirements: nx_layout (“NX Layout”)

InheritSettingsFromSelectedObject

ComponentSettingsBlockBuilder.InheritSettingsFromSelectedObject

Inherit Settings From Selected Objects

Signature InheritSettingsFromSelectedObject(selectedObject)

Parameters:selectedObject (NXOpen.NXObject) – The selected 2C Component object. None is not allowed.

New in version NX10.0.0.

License requirements: nx_layout (“NX Layout”)

Validate

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