Skip to main content
View as Markdown

ISch_ModelDatafileLink interface

A model represents all the information needed for a component in a given domain, while a datafile entity (or link) is the only information which is in an external file. A model can be represented by external data sources called data file links. For example, pins of a component can have links to different data files, as for signal integrity models. We will consider each model type in respect to the data file links for the editor servers.

public interface ISch_ModelDatafileLink

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Remarks​

For the PCB footprints, the model and the data file are both the same.

With the simulation models, you can have a simulation model which is a 4ohm resistor for example, there is a simulation model here, but there is no information is coming from an external file, therefore, a no external file is needed for this as the resistor model is built from spice. This is the case where you have a model with no data file entity. Thus the parameters are used for these types of simulation models that don't have data file links.

With signal integrity models, it can have information required for each pin. If we used IBIS datafiles, not the Altium Designer's central database, then each signal integrity model would then have multiple data files, each one for each type of pin.

A diagram of the relationship between a component and its models

Properties​

PropertyTypeAccessDescription
EntityNamestringget; set
FileKindstringget; set
LibIdentifierKindTLibIdentifierKindget
LibraryIdentifierstringget
Locationstringget; set

EntityName​

No description yet.

string GetState_EntityName();
void SetState_EntityName(string argValue);

Type: string · Access: read/write

FileKind​

No description yet.

string GetState_FileKind();
void SetState_FileKind(string argValue);

Type: string · Access: read/write

LibIdentifierKind​

No description yet.

TLibIdentifierKind GetState_LibIdentifierKind();

Type: TLibIdentifierKind · Access: read-only

The accessors are extension methods of ISch_ModelDatafileLinkHelper (using SCH;).

LibraryIdentifier​

No description yet.

string GetState_LibraryIdentifier();

Type: string · Access: read-only

Location​

No description yet.

string GetState_Location();
void SetState_Location(string argValue);

Type: string · Access: read/write

Returned by​

ISch_Implementation.SchDatafileLink