Created: June 06, 2016 | Updated: September 26, 2016
| Applies to versions: 3.1, 3.2, 4 and 5
This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.
Please note that this documentation was last updated for an older version of Altium NEXUS. While many of the principles and approaches will remain the same, be aware that interfaces, objects, methods, properties, and the like will have changed since then, and will not reflect the entirety of those found in later versions of the software.
Overview
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).
This interface is used within the IServerModel interface.
See also IModelDatafileType interface Examples\Scripts\DelphiScript Scripts\DXP_Scripts\ folder of Altium NEXUS installation
IModelDataFile Methods
EntityName method
(IModelDatafile interface) Syntax Function EntityName (AnIndex : Integer) : WideString; Description
The function returns the indexed entityname for the datafile related to the model. See also
IModelDatafile interface
EntityCount method
EntityCount method
(IModelDatafile interface) Syntax Function EntityCount : Integer; Description
This function returns the number of entities for the data file related to the model. See also
IModelDatafile interface
EntityName method
AddEntity method
(IModelDatafile interface) Syntax Procedure AddEntity (AName : WideString); Description
This procedure adds a new entity for the datafile. See also
IModelDatafile interface
FullPath method
(IModelDatafile interface) Syntax Function FullPath : WideString; Description
This procedure fetches the full path of the data file part of the model. See also
IModelDatafile interface
IModelDataFile Properties
EntityNames Property
(IModelDatafile interface) Syntax Property EntityNames[AnIndex : Integer] : WideString Read EntityName; Description
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 interface
EntityNames method.
IModelDatafileType Interface
Copy LinkCopied
Overview
The IModelDatafileType interface represents the data file type for the specified model. Simulation Model has three model types and thus three data files, PCB LIB has one model type and one data file, PCB3DLib has one model type and one data file and SI has one model type and one data file.
The IModelDatafileType interface is used by the IModelTypeManager
See also
ReportIntLibData script from the Examples\Scripts\Delphiscript Scripts\DXP_Scripts\ folder of Altium NEXUS installation
IModelDatafileType Methods
Description method
(IModelDatafileType interface) Syntax Function Description : PChar; Description
This function returns the description string for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types:
See also
IModelTypeManager interface
IModelDatafileType interface
EntityType method
(IModelDatafileType interface) Syntax Function EntityType : PChar; Description
This function returns the Entity type string for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types:
See also
IModelTypeManager interface
IModelDatafileType interface
ExtensionFilter method
(IModelDatafileType interface) Syntax Function ExtensionFilter : PChar; Description
This function returns the extension filter string for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types:
See also
IModelTypeManager interface
IModelDatafileType interface
FileKind method
(IModelDatafileType interface) Syntax Function FileKind : PChar; Description
This function returns the FileKind string for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types:
See also
IModelTypeManager interface
IModelDatafileType interface
ModelType method
(IModelDatafileType interface) Syntax Function ModelType : IModelType; Description
This function returns the ModelType string for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types:
See also
IModelTypeManager interface
IModelDatafileType interface
SupportsParameters method
(IModelDatafileType interface) Syntax Function SupportsParameters : Boolean; Description
This function returns the SupportsParameters Boolean value for this IModelDatafiletype interface depending on the model’s data file type. Since Altium NEXUS supports four models and six model types: