All Frameworks  Object Hierarchy  This Framework  Indexes   

PCBWorkbench (Object)

Interface to access Circuit Board Design workbench object.

Method Index

CreateBoard
Allows to create a Board.
CreateComponent
Allows to create a Component.
CreatePanel
Allows to create a panel.
GetRootProduct
Allows to get the root product of a document.

Methods


o Func CreateBoard( iRoot) As
Allows to create a Board.
Parameters:
iRoot
Root product of the Part to extend
oBoard
The board created
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Func CreateComponent( iRoot,
iElecPackageNumber,
iElecPartNumber,
iElecType) As
Allows to create a Component.
Parameters:
iRoot
Root product of the Part to extend
iElecPackageNumber
The package number used to valuate the component attribute
iElecPartNumber
The part number used to valuate the part number of the component
iElecType
The Type of the component to create : ELECTRICAL or MECHANICAL
oComponent
The Component created
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Func CreatePanel( iRoot) As
Allows to create a panel.
Parameters:
iRoot
Root product of the Part to extend
oPanel
The panel created
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed
o Func GetRootProduct( doc) As
Allows to get the root product of a document.
Parameters:
doc
The document to scan
oRoot
The root product of the document scanned
Returns:
    The result of the method:
  • S_OK if succeeded
  • E_FAIL if failed

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