COM Interface: IPCBComponent
This class provides access to the specific component instance in the PCB board design. All available properties and methods can be accessed. It comprises the properties that are specific to the component instance, and also provides access to the footprint and part interface.
Members
Functions
Property | Description |
---|---|
void ChangeFootprint(BSTR newFootprintName, BSTR newAlternateName) | Changes the component footprint to newFootprintName (newAlternateName). If the footprint has no alternate, then newAlternateName may be blank. |
void ChangePart(BSTR newPartName) | Changes the component part to newPartName. |
void Delete() | Deletes the component. |
Properties
Property | Description |
---|---|
double Angle {get} | Returns the component angle. |
IPCBComponentSymbols ComponentSymbols {get} | Returns the component symbols. |
long CoordinateX {get} {set} | Returns or sets the X coordinate of the component. |
long CoordinateY {get} {set} | Returns or sets the Y coordinate of the component. |
VARIANT BOOL Fixed {get} | Checks if the component is fixed. |
IFootprint Footprint {get} | Returns the footprint of the component. |
double HeightSideAMax {get} | Returns the maximum height for side A of the component. |
double HeightSideAMin {get} | Returns the minimum height for side A of the component. |
double HeightSideBMax {get} | Returns the maximum height for side B of the component. |
double HeightSideBMin {get} | Returns the minimum height for side B of the component. |
VARIANT BOOL IsJumper {get} | Checks if the component is a jumper. |
IPCBHoles Holes {get} | Returns the component holes. |
VARIANT BOOL IsStarpoint {get} | Checks if the component is a starpoint. |
long LowerLeftX {get} | Returns the lower left X coordinate for the component. |
long LowerLeftY {get} | Returns the lower left Y coordinate for the component. |
IPCBPadstacks Padstacks {get} | Returns the component padstacks. |
IPart Part {get} | Returns the component part. |
BSTR PartName {get} | Returns the part name for the component. |
BSTR PlacementSide {get} | Returns the side of the board on which the component is placed. |
IPCBPins Pins {get} | Returns the component pins. |
IProperties Properties {get} | Returns the component properties. |
BSTR ReferenceDesignator {get} {set} | Returns or sets the reference designator of the component. |
long SizeX {get} | Returns the component width. |
long SizeY {get} | Returns the component height. |