GeneralConnectionSettingsBuilder Class¶
-
class
NXOpen.AME.
GeneralConnectionSettingsBuilder
¶ Bases:
NXOpen.Builder
Builder for the General Connection Settings dialog
To create a new instance of this class, use
NXOpen.AME.AMEManager.CreateGeneralConnectionSettingsBuilder()
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
AutoConnection | Returns or sets the setting for Auto-Connection between symbols |
EnablePointWiring | Returns or sets the point wiring setting |
JunctionRepresentationStyle | Returns or sets the representation style for TeeJunction |
KeepConnectionOnMove | Returns or sets the setting for keep connection on moving the symbols |
MinimalSegmentLength | Returns or sets the minimal segment length setting |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ResetToDefault | Resets general connection settings to default |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
AutoConnection¶
-
GeneralConnectionSettingsBuilder.
AutoConnection
¶ Returns or sets the setting for Auto-Connection between symbols
-------------------------------------
Getter Method
Signature
AutoConnection
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
AutoConnection
Parameters: autoConnection (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
EnablePointWiring¶
-
GeneralConnectionSettingsBuilder.
EnablePointWiring
¶ Returns or sets the point wiring setting
-------------------------------------
Getter Method
Signature
EnablePointWiring
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
EnablePointWiring
Parameters: pointWiring (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
JunctionRepresentationStyle¶
-
GeneralConnectionSettingsBuilder.
JunctionRepresentationStyle
¶ Returns or sets the representation style for TeeJunction
-------------------------------------
Getter Method
Signature
JunctionRepresentationStyle
Returns: Return type: NXOpen.AME.AmeJunctionRepresentationStyleType
New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
JunctionRepresentationStyle
Parameters: junctionRepresentationStyle ( NXOpen.AME.AmeJunctionRepresentationStyleType
) –New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
KeepConnectionOnMove¶
-
GeneralConnectionSettingsBuilder.
KeepConnectionOnMove
¶ Returns or sets the setting for keep connection on moving the symbols
-------------------------------------
Getter Method
Signature
KeepConnectionOnMove
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
KeepConnectionOnMove
Parameters: keepConnection (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
MinimalSegmentLength¶
-
GeneralConnectionSettingsBuilder.
MinimalSegmentLength
¶ Returns or sets the minimal segment length setting
-------------------------------------
Getter Method
Signature
MinimalSegmentLength
Returns: Return type: float New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
MinimalSegmentLength
Parameters: segmentLength (float) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Method Detail¶
ResetToDefault¶
-
GeneralConnectionSettingsBuilder.
ResetToDefault
¶ Resets general connection settings to default
Signature
ResetToDefault()
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Validate¶
-
GeneralConnectionSettingsBuilder.
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.