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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionDMUReviewsA collection of all DMUReviews currently managed by theapplication.The method Product.GetTechnologicalObject (“DMUReviews”) retrieves thiscollection.- add() → DMUReview¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add() As DMUReviewCreates a DMUReview and adds it to the DMUReviewsCollection.Returns:The created DMUReviewExample:This example creates a new DMUReview in the cDMUReviewscollection.Set oDMUReview = cDMUReviews.Add
- Return type:
- 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 nocurrent review)Example:This example retrieves the current oDMUReview DMUReviewfrom the cDMUReviews collection.Set oDMUReview = cDMUReviews.Current
- Return type:
- 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 DMUReviewImports Applicative data froma given product in a new DMUReviewParameters:iProductThe product to import applicative data fromReturns:The created DMUReviewExample:This example imports a new DMUReview from a product in thecDMUReviews collection.Set oDMUReview = cDMUReviews.ImportFrom(iExistingProduct)
- 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 DMUReviewReturns a DMUReview using its index or its name from the DMUReviewscollection.Parameters:iIndexThe index or the name of the DMUReview to retrieve from thecollection of DMUReviews. As a numerics, this index is the rank of theDMUReview in the collection. The index of the first DMUReview in the collectionis 1, and the index of the last DMUReview is Count. As a string, it is the nameyou assigned to the DMUReview.Returns:The retrieved DMUReviewExample:This example retrieves in oThisDMUReview the ninthDMUReview,and in oThatDMUReview the DMUReview namedDMUReview3 from the cDMUReviews collection.Set oThisDMUReview = cDMUReviews.Item(9)Set oThatDMUReview = cDMUReviews.Item(“DMUReview3”)
- Parameters:
i_index (cat_variant) –
- Return type:
- 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:iIndexThe index or the name of the DMUReview to retrieve from thecollection of DMUReviews. As a numerics, this index is the rank of theDMUReview in the collection. The index of the first DMUReview in the collectionis 1, and the index of the last DMUReview is Count. As a string, it is the nameyou assigned to the DMUReview.Example:The following example removes the tenth DMUReview and theDMUReview namedDMUReview2 from the cDMUReviews collection.cDMUReviews.Remove(10)cDMUReviews.Remove(“DMUReview2”)
- Parameters:
i_index (cat_variant) –
- Return type:
None