Skip to main content
View as Markdown

IWorkspacePreferences interface

The IWorkspacePreferences interface represents the Preferences object in Altium Designer This interface details with file ownership - that is the rights of access to a design document.

public interface IWorkspacePreferences

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Properties​

PropertyTypeAccessDescription
DefaultTemplateFilestringget; set
FileOwnership_Enabledboolget; set
FileOwnership_EnabledOutputDirectoryboolget; set
FileOwnership_WarningLevelOpenTFileOwnershipWarningLevelget; set
FileOwnership_WarningLevelSaveTFileOwnershipWarningLevelget; set
ReleasesTemporaryFolderstringget; set
ReleasesTemporaryFolderCleanUpboolget; set
TemplateSourceTTemplateSourceget; set
UseLeftRightSelectionboolget; set

DefaultTemplateFile​

No description yet.

string GetDefaultTemplateFile(string argDocKind);
void SetDefaultTemplateFile(string argDocKind, string argFileName);

Type: string · Access: read/write · Index: argDocKind (string)

FileOwnership_Enabled​

No description yet.

bool GetFileOwnership_Enabled();
void SetFileOwnership_Enabled(bool argValue);

Type: bool · Access: read/write

FileOwnership_EnabledOutputDirectory​

No description yet.

bool GetFileOwnership_EnabledOutputDirectory();
void SetFileOwnership_EnabledOutputDirectory(bool argValue);

Type: bool · Access: read/write

FileOwnership_WarningLevelOpen​

No description yet.

TFileOwnershipWarningLevel GetFileOwnership_WarningLevelOpen();
void SetFileOwnership_WarningLevelOpen(TFileOwnershipWarningLevel argValue);

Type: TFileOwnershipWarningLevel · Access: read/write

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

FileOwnership_WarningLevelSave​

No description yet.

TFileOwnershipWarningLevel GetFileOwnership_WarningLevelSave();
void SetFileOwnership_WarningLevelSave(TFileOwnershipWarningLevel argValue);

Type: TFileOwnershipWarningLevel · Access: read/write

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

ReleasesTemporaryFolder​

No description yet.

string GetReleasesTemporaryFolder();
void SetReleasesTemporaryFolder(string argValue);

Type: string · Access: read/write

ReleasesTemporaryFolderCleanUp​

No description yet.

bool GetReleasesTemporaryFolderCleanUp();
void SetReleasesTemporaryFolderCleanUp(bool argValue);

Type: bool · Access: read/write

TemplateSource​

No description yet.

TTemplateSource GetTemplateSource();
void SetTemplateSource(TTemplateSource argValue);

Type: TTemplateSource · Access: read/write

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

UseLeftRightSelection​

No description yet.

bool GetUseLeftRightSelection();
void SetUseLeftRightSelection(bool argValue);

Type: bool · Access: read/write

Methods​

MethodReturnsDescription
GetCrossSelectZoomOptionTCrossSelectZoomOption
GetDefaultDocumentPathstring
GetDefaultLibraryPathstring
GetDefaultTemplateFile_NotExpandedstring
GetHighlightConnectedPowerPartsbool
GetHighlightMethodSetTHighlightMethodSet
GetObjectsToDisplayTWorkspaceObjectIdSet
GetTemplatePath_Schstring
GetVariantOptionIVariantOption

GetCrossSelectZoomOption​

No description yet.

TCrossSelectZoomOption GetCrossSelectZoomOption();

Returns: TCrossSelectZoomOption

Extension method of IWorkspacePreferencesHelper (using EDP;).

GetDefaultDocumentPath​

No description yet.

string GetDefaultDocumentPath();

Returns: string

GetDefaultLibraryPath​

No description yet.

string GetDefaultLibraryPath();

Returns: string

GetDefaultTemplateFile_NotExpanded​

No description yet.

string GetDefaultTemplateFile_NotExpanded(string argDocKind);
ParameterTypePassing
argDocKindstringvalue

Returns: string

GetHighlightConnectedPowerParts​

No description yet.

bool GetHighlightConnectedPowerParts();

Returns: bool

GetHighlightMethodSet​

No description yet.

THighlightMethodSet GetHighlightMethodSet();

Returns: THighlightMethodSet

Extension method of IWorkspacePreferencesHelper (using EDP;).

GetObjectsToDisplay​

No description yet.

TWorkspaceObjectIdSet GetObjectsToDisplay();

Returns: TWorkspaceObjectIdSet

Extension method of IWorkspacePreferencesHelper (using EDP;).

GetTemplatePath_Sch​

No description yet.

string GetTemplatePath_Sch();

Returns: string

GetVariantOption​

No description yet.

IVariantOption GetVariantOption();

Returns: IVariantOption

Extension method of IWorkspacePreferencesHelper (using EDP;).

Examples: Extension_VariantOptions

Returned by​

IWorkspace.DM_Preferences

Examples​

Used in the SDK examples: Extension_VariantOptions.