IObjectClass interface
The IObjectClass interface is the ancestor object class interface for Channel Class, Component Class and Net Class interfaces.
public interface IObjectClass : IDMObject
Namespace: EDP · Assembly: Altium.SDK.Interfaces
Inherits: IDMObject
Derived: IChannelClass, IComponentClass, IDifferentialPair, INetClass
Methods
| Method | Returns | Description |
|---|---|---|
| DM_MemberCount | int | The method returns the number of members associated with the object class (one of its descendants ie Channel Class, Component class or Net class). |
| DM_Members | string | The method returns the indexed member of the object class (one of its descendants that is, a channel class, component class or a net class). |
| DM_Name | string | The method returns the name of the Object class (one of its descendants ie Channel Class, Component class or Net class) |
DM_MemberCount
The method returns the number of members associated with the object class (one of its descendants ie Channel Class, Component class or Net class).
int DM_MemberCount();
Returns: int
This method is to be used in conjunction with the DM_Members(index) method.
DM_Members
The method returns the indexed member of the object class (one of its descendants that is, a channel class, component class or a net class).
string DM_Members(int argIndex);
| Parameter | Type | Passing |
|---|---|---|
argIndex | int | value |
Returns: string
DM_Name
The method returns the name of the Object class (one of its descendants ie Channel Class, Component class or Net class)
string DM_Name();
Returns: string
Inherited members
- From IDMObject: DM_CalculateParameterValue, DM_CurrentSheetInstanceNumber, DM_FullCrossProbeString, DM_GeneralField, DM_GetVCSProject, DM_ImageIndex, DM_IsFormulaString, DM_IsInferredObject, DM_LocationString, DM_LocationX, DM_LocationY, DM_LongDescriptorString, DM_NetIndex_Flat, DM_NetIndex_Sheet, DM_NetIndex_SubNet, DM_ObjectKindString, DM_ObjectKindStringForCrossProbe, DM_OwnerDocument, DM_OwnerDocumentFullPath, DM_OwnerDocumentName, DM_ParameterCount, DM_Parameters, DM_PcbHandle, DM_PCBObjectHandle, DM_PCBObjectInterface, DM_PrimaryCrossProbeString, DM_SchHandle, DM_SCHObjectHandle, DM_SCHObjectInterface, DM_SecondaryCrossProbeString, DM_SetVCSProject, DM_SheetIndex_Logical, DM_SheetIndex_Physical, DM_ShortDescriptorString, DM_ValidForNavigation, DM_VHDLEntity