pycatia.product_structure_interfaces.assembly_convertor¶
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.product_structure_interfaces.assembly_convertor.AssemblyConvertor(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAssemblyConvertorProduct conversion object.The AssemblyConvertor is the object that allows saving anassembly to a specified format. Two objects exist from now on: BillOfMaterial, which creates a bill of material (everysub-assembly is represented, with all the one level depthcomponents), and ListingReport, which creates a listing report(shows the product structure as it appears in the graph)- print(i_file_type: str, i_file: Path, i_product: Product) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub Print(CATBSTR iFileType,CATBSTR iFile,Product iProduct)Extracts the product’s contents as a specified format. Saves it in a txt,html or xls file (depends of the object).Parameters:iFileTypeType of the resulting file : TXT (for text file),HTML (for html file), XLS (for xls file) or MOTIF(do not use).iFilePath of the resulting fileiProductProduct that will be converted
- Parameters:
i_file_type (str) –
i_file (Path) –
i_product (Product) –
- Return type:
None
- set_current_format(ilist_props: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetCurrentFormat(CATSafeArrayVariant ilistProps)Defines the properties that will be used in the printmethod.Parameters:ilistPropslist of properties to display
- Parameters:
ilist_props (tuple) –
- Return type:
None
- set_secondary_format(ilist_props: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetSecondaryFormat(CATSafeArrayVariant ilistProps)Defines the secondary properties that will be used in the printmethod.Parameters:ilistPropssecondary list of properties to display
- Parameters:
ilist_props (tuple) –
- Return type:
None