pycatia.pcb_board_base.pcb_board¶
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_board.PCBBoard(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPCBBoard- create_pcbhole(i_hole: Hole, iplating_style: str, i_associated_part_name: str, i_hole_type: str, i_hole_owner: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub create_pcbhole(Hole iHole,CATBSTR iplatingStyle,CATBSTR iAssociatedPartName,CATBSTR iHoleType,CATBSTR iHoleOwner)This method allows to add a Pcb hole to a board or apanel.Parameters:iHoleThis parameter represents the hole to transform in Pcb holeiplatingStyleThis parameter represents the plating style of the hole. Thedifferents values are PTH or NPTHiAssociatedPartNameThis parameter represents name of the associated part to the hole.The possible values are : the name of the instance of component in which thehole is defined.BOARD if the hole is defined in the Board partPANEL If the hole is defined in the Panel partNOREFDES is the hole is defined in a non Electronic Part.iHoleTypeThis parameter represents the function of the hole. Thedifferents values are :PIN if the hole is associated with a component pinVIA if the hole is associated with a conductive viaMTG if the hole is used for mounting purposesTOOL if the hole is used for tooling purposes Other ( User defined )iHoleOwnerThe parameter represents the owner of the hole.The possible values are : MCAD, ECAD, UNOWNEDReturns:The result of the method:S_OK if succeededE_FAIL if failed
- Parameters:
i_hole (Hole) –
iplating_style (str) –
i_associated_part_name (str) –
i_hole_type (str) –
i_hole_owner (str) –
- Return type:
None
- create_pcbpattern(i_pattern: Pattern, iplating_style: str, i_associated_part_name: str, i_hole_type: str, i_hole_owner: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub create_pcbpattern(Pattern iPattern,CATBSTR iplatingStyle,CATBSTR iAssociatedPartName,CATBSTR iHoleType,CATBSTR iHoleOwner)This method allows to add a Pcb pattern of hole to a board or a panel. Ifthe motif hole of the pattern is pcb hole, the input value are not taken intoaccountParameters:iPatternThis parameter represents the Pattern to transform in Pcb PatterniplatingStyleThis parameter represents the plating style of the hole. Thedifferents values are PTH or NPTHiAssociatedPartNameThis parameter represents name of the associated part to the hole.The possible values are : the name of the instance of component in which the hole is defined.BOARD if the hole is defined in the Board partPANEL If the hole is defined in the Panel partNOREFDES is the hole is defined in a non Electronic Part.iHoleTypeThis parameter represents the function of the hole. The differents values are :PIN if the hole is associated with a component pinVIA if the hole is associated with a conductive viaMTG if the hole is used for mounting purposesTOOL if the hole is used for tooling purposes Other ( User defined )iHoleOwnerThe parameter represents the owner of the hole.The possible values are : MCAD, ECAD, UNOWNEDReturns:The result of the method:S_OK if succeededE_FAIL if failed
- Parameters:
i_pattern (Pattern) –
iplating_style (str) –
i_associated_part_name (str) –
i_hole_type (str) –
i_hole_owner (str) –
- Return type:
None
- create_zone(zonetype: str, i_pad: Pad) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub create_zone(CATBSTR zonetype,Pad iPad)This method allows to add a constraint area to a board.Parameters:zonetypeThis parameter represents the type of the zone to create Thedifferents values are ROUTE_OUTLINE, PLACE_OUTLINE, OTHER_OUTLINE, VIA_KEEPOUT,PLACE_KEEPOUT, PLACE_REGION, ROUTE_KEEPOUTReturns:The result of the method:S_OK if succeededE_FAIL if failed
- Parameters:
zonetype (str) –
i_pad (Pad) –
- Return type:
None
- property owner: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Owner() As CATBSTRAllow to get and set the attribute owner of a Panel or a Board The possiblevalues are MCAD, ECAD, UNKNOWNReturns:The result of the method:S_OK if succeededE_FAIL if failed
- Return type:
str