Skip to main content
View as Markdown

IMBA_ServerDocument interface

No description yet.

public interface IMBA_ServerDocument : IServerDocument

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Inherits: IServerDocument

Properties​

PropertyTypeAccessDescription
ControllerIMBA_DocumentControllerget
DataModelIMBA_DocumentDataModelget
DocumentIDintget; set
UniqueIDstringget; set

Controller​

No description yet.

IMBA_DocumentController GetState_Controller();

Type: IMBA_DocumentController · Access: read-only

The accessors are extension methods of IMBA_ServerDocumentHelper (using EDP;).

DataModel​

No description yet.

IMBA_DocumentDataModel GetState_DataModel();

Type: IMBA_DocumentDataModel · Access: read-only

The accessors are extension methods of IMBA_ServerDocumentHelper (using EDP;).

DocumentID​

No description yet.

int GetState_DocumentID();
void SetState_DocumentID(int argValue);

Type: int · Access: read/write

UniqueID​

No description yet.

string GetState_UniqueID();
void SetState_UniqueID(string argValue);

Type: string · Access: read/write

Methods​

MethodReturnsDescription
GetPartBoundingBoxvoid
InvalidateDataModelvoid
LoadPCBModelIMBA_PartDataModel
LoadPCBModel_ForPreviewIMBA_PartDataModel
LoadStepModelIMBA_PartDataModel
LoadStepModel_ForPreviewIMBA_PartDataModel
RemoveModel_ForPreviewbool
SetModelTransparent_ForPreviewvoid
SetPartVisiblevoid
ToggleMeasurementSystemvoid
UpdateStepPartByStepPart_ForPreviewvoid

GetPartBoundingBox​

No description yet.

void GetPartBoundingBox(int argPartId, out double argMinX, out double argMinY, out double argMinZ, out double argMaxX, out double argMaxY, out double argMaxZ);
ParameterTypePassing
argPartIdintvalue
argMinXdoubleout
argMinYdoubleout
argMinZdoubleout
argMaxXdoubleout
argMaxYdoubleout
argMaxZdoubleout

Returns: nothing (void)

InvalidateDataModel​

No description yet.

void InvalidateDataModel();

Returns: nothing (void)

LoadPCBModel​

No description yet.

IMBA_PartDataModel LoadPCBModel(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA_PartDataModel

Extension method of IMBA_ServerDocumentHelper (using EDP;).

LoadPCBModel_ForPreview​

No description yet.

IMBA_PartDataModel LoadPCBModel_ForPreview(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA_PartDataModel

Extension method of IMBA_ServerDocumentHelper (using EDP;).

LoadStepModel​

No description yet.

IMBA_PartDataModel LoadStepModel(string argFileName, bool argNeedToCache);
ParameterTypePassing
argFileNamestringvalue
argNeedToCacheboolvalue

Returns: IMBA_PartDataModel

Extension method of IMBA_ServerDocumentHelper (using EDP;).

LoadStepModel_ForPreview​

No description yet.

IMBA_PartDataModel LoadStepModel_ForPreview(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA_PartDataModel

Extension method of IMBA_ServerDocumentHelper (using EDP;).

RemoveModel_ForPreview​

No description yet.

bool RemoveModel_ForPreview(int argPartId);
ParameterTypePassing
argPartIdintvalue

Returns: bool

SetModelTransparent_ForPreview​

No description yet.

void SetModelTransparent_ForPreview(int argPartId, bool argTransparent);
ParameterTypePassing
argPartIdintvalue
argTransparentboolvalue

Returns: nothing (void)

SetPartVisible​

No description yet.

void SetPartVisible(int argPartId, bool argVisible);
ParameterTypePassing
argPartIdintvalue
argVisibleboolvalue

Returns: nothing (void)

ToggleMeasurementSystem​

No description yet.

void ToggleMeasurementSystem();

Returns: nothing (void)

UpdateStepPartByStepPart_ForPreview​

No description yet.

void UpdateStepPartByStepPart_ForPreview(IMBA_PartDataModel argDestStepPart, IMBA_PartDataModel argSourceStepPart);
void UpdateStepPartByStepPart_ForPreview(object argDestStepPart, object argSourceStepPart);
ParameterTypePassing
argDestStepPartIMBA_PartDataModelvalue
argSourceStepPartIMBA_PartDataModelvalue

Returns: nothing (void)

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

Inherited members​

Returned by​

IMBA_ServerModule.CreateDocumentFromDataModel, IMBA_ServerModule.GetAssemblyByDocumentId, IMBA_ServerModule.GetAssemblyByPath, IMBA_ServerModule.LoadAssemblyByPath