pycatia.cat_mat_interfaces.material¶
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_mat_interfaces.material.Material(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMaterialRepresents a Material object.- property analysis_material: AnalysisMaterial¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AnalysisMaterial() As AnalysisMaterial (Read Only)Returns the analysis material object from the currentmaterial.
- Return type:
- copy_rendering_data_from(i_rendering_material: RenderingMaterial) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CopyRenderingDataFrom(RenderingMaterialiRenderingMaterial)Copy rendering data from a material to the currentmaterial.
- Parameters:
i_rendering_material (RenderingMaterial) –
- Return type:
None
- create_analysis_data(i_label: str) AnalysisMaterial ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateAnalysisData(CATBSTR iLabel) AsAnalysisMaterialCreate a default analysis material on the currentmaterial.
- Parameters:
i_label (str) –
- Return type:
- create_rendering_data() RenderingMaterial ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateRenderingData() As RenderingMaterialCreate a default rendering material on the currentmaterial.
- Return type:
- exist_analysis_data() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ExistAnalysisData() As shortReturns true if a analysis material exists on the currentmaterial.
- Return type:
int
- exist_rendering_data() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ExistRenderingData() As shortReturns true if a rendering material exists on the currentmaterial.
- Return type:
int
- get_icon(i_path: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetIcon(CATBSTR iPath)Write the icon of a material to disc. The parameter is thepath of the folder where the JPEG is going to be writtenEx : E:folder
- Parameters:
i_path (str) –
- Return type:
None
- put_icon(i_path: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub PutIcon(CATBSTR iPath)Read the icon of a material from JPEG file. The parameteris the path of the folder where the JPEG is going to beread Ex : E:folder
- Parameters:
i_path (str) –
- Return type:
None
- property rendering_material: RenderingMaterial¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RenderingMaterial() As RenderingMaterial (ReadOnly)Returns the rendering material object from the currentmaterial.
- Return type: