pycatia.navigator_interfaces.dmu_reviews

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.navigator_interfaces.dmu_reviews.DMUReviews(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
DMUReviews

A collection of all DMUReviews currently managed by the
application.

The method Product.GetTechnologicalObject (“DMUReviews”) retrieves this
collection.
add() DMUReview

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func Add() As DMUReview

Creates a DMUReview and adds it to the DMUReviews
Collection.

Returns:
The created DMUReview
Example:

This example creates a new DMUReview in the cDMUReviews
collection.


Set oDMUReview = cDMUReviews.Add
Return type:

DMUReview

property current: AnyObject

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Current() As CATBaseDispatch (Read Only)

Returns the current DMUReview.

Returns:
The current DMUReview (the collection is returned if there is no
current review)
Example:

This example retrieves the current oDMUReview DMU
Review
from the cDMUReviews collection.


Set oDMUReview = cDMUReviews.Current
Return type:

AnyObject

import_from(i_product: Product) DMUReview

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func ImportFrom(Product iProduct) As DMUReview

Imports Applicative data froma given product in a new DMU
Review

Parameters:

iProduct
The product to import applicative data from

Returns:
The created DMUReview
Example:

This example imports a new DMUReview from a product in the
cDMUReviews collection.


Set oDMUReview = cDMUReviews.ImportFrom(iExistingProduct)
Parameters:

i_product (Product) –

Return type:

DMUReview

item(i_index: cat_variant) DMUReview

Note

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

Returns a DMUReview using its index or its name from the DMUReviews
collection.

Parameters:

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

Returns:
The retrieved DMUReview
Example:

This example retrieves in oThisDMUReview the ninth
DMUReview,
and in oThatDMUReview the DMUReview named
DMUReview3 from the cDMUReviews collection.


Set oThisDMUReview = cDMUReviews.Item(9)
Set oThatDMUReview = cDMUReviews.Item(“DMUReview3”)
Parameters:

i_index (cat_variant) –

Return type:

DMUReview

remove(i_index: cat_variant) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub Remove(CATVariant iIndex)

Removes a DMUReview from the DMUReviews collection.

Parameters:

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

Example:

The following example removes the tenth DMUReview and the
DMUReview named
DMUReview2 from the cDMUReviews collection.


cDMUReviews.Remove(10)
cDMUReviews.Remove(“DMUReview2”)
Parameters:

i_index (cat_variant) –

Return type:

None