pycatia.in_interfaces.windows

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

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.in_interfaces.windows.Windows(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
Windows

A collection of all the Window objects currently managed by the
application.
arrange(i_style: int) None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub Arrange(CatArrangeStyle iStyle)

Arranges all the windows of the collection.

Parameters:

iStyle
The arrangement style to take into account to arrange the windows


Example:
The following example arranges all the windows in the Windows
collection, according to the catArrangeCascade style.

CATIA.Windows.Arrange(catArrangeCascade)
Parameters:

i_style (int) – enum cat_arrange_style

Return type:

None

item(i_index: cat_variant) Window

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func Item(CATVariant iIndex) As Window

Returns a window using its index or its name from the Windows
collection.

Parameters:

iIndex
The index or the name of the window to retrieve from the collection
of windows. As a numerics, this index is the rank of the window in the
collection. The index of the first window in the collection is 1, and the index
of the last window is Count. As a string, it is the name you assigned to the
window using the

AnyObject.Name property.
Returns:
The retrieved window
Example:
This example returns in ThisWindow the third window in the collection,
and in ThatWindow the window named MyWindow.

Dim ThisWindow As Window
Set ThisWindow = CATIA.Windows.Item(3)
Dim ThatWindow As Window
Set ThatWindow = CATIA.Windows.Item(“MyWindow”)
Parameters:

i_index (cat_variant) –

Return type:

Window