FlexibleCableBuilder Class

class NXOpen.Features.SheetMetal.FlexibleCableBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Flexible Cable feature builder.

To create a new instance of this class, use NXOpen.Features.SheetMetal.SheetmetalManager.CreateFlexibleCableBuilder()

Default values.

Property Value
ConductorCount 5
ConductorSpacing.Value 1 (millimeters part), 0.1 (inches part)
ConductorWidth.Value 2 (millimeters part), 0.2 (inches part)
CrossSectionWidth.Value 20 (millimeters part), 1 (inches part)
StrippingLength.Value 3 (millimeters part), 0.3 (inches part)
Thickness.Value 1 (millimeters part), 0.04 (inches part)

New in version NX6.0.0.

Properties

Property Description
CableDirection Returns or sets the cable direction.
ConductorCount Returns or sets the count of conductors.
ConductorSpacing Returns the conductor spacing.
ConductorWidth Returns the conductor width.
CrossSectionWidth Returns the cross section width.
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
SegmentList Returns the cable segment list.
StartPoint Returns or sets the start point.
StrippingLength Returns the stripping length.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
Thickness Returns the thickness.
ThicknessDirection Returns or sets the thickness direction.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
CreateBendSegment Creates a new Features.SheetMetal.FlexibleCableSegment bend segment.
CreatePlanarSegment Creates a new Features.SheetMetal.FlexibleCableSegment planar segment.
DeleteAllSegments Deletes all cable segments.
DeleteSegment Deletes a cable segment at given index.
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.
GetFeature Returns the feature currently being edited by this builder.
GetIndexOfSegment Returns the index of cable segment.
GetObject Returns the object currently being edited by this builder.
GetSegment Returns the cable segment at given index.
GetSegmentCount Get the count of Features.SheetMetal.FlexibleCableSegment.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
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

FlexibleCableBuilderBendAngleDirectionOptions Enumeration This enum represents the bend angle direction for the bend segment.
FlexibleCableBuilderPathAdjustmentAngleDirectionOptions Enumeration This enum represents the path adjustment angle direction for the bend segment.
FlexibleCableBuilderSegmentTypeOptions Enumeration Represents the Flexible Cable segment options.

Property Detail

CableDirection

FlexibleCableBuilder.CableDirection

Returns or sets the cable direction.

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

Getter Method

Signature CableDirection

Returns:Cable direction.
Return type:NXOpen.Direction

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

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

Setter Method

Signature CableDirection

Parameters:cableDirection (NXOpen.Direction) –

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

ConductorCount

FlexibleCableBuilder.ConductorCount

Returns or sets the count of conductors.

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

Getter Method

Signature ConductorCount

Returns:Number of conductors of cable.
Return type:int

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

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

Setter Method

Signature ConductorCount

Parameters:noOfConductors (int) – Number of conductors of cable.

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

ConductorSpacing

FlexibleCableBuilder.ConductorSpacing

Returns the conductor spacing.

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

Getter Method

Signature ConductorSpacing

Returns:Conductor spacing.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

ConductorWidth

FlexibleCableBuilder.ConductorWidth

Returns the conductor width.

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

Getter Method

Signature ConductorWidth

Returns:Conductor width of the cable.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

CrossSectionWidth

FlexibleCableBuilder.CrossSectionWidth

Returns the cross section width.

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

Getter Method

Signature CrossSectionWidth

Returns:Cable width.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

SegmentList

FlexibleCableBuilder.SegmentList

Returns the cable segment list.

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

Getter Method

Signature SegmentList

Returns:Cable segment list.
Return type:NXOpen.TaggedObjectList

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

StartPoint

FlexibleCableBuilder.StartPoint

Returns or sets the start point.

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

Getter Method

Signature StartPoint

Returns:Start point.
Return type:NXOpen.Point

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

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

Setter Method

Signature StartPoint

Parameters:startPoint (NXOpen.Point) –

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

StrippingLength

FlexibleCableBuilder.StrippingLength

Returns the stripping length.

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

Getter Method

Signature StrippingLength

Returns:Stripping length of the cable.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

Thickness

FlexibleCableBuilder.Thickness

Returns the thickness.

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

Getter Method

Signature Thickness

Returns:Cable thickness.
Return type:NXOpen.Expression

New in version NX6.0.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

ThicknessDirection

FlexibleCableBuilder.ThicknessDirection

Returns or sets the thickness direction.

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

Getter Method

Signature ThicknessDirection

Returns:Cable thickness direction.
Return type:NXOpen.Direction

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

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

Setter Method

Signature ThicknessDirection

Parameters:thicknessDirection (NXOpen.Direction) –

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

Method Detail

CreateBendSegment

FlexibleCableBuilder.CreateBendSegment

Creates a new Features.SheetMetal.FlexibleCableSegment bend segment.

This can be either appended at the end, or inserted in between the list. This is decided by the input index.

Signature CreateBendSegment(bendAngle, bendRadius, pathAdjustmentAngle, bendAngleDirection, pathAdjustmentAngleDirection, segmentIndex)

Parameters:
Returns:

Return type:

NXOpen.Features.SheetMetal.FlexibleCableSegment

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

CreatePlanarSegment

FlexibleCableBuilder.CreatePlanarSegment

Creates a new Features.SheetMetal.FlexibleCableSegment planar segment.

This can be either appended at the end, or inserted in between the list. This is decided by the input index.

Signature CreatePlanarSegment(length, segmentIndex)

Parameters:
  • length (str) – Length.
  • segmentIndex (int) – Index.
Returns:

Return type:

NXOpen.Features.SheetMetal.FlexibleCableSegment

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

DeleteAllSegments

FlexibleCableBuilder.DeleteAllSegments

Deletes all cable segments.

Signature DeleteAllSegments()

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

DeleteSegment

FlexibleCableBuilder.DeleteSegment

Deletes a cable segment at given index.

Signature DeleteSegment(index)

Parameters:index (int) – Index of the Features.SheetMetal.FlexibleCableSegment which needs to be deleted.

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

GetIndexOfSegment

FlexibleCableBuilder.GetIndexOfSegment

Returns the index of cable segment.

Signature GetIndexOfSegment(flexibleCableSegment)

Parameters:flexibleCableSegment (NXOpen.Features.SheetMetal.FlexibleCableSegment) – Features.SheetMetal.FlexibleCableSegment.
Returns:
Return type:int

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

GetSegment

FlexibleCableBuilder.GetSegment

Returns the cable segment at given index.

Signature GetSegment(index)

Parameters:index (int) – Index of the required Features.SheetMetal.FlexibleCableSegment.
Returns:
Return type:NXOpen.Features.SheetMetal.FlexibleCableSegment

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

GetSegmentCount

FlexibleCableBuilder.GetSegmentCount

Get the count of Features.SheetMetal.FlexibleCableSegment.

Signature GetSegmentCount()

Returns:Segment count.
Return type:int

New in version NX7.5.0.

License requirements: nx_flexible_pcb (“NX Flexible PCB”)

Validate

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