IModelDatafile interface
The IModelDatafile interface represents the data file (external file) that is associated with a model. Each model can have multiple data files (different representations of the same model type).
public interface IModelDatafile
Namespace: SCH · Assembly: Altium.SDK.Interfaces
Remarks
This interface is used within the IServerModel interface.
Methods
| Method | Returns | Description |
|---|---|---|
| AddEntity | void | This method adds a new entity for the datafile. |
| EntityCount | int | This method returns the number of entities for the data file related to the model. |
| EntityName | string | The method returns the indexed entityname for the datafile related to the model. |
| FullPath | string | This method fetches the full path of the data file part of the model. |
AddEntity
This method adds a new entity for the datafile.
void AddEntity(string argName);
| Parameter | Type | Passing |
|---|---|---|
argName | string | value |
Returns: nothing (void)
EntityCount
This method returns the number of entities for the data file related to the model.
int EntityCount();
Returns: int
See also: IModelDatafile.EntityName
EntityName
The method returns the indexed entityname for the datafile related to the model.
string EntityName(int argnIndex);
| Parameter | Type | Passing |
|---|---|---|
argnIndex | int | value |
Returns: string
This Entitynames property returns the indexed entity name for the datafile related to the model. This property is supported by the Entitynames method.
See also: IModelDatafile.EntityCount
FullPath
This method fetches the full path of the data file part of the model.
string FullPath();
Returns: string