pycatia.cat_plant_ship_interfaces.psp_attribute_report¶
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.cat_plant_ship_interfaces.psp_attribute_report.PSPAttributeReport(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspAttributeReportRepresents the Attribute Report.Role: To generate attributes report.- generate_report(i_input_format_file: str, i_outputfile: str) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GenerateReport(CATBSTR iInputFormatFile,CATBSTR iOutputfile) As longGenerate report (output format in html or CSV) and returns the status. Itreports attribute data for all the selected objects in thedocument.Parameters:iInputFormatFileAttribute report format filename. It should contain the directorypath.Note:The format file is a text (.txt) file containing data infollowingorder.Title=Title of the reportTextFormat=HTML or TextFormat=CSV (Comma separated)Attrib=AttributeName likes Nominal size,EndStyle, Rating etc.Len=Integer value indicating length of attribute valueand so on…Report format sample: Sample.txtTitle=Piping parts reportTextFormat=HTMLAttrib=IDLen=15Attrib=Nominal sizeLen=10Attrib=RatingLen=10…. and so oniOutputfileOutput filename. Full file name of the report output.Returns:0 or 1. Legal values:1 : Report generation failed.0 : Report generation succeeded.Example:Dim objThisIntf As PspAttributeReportDim strVar1 As CATBSTRDim StrVar2 As CATBSTRDim longRet As Long…olongRet = objThisIntf.GenerateReport (strVar1,strVar2 )
- Parameters:
i_input_format_file (str) –
i_outputfile (str) –
- Return type:
int