TypedConnectorFeatureBuilder Class¶
-
class
NXOpen.LineDesigner.
TypedConnectorFeatureBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
LineDesigner.TypedConnectorFeature
Features.FeatureBuilder
To create a new instance of this class, use
NXOpen.LineDesigner.LineDesignerManager.CreateTypedConnectorFeatureBuilder()
Default values.
Property Value MismatchBehavior Dontcreatetheconnection ReversePropagation 0 New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
ConnectorCompatibleTypeName | Returns or sets the connector compatible type name |
ConnectorDirection | Returns or sets the connector direction |
ConnectorName | Returns or sets the connector name |
ConnectorParallelToObjectDirection | Returns or sets the connector parallel to object direction |
ConnectorPoint | Returns or sets the connector point |
ConnectorTypeName | Returns or sets the connector type name |
MismatchBehavior | Returns or sets the status of behavior on mismatch property |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
ReversePropagation | Returns or sets the status of if reverse propagation is on |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature |
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. |
GetConnectorCompatibleTypeList | The compatible connector types are returns |
GetConnectorExpressionPropagationList | The connectors propagated expressions |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SelectPropagatedExpressions | The propagated expressions is set during creation of connector |
SetConnectorCompatibleTypeList | The connector compatible types are set |
SetConnectorExpressionPropagationList | The connectors propagated expressions are set |
SetNthConnectorExpressionPropagationList | The Nth expressions from connectors propagated expressions are set |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
TypedConnectorFeatureBuilderBehaviorOnMismatch Enumeration | This enum is providing possible behavior on mismatch in propagated expressions |
Property Detail¶
ConnectorCompatibleTypeName¶
-
TypedConnectorFeatureBuilder.
ConnectorCompatibleTypeName
¶ Returns or sets the connector compatible type name
-------------------------------------
Getter Method
Signature
ConnectorCompatibleTypeName
Returns: Return type: str New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorCompatibleTypeName
Parameters: connectorCompatibleTypeName (str) – New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ConnectorDirection¶
-
TypedConnectorFeatureBuilder.
ConnectorDirection
¶ Returns or sets the connector direction
-------------------------------------
Getter Method
Signature
ConnectorDirection
Returns: Return type: NXOpen.Direction
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorDirection
Parameters: connectorDirection ( NXOpen.Direction
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ConnectorName¶
-
TypedConnectorFeatureBuilder.
ConnectorName
¶ Returns or sets the connector name
-------------------------------------
Getter Method
Signature
ConnectorName
Returns: Return type: str New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorName
Parameters: connectorName (str) – New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ConnectorParallelToObjectDirection¶
-
TypedConnectorFeatureBuilder.
ConnectorParallelToObjectDirection
¶ Returns or sets the connector parallel to object direction
-------------------------------------
Getter Method
Signature
ConnectorParallelToObjectDirection
Returns: Return type: NXOpen.Direction
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorParallelToObjectDirection
Parameters: connectorParallelToObjectDirection ( NXOpen.Direction
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ConnectorPoint¶
-
TypedConnectorFeatureBuilder.
ConnectorPoint
¶ Returns or sets the connector point
-------------------------------------
Getter Method
Signature
ConnectorPoint
Returns: Return type: NXOpen.Point
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorPoint
Parameters: connectorPoint ( NXOpen.Point
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ConnectorTypeName¶
-
TypedConnectorFeatureBuilder.
ConnectorTypeName
¶ Returns or sets the connector type name
-------------------------------------
Getter Method
Signature
ConnectorTypeName
Returns: Return type: str New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ConnectorTypeName
Parameters: connectorTypeName (str) – New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
MismatchBehavior¶
-
TypedConnectorFeatureBuilder.
MismatchBehavior
¶ Returns or sets the status of behavior on mismatch property
-------------------------------------
Getter Method
Signature
MismatchBehavior
Returns: Return type: NXOpen.LineDesigner.TypedConnectorFeatureBuilderBehaviorOnMismatch
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
MismatchBehavior
Parameters: mismatchBehavior ( NXOpen.LineDesigner.TypedConnectorFeatureBuilderBehaviorOnMismatch
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
ReversePropagation¶
-
TypedConnectorFeatureBuilder.
ReversePropagation
¶ Returns or sets the status of if reverse propagation is on
-------------------------------------
Getter Method
Signature
ReversePropagation
Returns: Return type: bool New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
-------------------------------------
Setter Method
Signature
ReversePropagation
Parameters: reversePropagation (bool) – New in version NX10.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
Method Detail¶
GetConnectorCompatibleTypeList¶
-
TypedConnectorFeatureBuilder.
GetConnectorCompatibleTypeList
¶ The compatible connector types are returns
Signature
GetConnectorCompatibleTypeList()
Returns: Return type: list of str New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
GetConnectorExpressionPropagationList¶
-
TypedConnectorFeatureBuilder.
GetConnectorExpressionPropagationList
¶ The connectors propagated expressions
Signature
GetConnectorExpressionPropagationList()
Returns: Return type: list of NXOpen.Expression
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
SelectPropagatedExpressions¶
-
TypedConnectorFeatureBuilder.
SelectPropagatedExpressions
¶ The propagated expressions is set during creation of connector
Signature
SelectPropagatedExpressions()
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
SetConnectorCompatibleTypeList¶
-
TypedConnectorFeatureBuilder.
SetConnectorCompatibleTypeList
¶ The connector compatible types are set
Signature
SetConnectorCompatibleTypeList(connectorCompatibleTypeList)
Parameters: connectorCompatibleTypeList (list of str) – New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
SetConnectorExpressionPropagationList¶
-
TypedConnectorFeatureBuilder.
SetConnectorExpressionPropagationList
¶ The connectors propagated expressions are set
Signature
SetConnectorExpressionPropagationList(connectorExpressionPropagationList)
Parameters: connectorExpressionPropagationList (list of NXOpen.Expression
) –New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
SetNthConnectorExpressionPropagationList¶
-
TypedConnectorFeatureBuilder.
SetNthConnectorExpressionPropagationList
¶ The Nth expressions from connectors propagated expressions are set
Signature
SetNthConnectorExpressionPropagationList(nthExpressionPropagationList, connectorExpressionPropagationList)
Parameters: - nthExpressionPropagationList (int) –
- connectorExpressionPropagationList (
NXOpen.Expression
) –
New in version NX9.0.0.
License requirements: ld_line_designer (“FULL LINE DESIGNER”)
Validate¶
-
TypedConnectorFeatureBuilder.
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.