pycatia.pcb_board_base.pcb_workbench¶
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.pcb_board_base.pcb_workbench.PCBWorkbench(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.WorkbenchPCBWorkbenchInterface to access Circuit Board Design workbench object.- create_board(i_root: AnyObject) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateBoard(CATBaseDispatch iRoot) As CATBaseDispatchAllows to create a Board.Parameters:iRootRoot product of the Part to extendoBoardThe board createdReturns:The result of the method:S_OK if succeededE_FAIL if failed
- create_component(i_root: AnyObject, i_elec_package_number: str, i_elec_part_number: str, i_elec_type: str) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateComponent(CATBaseDispatch iRoot,CATBSTR iElecPackageNumber,CATBSTR iElecPartNumber,CATBSTR iElecType) As CATBaseDispatchAllows to create a Component.Parameters:iRootRoot product of the Part to extendiElecPackageNumberThe package number used to valuate the component attributeiElecPartNumberThe part number used to valuate the part number of the componentiElecTypeThe Type of the component to create : ELECTRICAL or MECHANICALoComponentThe Component createdReturns:The result of the method:S_OK if succeededE_FAIL if failed
- create_panel(i_root: AnyObject) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreatePanel(CATBaseDispatch iRoot) As CATBaseDispatchAllows to create a panel.Parameters:iRootRoot product of the Part to extendoPanelThe panel createdReturns:The result of the method:S_OK if succeededE_FAIL if failed
- get_root_product(doc: Document) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetRootProduct(Document doc) As CATBaseDispatchAllows to get the root product of a document.Parameters:docThe document to scanoRootThe root product of the document scannedReturns:The result of the method:S_OK if succeededE_FAIL if failed