pycatia.arrangement_interfaces.arrangement_node

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.arrangement_interfaces.arrangement_node.ArrangementNode(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
ArrangementNode

This interface provides access to a CATIAArrangementNode
object.
Use this object to fetch the properties of an ArrangementNode object. Role: Use
this object to retrieve the bend angle, bend radius and location of an
ArrangementNode object.
property bend_angle: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property BendAngle() As double (Read Only)

Returns the BendAngle of the current ArrangementNode.

Example:
This example retrieves the BendAngle of the objNode1
object.

Dim dblBendAngle As Double
dblBendBendAngle = objNode1.BendAngle
Return type:

float

property bend_radius: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property BendRadius() As double

Returns or sets the BendRadius of the current
ArrangementNode.

Example:
This example retrieves the BendRadius of the objNode1
object.

Dim dblBendRadius As Double
dblBendRadius = objNode1.BendRadius
Return type:

float

get_point(i_rel_axis: Move, io_node_location: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetPoint(Move iRelAxis,
CATSafeArrayVariant ioNodeLocation)

Returns the location of the current ArrangementNode.

Parameters:

iRelAxis
The relative axis to be considered when calculating the coordinate.

ioNodeLocation
The location of the ArrangementNode.

Example:
This example retrieves the location of the ArrangementNode
object objNode1.

Dim dblCoords(3) As Double
Dim iRelAxis As Move
‘Fetch iRelAxis from the object containing the
node
objNode1.GetPoint(iRelAxis, dblCoords)
Parameters:
  • i_rel_axis (Move) –

  • io_node_location (tuple) –

Return type:

None

set_point(i_rel_axis: Move, i_node_location: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetPoint(Move iRelAxis,
CATSafeArrayVariant iNodeLocation)

Sets the location of the current ArrangementNode.

Parameters:

iRelAxis
The relative axis to be considered when calculating the coordinate.

ioNodeLocation
The location of the ArrangementNode.

Example:
This example sets the location of the ArrangementNode object
objNode1.

Dim dblCoords(3) As Double
Dim iRelAxis As Move
‘Fetch iRelAxis from the object containing the
node
dblCoords(0) = 300.0 ‘//X
dblCoords(1) = 500.0 ‘//Y
dblCoords(2) = 300.0 ‘//Z
objNode1.SetPoint(iRelAxis, dblCoords)
Parameters:
  • i_rel_axis (Move) –

  • i_node_location (tuple) –

Return type:

None