COM Interface: IFootprint

This class provides access to the following functions and properties in eCADSTAR Library Editor.

Members

Functions

Property Description
void Delete() Deletes the footprint from the library. The library must be saved to permanently delete the footprint.
void SetLock(VARIANT_BOOL Value) Locks or Unlocks a footprint in the library.
  • Set the value to "true" to lock the footprint.
  • Set the value to "false" to unlock the footprint.
Footprints that are locked by scripting are unlocked when eCADSTAR Library Editor is closed.
void ExportFootprint(BSTR filePath) Exports the footprint 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
Footprints cannot be exported if they are in a modified state. If a footprint has been modified, then it must be saved before it is exported.

Properties

Property Description
BSTR Alternate {get} Returns the footprint alternate.
BSTR ModifiedDate {get} {set} Returns or sets the footprint modified date.
BSTR CreatedDate {get} {set} Returns or sets the footprint creation date.
BSTR ModifiedBy {get} {set} Returns or sets the name of the last user to modify the footprint.
BSTR CreatedBy {get} {set} Returns or sets the name of the user who created the footprint.
BSTR Name {get} Returns the footprint name.
VARIANT_BOOL IsStarpoint {get} Checks if the footprint is a starpoint.
IProperties Properties {get} Returns the footprint properties.