Skip to main content

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​

MethodReturnsDescription
DM_MemberCountintThe method returns the number of members associated with the object class (one of its descendants ie Channel Class, Component class or Net class).
DM_MembersstringThe 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_NamestringThe 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);
ParameterTypePassing
argIndexintvalue

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​