COM Interface: IPart
This class provides access to the following properties in eCADSTAR Library Editor.
Members
Functions
Property | Description |
---|---|
void Delete() | Deletes the part from the library. To permanently delete the part, the library must be saved. |
void ExportPart(BSTR filePath) | Exports the part to the file that is supplied in the file path. The full directory path must exist, and the file must not exist in the leaf directory. Note Parts cannot be exported if they are in a modified state. If a part has been modified it must be saved before it is exported. |
void SetLock(VARIANT_BOOL Value) | Locks or unlocks a part in the library.
Parts that are locked by scripting are unlocked when the Library Editor is closed. |
Properties
Property | Description |
---|---|
BSTR Description {get} | Returns the part description. |
IFootprint** Footprint {get} | Returns the footprint for the part. |
BSTR ModifiedDate {get} {set} | Returns or sets the modified date of the part. |
BSTR CreatedDate {get} {set} | Returns or sets the part creation date. |
BSTR ModifiedBy {get} {set} | Returns or sets the name of the last user to modify the part. |
BSTR CreatedBy {get} {set} | Returns or sets the name of the user who created the part. |
BSTR Name {get} | Returns the name of the part. |
VARIANT_BOOL IsJumper {get} | Checks if the part is a jumper. |
VARIANT_BOOL IsStarpoint {get} | Checks if the part is a starpoint. |
IProperties Properties {get} | Returns the part properties. |
ISymbols** Symbols {get} | Returns the symbols for the part. |