Skip to main content
View as Markdown

IModelEditor interface

The IModelEditor interface represents the Model Editor hosted by a server which normally has a dialog that displays data about the model properties in Altium Designer. This IModelEditor interface is the front end for the actual implementation of a Model Editor for a specific model domain (PCB, Signal Integrity and other model types).

public interface IModelEditor

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Derived: IHighlightedModelEditor

Methods​

MethodReturnsDescription
CreateDatafileIModelDatafile
CreateServerModelIServerModel
CrossProbeEntityvoid
DrawModelvoid
DrawModel_FromModelbool
DrawModel_FromSchImplbool
DrawModel_FromStepFilebool
DrawModelToMetaFilevoid
EditModelbool
EditModel_1bool
EditModelMapbool
FinishedLibraryCompilevoid
GetEntityParametersstring
GetExternalFormIExternalForm
PrepareModelbool
SetDefaultModelStatebool
StartingLibraryCompilevoid

CreateDatafile​

No description yet.

IModelDatafile CreateDatafile(string argDatafilePath);
ParameterTypePassing
argDatafilePathstringvalue

Returns: IModelDatafile

Extension method of IModelEditorHelper (using SCH;).

CreateServerModel​

No description yet.

IServerModel CreateServerModel(IComponentImplementation argModel);
ParameterTypePassing
argModelIComponentImplementationvalue

Returns: IServerModel

Extension method of IModelEditorHelper (using SCH;).

CrossProbeEntity​

No description yet.

void CrossProbeEntity(string argEntityName, string argDatafilePath);
ParameterTypePassing
argEntityNamestringvalue
argDatafilePathstringvalue

Returns: nothing (void)

DrawModel​

No description yet.

void DrawModel(IExternalForm argExternalForm, string argModelName, string argDatafilePath);
void DrawModel(object argExternalForm, string argModelName, string argDatafilePath);
ParameterTypePassing
argExternalFormIExternalFormvalue
argModelNamestringvalue
argDatafilePathstringvalue

Returns: nothing (void)

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

DrawModel_FromModel​

No description yet.

bool DrawModel_FromModel(IExternalForm argExternalForm, IModel argModel);
bool DrawModel_FromModel(object argExternalForm, object argModel);
ParameterTypePassing
argExternalFormIExternalFormvalue
argModelIModelvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

DrawModel_FromSchImpl​

No description yet.

bool DrawModel_FromSchImpl(IExternalForm argExternalForm, ISch_Component argSchComp, ISch_Implementation argSchImpl);
bool DrawModel_FromSchImpl(object argExternalForm, object argSchComp, object argSchImpl);
ParameterTypePassing
argExternalFormIExternalFormvalue
argSchCompISch_Componentvalue
argSchImplISch_Implementationvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

DrawModel_FromStepFile​

No description yet.

bool DrawModel_FromStepFile(IExternalForm argExternalForm, string argStepFilePath);
bool DrawModel_FromStepFile(object argExternalForm, string argStepFilePath);
ParameterTypePassing
argExternalFormIExternalFormvalue
argStepFilePathstringvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

DrawModelToMetaFile​

No description yet.

void DrawModelToMetaFile(string argFileName, string argModelName, string argDatafilePath, TPaintColorMode argPaintColorMode, TPaintScaleMode argPaintScaleMode);
void DrawModelToMetaFile(string argFileName, string argModelName, string argDatafilePath, int argPaintColorMode, int argPaintScaleMode);
ParameterTypePassing
argFileNamestringvalue
argModelNamestringvalue
argDatafilePathstringvalue
argPaintColorModeTPaintColorModevalue
argPaintScaleModeTPaintScaleModevalue

Returns: nothing (void)

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

EditModel​

No description yet.

bool EditModel(ISch_Implementation argSchModel, ISch_Component argSchComp, TModelEditContext argContext);
bool EditModel(object argSchModel, object argSchComp, int argContext);
ParameterTypePassing
argSchModelISch_Implementationvalue
argSchCompISch_Componentvalue
argContextTModelEditContextvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

EditModel_1​

No description yet.

bool EditModel_1(IModel argModel, IDItemRevision argDItemRevision, IAltiumLibrary argltiumLibrary);
bool EditModel_1(object argModel, object argDItemRevision, object argltiumLibrary);
ParameterTypePassing
argModelIModelvalue
argDItemRevisionIDItemRevisionvalue
argltiumLibraryIAltiumLibraryvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

EditModelMap​

No description yet.

bool EditModelMap(IULB_ItemRevision argModelRevision, IEDMS_Vault argVault, ISch_Component argSchComp, ref string argMapAsString, ref string argExcludedParts);
bool EditModelMap(object argModelRevision, object argVault, object argSchComp, ref string argMapAsString, ref string argExcludedParts);
ParameterTypePassing
argModelRevisionIULB_ItemRevisionvalue
argVaultIEDMS_Vaultvalue
argSchCompISch_Componentvalue
argMapAsStringstringref
argExcludedPartsstringref

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

FinishedLibraryCompile​

No description yet.

void FinishedLibraryCompile();

Returns: nothing (void)

GetEntityParameters​

No description yet.

string GetEntityParameters(string argEntityName, string argDatafilePath);
ParameterTypePassing
argEntityNamestringvalue
argDatafilePathstringvalue

Returns: string

GetExternalForm​

No description yet.

IExternalForm GetExternalForm();

Returns: IExternalForm

Extension method of IModelEditorHelper (using SCH;).

PrepareModel​

No description yet.

bool PrepareModel(IComponentImplementation argModel);
bool PrepareModel(object argModel);
ParameterTypePassing
argModelIComponentImplementationvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

SetDefaultModelState​

No description yet.

bool SetDefaultModelState(ISch_Implementation argSchModel, ISch_Component argSchComp, bool argIsLibrary);
bool SetDefaultModelState(object argSchModel, object argSchComp, bool argIsLibrary);
ParameterTypePassing
argSchModelISch_Implementationvalue
argSchCompISch_Componentvalue
argIsLibraryboolvalue

Returns: bool

The first overload is an extension method of IModelEditorHelper (using SCH;) with typed parameters; the second is declared by the interface.

StartingLibraryCompile​

No description yet.

void StartingLibraryCompile();

Returns: nothing (void)

Returned by​

IModelType.Editor