Utils class
No description yet.
public class Utils
Namespace: EDP · Assembly: Altium.SDK
Fields
| Name | Type | Value |
|---|---|---|
AltiumSystemPath (static) | string |
Methods
CoordToMils
No description yet.
static double CoordToMils(int argC);
| Parameter | Type | Passing |
|---|---|---|
argC | int | value |
Returns: double
CoordToMilStr
No description yet.
static string CoordToMilStr(int argN);
| Parameter | Type | Passing |
|---|---|---|
argN | int | value |
Returns: string
CoordToMMs
No description yet.
static double CoordToMMs(int argC);
| Parameter | Type | Passing |
|---|---|---|
argC | int | value |
Returns: double
CoordToMMStr
No description yet.
static string CoordToMMStr(int argN);
| Parameter | Type | Passing |
|---|---|---|
argN | int | value |
Returns: string
CoordUnitToString
No description yet.
static string CoordUnitToString(int argC, TUnit argUnit);
| Parameter | Type | Passing |
|---|---|---|
argC | int | value |
argUnit | TUnit | value |
Returns: string
CreateEDMS_ParameterValueConvertorFactory
No description yet.
static IParameterValueConvertorFactory CreateEDMS_ParameterValueConvertorFactory();
Returns: IParameterValueConvertorFactory
CreateEDMS_RawSearchBaseOptions
No description yet.
static IEDM_RawSearchBaseOptions CreateEDMS_RawSearchBaseOptions();
Returns: IEDM_RawSearchBaseOptions
CreateEDMS_RawSearchOptions
No description yet.
static IEDM_RawSearchOptions CreateEDMS_RawSearchOptions();
Returns: IEDM_RawSearchOptions
CreateEDMS_SearchOptions
No description yet.
static IEDM_SearchOptions CreateEDMS_SearchOptions();
Returns: IEDM_SearchOptions
DeEscapingStrings
No description yet.
static IEnumerable<string> DeEscapingStrings(string escapedString);
| Parameter | Type | Passing |
|---|---|---|
escapedString | string | value |
Returns: IEnumerable<string>
DegreesToRadians
No description yet.
static double DegreesToRadians(double argAngle);
| Parameter | Type | Passing |
|---|---|---|
argAngle | double | value |
Returns: double
EscapingStrings
No description yet.
static string EscapingStrings(IEnumerable<string> strings);
| Parameter | Type | Passing |
|---|---|---|
strings | IEnumerable<string> | value |
Returns: string
GetAFSManager
No description yet.
static IEDMS_AFSManager GetAFSManager();
Returns: IEDMS_AFSManager
GetBomManagerFactory
No description yet.
static IBomManagerFactory GetBomManagerFactory(IClient client);
static IBomManagerFactory GetBomManagerFactory();
Overload 1: static IBomManagerFactory GetBomManagerFactory(IClient client)
| Parameter | Type | Passing |
|---|---|---|
client | IClient | value |
Returns IBomManagerFactory.
Overload 2: static IBomManagerFactory GetBomManagerFactory()
Returns IBomManagerFactory.
GetComponentSearch
No description yet.
static IComponentSearch GetComponentSearch();
Returns: IComponentSearch
GetDeviceSheetManager
No description yet.
static IDeviceSheetManager GetDeviceSheetManager();
Returns: IDeviceSheetManager
GetDXPServerManager
No description yet.
static IEDMS_DXPServerManager GetDXPServerManager();
Returns: IEDMS_DXPServerManager
GetEDMS_VaultFileCache
No description yet.
static IEDMS_VaultFileCache GetEDMS_VaultFileCache();
Returns: IEDMS_VaultFileCache
GetGeneratorUtils
No description yet.
static IOutputGeneratorUtils GetGeneratorUtils();
Returns: IOutputGeneratorUtils
GetPartCatalog
No description yet.
static IPartCatalog2 GetPartCatalog(string vaultGuid);
| Parameter | Type | Passing |
|---|---|---|
vaultGuid | string | value |
Returns: IPartCatalog2
GetPartChoicesClient
No description yet.
static IPartChoicesClient GetPartChoicesClient(string vaultGuid);
| Parameter | Type | Passing |
|---|---|---|
vaultGuid | string | value |
Returns: IPartChoicesClient
GetPartChoicesManager
No description yet.
static IPartChoicesManager GetPartChoicesManager();
Returns: IPartChoicesManager
GetPartSearchManager
No description yet.
static IPartSearchManager GetPartSearchManager();
Returns: IPartSearchManager
GetPartSearchServer
No description yet.
static IPartSearchServer GetPartSearchServer();
Returns: IPartSearchServer
GetProjectDialogsFactory
No description yet.
static IProjectDialogsFactory GetProjectDialogsFactory();
Returns: IProjectDialogsFactory
GetReleaseManager
No description yet.
static IReleaseManager GetReleaseManager();
Returns: IReleaseManager
GetSupplierManager
No description yet.
static ISupplierManager GetSupplierManager();
Returns: ISupplierManager
GetVaultManager
No description yet.
static IEDMS_VaultManager GetVaultManager();
Returns: IEDMS_VaultManager
IsConnectedToServer
No description yet.
static bool IsConnectedToServer();
Returns: bool
IsConnectedToWorkspace
No description yet.
static bool IsConnectedToWorkspace();
Returns: bool
IsExtendedRevisionParameterTypesSupported
No description yet.
static bool IsExtendedRevisionParameterTypesSupported(IEDMS_Vault vault);
| Parameter | Type | Passing |
|---|---|---|
vault | IEDMS_Vault | value |
Returns: bool
IsFeatureAllowed
No description yet.
static bool IsFeatureAllowed(string featureName);
| Parameter | Type | Passing |
|---|---|---|
featureName | string | value |
Returns: bool
IsHarnessDesignAvailable
No description yet.
static bool IsHarnessDesignAvailable();
Returns: bool
IsHarnessDesignViewOnly
No description yet.
static bool IsHarnessDesignViewOnly();
Returns: bool
IsHarnessLibrarySupported
No description yet.
static bool IsHarnessLibrarySupported(IEDMS_Vault vault);
| Parameter | Type | Passing |
|---|---|---|
vault | IEDMS_Vault | value |
Returns: bool
IsSystemLevelDesignViewOnly
No description yet.
static bool IsSystemLevelDesignViewOnly();
Returns: bool
LayerToString
No description yet.
static string LayerToString(V7_Layer argLayer);
| Parameter | Type | Passing |
|---|---|---|
argLayer | V7_Layer | value |
Returns: string
LoadIntegratedLibraryManager
No description yet.
static IIntegratedLibraryManager LoadIntegratedLibraryManager();
Returns: IIntegratedLibraryManager
LoadModelTypeManager
No description yet.
static IModelTypeManager LoadModelTypeManager();
Returns: IModelTypeManager
LoginToWorkspace
No description yet.
static void LoginToWorkspace(string workspaceId);
| Parameter | Type | Passing |
|---|---|---|
workspaceId | string | value |
Returns: nothing (void)
MetricString
No description yet.
static bool MetricString(string argStr, TUnit defaultUnits);
| Parameter | Type | Passing |
|---|---|---|
argStr | string | value |
defaultUnits | TUnit | value |
Returns: bool
MilAccuracy
No description yet.
static double MilAccuracy(double d);
| Parameter | Type | Passing |
|---|---|---|
d | double | value |
Returns: double
MilsToCoord
No description yet.
static int MilsToCoord(double argM);
| Parameter | Type | Passing |
|---|---|---|
argM | double | value |
Returns: int
MilsToRealCoord
No description yet.
static double MilsToRealCoord(double argM);
| Parameter | Type | Passing |
|---|---|---|
argM | double | value |
Returns: double
MMAccuracy
No description yet.
static double MMAccuracy(double d);
| Parameter | Type | Passing |
|---|---|---|
d | double | value |
Returns: double
MMsToCoord
No description yet.
static int MMsToCoord(double argM);
| Parameter | Type | Passing |
|---|---|---|
argM | double | value |
Returns: int
MMsToRealCoord
No description yet.
static double MMsToRealCoord(double argM);
| Parameter | Type | Passing |
|---|---|---|
argM | double | value |
Returns: double
RadiansToDegrees
No description yet.
static double RadiansToDegrees(double argR);
| Parameter | Type | Passing |
|---|---|---|
argR | double | value |
Returns: double
Round
No description yet.
static double Round(double num);
| Parameter | Type | Passing |
|---|---|---|
num | double | value |
Returns: double
StringToCoordUnit
No description yet.
static void StringToCoordUnit(string argStr, out int argCoord, ref TUnit argUnit);
| Parameter | Type | Passing |
|---|---|---|
argStr | string | value |
argCoord | int | out |
argUnit | TUnit | ref |
Returns: nothing (void)
TrimZeroes
No description yet.
static string TrimZeroes(string argStr);
| Parameter | Type | Passing |
|---|---|---|
argStr | string | value |
Returns: string
TryModifyPartChoices
No description yet.
static bool TryModifyPartChoices(IPartChoicesClient client, IPartChoice2List partChoices, out string errorMessage);
| Parameter | Type | Passing |
|---|---|---|
client | IPartChoicesClient | value |
partChoices | IPartChoice2List | value |
errorMessage | string | out |
Returns: bool