Skip to main content
View as Markdown

IDXPWorkSpace interface

No description yet.

public interface IDXPWorkSpace

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
DM_AddOutputLinevoid
DM_ClearOutputLinesvoid
DM_CreateNewDocumentstring
DM_FileOwnership_BulkWarnEndvoid
DM_FileOwnership_BulkWarnRegisterbool
DM_FileOwnership_BulkWarnStartvoid
DM_FocusedDocumentIDXPDocument
DM_FocusedProjectIDXPProject
DM_FreeDocumentsProjectIDXPProject
DM_GetDocumentFromPathIDXPDocument
DM_GetManagedDocumentImageIndexint
DM_GetOutputLinestring
DM_GetOutputLineCountint
DM_GetProjectFromPathIDXPProject
DM_IsReferencedAsDeviceSheetbool
DM_LoadProjectHiddenIDXPProject
DM_LocalHistoryManagerILocalHistoryManager
DM_MessagesManagerIDXPMessagesManager
DM_PreferencesIDXPWorkspacePreferences
DM_ProductBrandingIDXPProductBranding
DM_ProjectCountint
DM_ProjectsIDXPProject
DM_ShowMessageViewvoid
DM_UseItemRevisionbool
DM_WorkspaceFileNamestring

DM_AddOutputLine​

No description yet.

void DM_AddOutputLine(string argMessageLine, bool argReplaceLastLine, bool argUpdateLastLine);
ParameterTypePassing
argMessageLinestringvalue
argReplaceLastLineboolvalue
argUpdateLastLineboolvalue

Returns: nothing (void)

DM_ClearOutputLines​

No description yet.

void DM_ClearOutputLines();

Returns: nothing (void)

DM_CreateNewDocument​

No description yet.

string DM_CreateNewDocument(string argDocKind);
ParameterTypePassing
argDocKindstringvalue

Returns: string

DM_FileOwnership_BulkWarnEnd​

No description yet.

void DM_FileOwnership_BulkWarnEnd(TFileOwnershipWarningLevel argWarningLevel);
void DM_FileOwnership_BulkWarnEnd(int argWarningLevel);
ParameterTypePassing
argWarningLevelTFileOwnershipWarningLevelvalue

Returns: nothing (void)

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

DM_FileOwnership_BulkWarnRegister​

No description yet.

bool DM_FileOwnership_BulkWarnRegister(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: bool

DM_FileOwnership_BulkWarnStart​

No description yet.

void DM_FileOwnership_BulkWarnStart();

Returns: nothing (void)

DM_FocusedDocument​

No description yet.

IDXPDocument DM_FocusedDocument();

Returns: IDXPDocument

Extension method of IDXPWorkSpaceHelper (using DXP;).

Examples: Extension_BOMManager, Extension_PartComment

DM_FocusedProject​

No description yet.

IDXPProject DM_FocusedProject();

Returns: IDXPProject

Extension method of IDXPWorkSpaceHelper (using DXP;).

Examples: Extension_BOMManager

DM_FreeDocumentsProject​

No description yet.

IDXPProject DM_FreeDocumentsProject();

Returns: IDXPProject

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_GetDocumentFromPath​

No description yet.

IDXPDocument DM_GetDocumentFromPath(string argDocumentPath);
ParameterTypePassing
argDocumentPathstringvalue

Returns: IDXPDocument

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_GetManagedDocumentImageIndex​

No description yet.

int DM_GetManagedDocumentImageIndex(string argFilePath);
ParameterTypePassing
argFilePathstringvalue

Returns: int

DM_GetOutputLine​

No description yet.

string DM_GetOutputLine(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: string

DM_GetOutputLineCount​

No description yet.

int DM_GetOutputLineCount();

Returns: int

DM_GetProjectFromPath​

No description yet.

IDXPProject DM_GetProjectFromPath(string argProjectPath);
ParameterTypePassing
argProjectPathstringvalue

Returns: IDXPProject

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_IsReferencedAsDeviceSheet​

No description yet.

bool DM_IsReferencedAsDeviceSheet(string argFilePath);
ParameterTypePassing
argFilePathstringvalue

Returns: bool

DM_LoadProjectHidden​

No description yet.

IDXPProject DM_LoadProjectHidden(string argProjectPath);
ParameterTypePassing
argProjectPathstringvalue

Returns: IDXPProject

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_LocalHistoryManager​

No description yet.

ILocalHistoryManager DM_LocalHistoryManager();

Returns: ILocalHistoryManager

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_MessagesManager​

No description yet.

IDXPMessagesManager DM_MessagesManager();

Returns: IDXPMessagesManager

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_Preferences​

No description yet.

IDXPWorkspacePreferences DM_Preferences();

Returns: IDXPWorkspacePreferences

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_ProductBranding​

No description yet.

IDXPProductBranding DM_ProductBranding();

Returns: IDXPProductBranding

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_ProjectCount​

No description yet.

int DM_ProjectCount();

Returns: int

DM_Projects​

No description yet.

IDXPProject DM_Projects(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IDXPProject

Extension method of IDXPWorkSpaceHelper (using DXP;).

DM_ShowMessageView​

No description yet.

void DM_ShowMessageView();

Returns: nothing (void)

DM_UseItemRevision​

No description yet.

bool DM_UseItemRevision(string argVaultGUID, string argItemGUID, string argRevisionGUID, string argParams);
ParameterTypePassing
argVaultGUIDstringvalue
argItemGUIDstringvalue
argRevisionGUIDstringvalue
argParamsstringvalue

Returns: bool

DM_WorkspaceFileName​

No description yet.

string DM_WorkspaceFileName();

Returns: string

Returned by​

IClient.GetDXPWorkspace, GlobalVars.DXPWorkSpace

Examples​

Used in the SDK examples: Extension_BOMManager, Extension_PartComment.