pycatia.arrangement_interfaces.arrangement_rectangle

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_rectangle.ArrangementRectangle(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
ArrangementRectangle

Use this object to access the properties and methods of an ArrangementRectangle
object.
Role: The ArrangementRectangle object is a geometric shape used for defining
Contours of Areas. The ArrangementRectangle is defined by width and length and
its Product position (which is the min-x, min-y corner of the
rectangle).
get_technological_object(i_application_type: str) AnyObject

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func GetTechnologicalObject(CATBSTR iApplicationType) As
CATBaseDispatch

Returns the applicative data which type is the given
parameter.

Parameters:

iApplicationType
The type of applicative data searched.
oApplicativeObj
The matched applicative object.

Example:
This example retrieves the desired applicative object from the
objRectangle1 object.

Dim objProd As Product
objProd = objRectangle1.GetTechnologicalObject(“Product”)
Parameters:

i_application_type (str) –

Return type:

AnyObject

property x_length: float

Note

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

Returns or sets the XLength of the ArrangementRectangle.

Example:
This example retrieves the XLength for the objRectangle1
object.

Dim dblXLength As Double
dblXLength = objRectangle1.XLength
Return type:

float

property y_length: float

Note

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

Returns or sets the YLength of the ArrangementRectangle.

Example:
This example retrieves the YLength for the objRectangle1
object.

Dim dblYLength As Double
dblYLength = objRectangle1.YLength
Return type:

float