ConnectionLocationBuilder Class

class NXOpen.Diagramming.ConnectionLocationBuilder

Bases: NXOpen.Diagramming.LocationBuilder

Represents a ConnectionLocationBuilder.

This is a sub-builder class and cannot be directly instantiated

New in version NX10.0.0.

Properties

Property Description
EvaluatedValueX Returns the evaluated X coordinate value that is the result calculated by the input percentage and offset.
EvaluatedValueY Returns the evaluated Y coordinate value that is the result calculated by input percentage and offset.
InputPercentX Returns or sets the user input percentage (0.
InputPercentY Returns or sets the user input percentage (0.
InputValueX Returns or sets the user input X coordinate.
InputValueY Returns or sets the user input Y coordinate.
Reference Returns or sets the sheet element whose coordinate system the coordinate is specified in.
SegmentIdentifier Returns or sets the segment identifier.
Tag Returns the Tag for this object.
UpToDate Returns the up to date flag.

Methods

Method Description
SetValueX Set the x value of the location.
SetValueY Set the y value of the location.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

SegmentIdentifier

ConnectionLocationBuilder.SegmentIdentifier

Returns or sets the segment identifier.

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

Getter Method

Signature SegmentIdentifier

Returns:
Return type:int

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SegmentIdentifier

Parameters:segmentId (int) –

New in version NX10.0.0.

License requirements: None.

Method Detail

Validate

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