pycatia.smt_interfaces.wrappings¶
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.smt_interfaces.wrappings.Wrappings(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionWrappingsInterface to compute Wrappings- add(i_product_to_wrapping: Product, i_accuracy: float, i_ratio: float, i_shape_name: str, i_activated_shape: int, i_default_shape: int) Wrapping ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(Product iProductToWrapping,double iAccuracy,double iRatio,CATBSTR iShapeName,long iActivatedShape,long iDefaultShape) As WrappingCompute a wrapping on the selected products. This method isdeprecated!Parameters:iProductToWrappingThe selected products on which you want to perform a wrapping.iAccuracyThe grain accuracy.iRatioThe ratio.iShapeNameThe associated shape name.iActivatedShapeDo we activate the shape ?iDefaultShapeDo we activate the shape as default shape ?Returns:oWrapping: Document containing the result.
- clean_up() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CleanUp()Cleans up.
- Return type:
None
- compute_a_wrapping(group_of_selected_products: Group, i_accuracy: float, i_ration: float, i_accuracy_for_simplification: float) Document ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ComputeAWrapping(Group GroupOfSelectedProducts,double iAccuracy,double iRation,double iAccuracyForSimplification) As DocumentCompute a wrapping on the selected products.Parameters:GroupOfSelectedProductsThe selected products on which you want to perform a wrapping.iAccuracyThe grain accuracy.iRationThe ratio.iAccuracyForSimplificationThe accuracy for the simplification. equals -1 if no simplificationis to be performed.Returns:WrappingDocument: Document containing the result.
- compute_a_wrapping_with_a_reference(i_group_of_selected_products: Group, i_reference_product: Product, i_accuracy: float, i_ration: float, i_accuracy_for_simplification: float) Document ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ComputeAWrappingWithAReference(GroupiGroupOfSelectedProducts,Product iReferenceProduct,double iAccuracy,double iRation,double iAccuracyForSimplification) As DocumentCompute a wrapping on the selected products, according to a referenceproduct.Parameters:GroupOfSelectedProductsThe selected products on which you want to perform a wrapping.iReferenceProductProduct taken as a reference.iAccuracyThe grain accuracy.iRationThe ratio.iAccuracyForSimplificationThe accuracy for the simplification. equals -1 if no simplificationis to be performed.Returns:WrappingDocument: Document containing the result.
- wrapping_shape_name() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func WrappingShapeName() As CATBSTRReturns the name of the associated shape.
- Return type:
str