Indexes   

PCBBoard (Object)



Property Index

Owner
Allow to get and set the attribute owner of a Panel or a Board The possible values are MCAD, ECAD, UNKNOWN
Part
set the pad of a Board or a component or a panel.

Method Index

create_pcbhole
This method allows to add a Pcb hole to a board or a panel.
create_pcbpattern
This method allows to add a Pcb pattern of hole to a board or a panel.
create_zone
This method allows to add a constraint area to a board.

Properties


o Property Owner() As
Allow to get and set the attribute owner of a Panel or a Board The possible values are MCAD, ECAD, UNKNOWN
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Property Part() As
set the pad of a Board or a component or a panel.

Methods


o Sub create_pcbhole( iHole,
iplatingStyle,
iAssociatedPartName,
iHoleType,
iHoleOwner)
This method allows to add a Pcb hole to a board or a panel.
Parameters:
iHole
This parameter represents the hole to transform in Pcb hole
iplatingStyle
This parameter represents the plating style of the hole. The differents values are PTH or NPTH
iAssociatedPartName
This 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 part PANEL If the hole is defined in the Panel part NOREFDES is the hole is defined in a non Electronic Part.
iHoleType
This parameter represents the function of the hole. The differents values are : PIN if the hole is associated with a component pin VIA if the hole is associated with a conductive via MTG if the hole is used for mounting purposes TOOL if the hole is used for tooling purposes Other ( User defined )
iHoleOwner
The parameter represents the owner of the hole. The possible values are : MCAD, ECAD, UNOWNED
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Sub create_pcbpattern( iPattern,
iplatingStyle,
iAssociatedPartName,
iHoleType,
iHoleOwner)
This method allows to add a Pcb pattern of hole to a board or a panel. If the motif hole of the pattern is pcb hole, the input value are not taken into account
Parameters:
iPattern
This parameter represents the Pattern to transform in Pcb Pattern
iplatingStyle
This parameter represents the plating style of the hole. The differents values are PTH or NPTH
iAssociatedPartName
This 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 part PANEL If the hole is defined in the Panel part NOREFDES is the hole is defined in a non Electronic Part.
iHoleType
This parameter represents the function of the hole. The differents values are : PIN if the hole is associated with a component pin VIA if the hole is associated with a conductive via MTG if the hole is used for mounting purposes TOOL if the hole is used for tooling purposes Other ( User defined )
iHoleOwner
The parameter represents the owner of the hole. The possible values are : MCAD, ECAD, UNOWNED
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Sub create_zone( zonetype,
iPad)
This method allows to add a constraint area to a board.
Parameters:
zonetype
This parameter represents the type of the zone to create The differents values are ROUTE_OUTLINE, PLACE_OUTLINE, OTHER_OUTLINE, VIA_KEEPOUT, PLACE_KEEPOUT, PLACE_REGION, ROUTE_KEEPOUT
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed

Copyright © 2006, Dassault Systèmes. All rights reserved.