Skip to main content

INet interface

The INet interface is associated with an existing net object of a design document. A net is a series of connections of net identifiers (electrically aware objects such as sheet entries, pins, wires and ports) with the same net name.

public interface INet : IDMObject

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Inherits: IDMObject

Remarks​

That is, all connections sharing the same net name is a net and can be connected on a sheet or between sheets in a project.

Methods​

MethodReturnsDescription
DM_AllNetItemCountintThe method returns the number of net aware objects (that is inherited from the INetItem interface).
DM_AllNetItemsINetItemThe method returns an indexed net aware object.
DM_AutoNumberintThe method returns the auto number value used for auto-numbering nets.
DM_BusIndexintThe method returns the bus index.
DM_BusKindTBusKindThe method returns the bus kind.
DM_BusPrefixstringThe method returns the bus prefix as used in this net.
DM_BusRange1stringThe method returns the first index of the Bus range.
DM_BusRange2stringThe method returns the last index of the Bus Range.
DM_BusRangeValue1intThe method returns the value of the first index of the Bus range
DM_BusRangeValue2intThe method returns the value of the second index of the Bus range.
DM_BusSectionParentINetThis method returns an INet interface for the parent bus section.
DM_BusWidthintThe method returns the bus width.
DM_CalculatedNetNamestringThe method returns the bus width.
DM_CountOfElectricalTypeintThe method returns the number of electrical types used by the current sheet or the project.
DM_CountOfNonPinItemsintThe method returns the number of non-pin objects used on the current sheet or the project.
DM_CrossSheetConnectorCountintThe method returns the number of cross sheet connectors associated with this net.
DM_CrossSheetConnectorsICrossSheetThe method returns an indexed cross sheet connector that is part of the current net.
DM_DirectiveCountintThe method returns the number of directives associated with this net.
DM_DirectivesINetItemThe method returns an indexed directive (which could be a PCB layout directive that contains PCB fules).
DM_DoCrossProbevoid
DM_ElectricTPinElectricalThe method returns the type of electrical property the pin is associated with.
DM_ElectricalStringstringThe method returns the electrical property associated with this net.
DM_FullNetNamestringThe method denotes the full net name (includes the bus index and so on).
DM_HarnessTypestring
DM_HiddenNetNamestringThe method denotes the hidden net name (like power nets).
DM_IsAutoGeneratedboolThe method denotes a boolean value whether this net has been system generated or not.
DM_IsBusElementboolThe method returns a Boolean value whether this bus element exists or not for this INetItem interface.
DM_IsBusMemberboolThe method returns a Boolean value whether this bus member exists or not for this INetItem interface.
DM_IsBusSectionboolThe method returns a Boolean value whether the bus section exists or not for this INetItem interface.
DM_IsLocalboolThe method denotes whether this net is a local net restricted to the document or not.
DM_LineCountintThe method returns the number of lines associated with this net.
DM_LinesILineThe method returns an indexed line that is part of the current net.
DM_NetLabelCountintThe method returns the number of net labels associated with this net.
DM_NetLabelsINetItemThe method returns an indexed net label that is part of the current net.
DM_NetNamestringThe method denotes the net name of this net.
DM_NetNumberstringThe method denotes the net number of this net.
DM_PinCountintThe method returns the number of pins associated with this net.
DM_PinsINetItemThe method reurns an indexed pin that is part of the current net.
DM_PortCountintThe method returns the number of ports associated with this net.
DM_PortsINetItemThe method returns an indexed port that is part of the current net.
DM_PowerObjectCountintThe method returns the number of power objects associated with this net.
DM_PowerObjectsINetItemThe method returns an indexed power object that is part of the current net.
DM_RangeDefinedByValueboolThe method returns a boolean value whether the range has been defined by a two specific range values or not.
DM_RemovedHarnessEntriesINetItem
DM_RemovedHarnessEntryCountint
DM_RemovedNetItemCountintThe method returns the number of net items that have been removed from the nets.
DM_RemovedNetItemsINetItemThe method returns an indexed net item that has been removed from net of the schematic document.
DM_ScopeTNetScopeThe funciton denotes the scope of this net as defined by the TNetScope type.
DM_SheetEntryCountintThe method returns the number of sheet entries associated with this net.
DM_SheetEntrysINetItemThe method returns an indexed sheet entry that is part of the current net.
DM_SignalTypestringThe method returns the signal type property associated with this net.
DM_SubWireCountintThe method returns the number of sub wires associated with this net.
DM_SubWiresINetThe method Returns an indexed sub wire (part of a bus object).
DM_SuppressERCboolThe method returns a boolean value whether the ERC has been suppressed for this net or not.

DM_AllNetItemCount​

The method returns the number of net aware objects (that is inherited from the INetItem interface).

int DM_AllNetItemCount();

Returns: int

DM_AllNetItems​

The method returns an indexed net aware object. Use the DM_AllNetItemCount method for this method.

INetItem DM_AllNetItems(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

See also: INet.DM_AllNetItemCount

DM_AutoNumber​

The method returns the auto number value used for auto-numbering nets.

int DM_AutoNumber();

Returns: int

DM_BusIndex​

The method returns the bus index. An IBus interface is inherited from a INetItem interface.

int DM_BusIndex();

Returns: int

DM_BusKind​

The method returns the bus kind. which is one of the following enumerated values; eBusKindUndefined, eBusKindLowValueFirst, eBusKindHighValueFirst, eBusKindGeneric.

TBusKind DM_BusKind();

Returns: TBusKind

Extension method of INetHelper (using EDP;).

DM_BusPrefix​

The method returns the bus prefix as used in this net.

string DM_BusPrefix();

Returns: string

DM_BusRange1​

The method returns the first index of the Bus range. Eg. A1..6, the bus range1 is 1.

string DM_BusRange1();

Returns: string

DM_BusRange2​

The method returns the last index of the Bus Range. Eg A0..4, the bus range 2 is 4.

string DM_BusRange2();

Returns: string

DM_BusRangeValue1​

The method returns the value of the first index of the Bus range

int DM_BusRangeValue1();

Returns: int

DM_BusRangeValue2​

The method returns the value of the second index of the Bus range.

int DM_BusRangeValue2();

Returns: int

DM_BusSectionParent​

This method returns an INet interface for the parent bus section.

INet DM_BusSectionParent();

Returns: INet

Extension method of INetHelper (using EDP;).

DM_BusWidth​

The method returns the bus width. An IBus interface is inherited from a INetItem interface.

int DM_BusWidth();

Returns: int

DM_CalculatedNetName​

The method returns the bus width. An IBus interface is inherited from a INetItem interface.

string DM_CalculatedNetName();

Returns: string

DM_CountOfElectricalType​

The method returns the number of electrical types used by the current sheet or the project.

int DM_CountOfElectricalType(TPinElectrical argElectric);
int DM_CountOfElectricalType(int argElectric);
ParameterTypePassing
argElectricTPinElectricalvalue

Returns: int

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

DM_CountOfNonPinItems​

The method returns the number of non-pin objects used on the current sheet or the project.

int DM_CountOfNonPinItems();

Returns: int

DM_CrossSheetConnectorCount​

The method returns the number of cross sheet connectors associated with this net.

int DM_CrossSheetConnectorCount();

Returns: int

DM_CrossSheetConnectors​

The method returns an indexed cross sheet connector that is part of the current net. Use the DM_CrossSheetConnectorCount method.

ICrossSheet DM_CrossSheetConnectors(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: ICrossSheet

Extension method of INetHelper (using EDP;).

DM_DirectiveCount​

The method returns the number of directives associated with this net.

int DM_DirectiveCount();

Returns: int

DM_Directives​

The method returns an indexed directive (which could be a PCB layout directive that contains PCB fules). Use the DM_DirectiveCount method.

INetItem DM_Directives(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_DoCrossProbe​

No description yet.

void DM_DoCrossProbe();

Returns: nothing (void)

DM_Electric​

The method returns the type of electrical property the pin is associated with. Various values include :eElectricInput, eElectricIO, eElectricOutput, eElectricOpenCollector, eElectricPassive, eElectricHiZ, eElectricOpenEmitter, eElectricPower

TPinElectrical DM_Electric();

Returns: TPinElectrical

Extension method of INetHelper (using EDP;).

See also: TPinElectrical

DM_ElectricalString​

The method returns the electrical property associated with this net.

string DM_ElectricalString();

Returns: string

DM_FullNetName​

The method denotes the full net name (includes the bus index and so on).

string DM_FullNetName();

Returns: string

DM_HarnessType​

No description yet.

string DM_HarnessType();

Returns: string

DM_HiddenNetName​

The method denotes the hidden net name (like power nets).

string DM_HiddenNetName();

Returns: string

DM_IsAutoGenerated​

The method denotes a boolean value whether this net has been system generated or not.

bool DM_IsAutoGenerated();

Returns: bool

DM_IsBusElement​

The method returns a Boolean value whether this bus element exists or not for this INetItem interface. An IBus interface is inherited from a INetItem interface.

bool DM_IsBusElement();

Returns: bool

DM_IsBusMember​

The method returns a Boolean value whether this bus member exists or not for this INetItem interface. An IBus interface is inherited from a INetItem interface.

bool DM_IsBusMember();

Returns: bool

DM_IsBusSection​

The method returns a Boolean value whether the bus section exists or not for this INetItem interface. An IBus interface is inherited from a INetItem interface.

bool DM_IsBusSection();

Returns: bool

DM_IsLocal​

The method denotes whether this net is a local net restricted to the document or not.

bool DM_IsLocal();

Returns: bool

DM_LineCount​

The method returns the number of lines associated with this net.

int DM_LineCount();

Returns: int

DM_Lines​

The method returns an indexed line that is part of the current net. use the DM_LineCount method.

ILine DM_Lines(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: ILine

Extension method of INetHelper (using EDP;).

DM_NetLabelCount​

The method returns the number of net labels associated with this net.

int DM_NetLabelCount();

Returns: int

DM_NetLabels​

The method returns an indexed net label that is part of the current net. Use DM_NetLabelCount method.

INetItem DM_NetLabels(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

See also: INetItem

DM_NetName​

The method denotes the net name of this net.

string DM_NetName();

Returns: string

DM_NetNumber​

The method denotes the net number of this net.

string DM_NetNumber();

Returns: string

DM_PinCount​

The method returns the number of pins associated with this net.

int DM_PinCount();

Returns: int

DM_Pins​

The method reurns an indexed pin that is part of the current net. Use the DM_PinCount method.

INetItem DM_Pins(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_PortCount​

The method returns the number of ports associated with this net.

int DM_PortCount();

Returns: int

DM_Ports​

The method returns an indexed port that is part of the current net. Use the DM_PortCount method.

INetItem DM_Ports(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_PowerObjectCount​

The method returns the number of power objects associated with this net.

int DM_PowerObjectCount();

Returns: int

DM_PowerObjects​

The method returns an indexed power object that is part of the current net. Use the DM_PowerObjectCount method.

INetItem DM_PowerObjects(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_RangeDefinedByValue​

The method returns a boolean value whether the range has been defined by a two specific range values or not.

bool DM_RangeDefinedByValue();

Returns: bool

DM_RemovedHarnessEntries​

No description yet.

INetItem DM_RemovedHarnessEntries(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_RemovedHarnessEntryCount​

No description yet.

int DM_RemovedHarnessEntryCount();

Returns: int

DM_RemovedNetItemCount​

The method returns the number of net items that have been removed from the nets.

int DM_RemovedNetItemCount();

Returns: int

DM_RemovedNetItems​

The method returns an indexed net item that has been removed from net of the schematic document.

INetItem DM_RemovedNetItems(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

DM_Scope​

The funciton denotes the scope of this net as defined by the TNetScope type.

TNetScope DM_Scope();

Returns: TNetScope

Extension method of INetHelper (using EDP;).

See also: TNetScope

DM_SheetEntryCount​

The method returns the number of sheet entries associated with this net.

int DM_SheetEntryCount();

Returns: int

DM_SheetEntrys​

The method returns an indexed sheet entry that is part of the current net. Use DM_SheetEntryCount method.

INetItem DM_SheetEntrys(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INetItem

Extension method of INetHelper (using EDP;).

See also: INetItem, INet.DM_SheetEntryCount

DM_SignalType​

The method returns the signal type property associated with this net.

string DM_SignalType();

Returns: string

DM_SubWireCount​

The method returns the number of sub wires associated with this net.

int DM_SubWireCount();

Returns: int

DM_SubWires​

The method Returns an indexed sub wire (part of a bus object). Use the DM_SubWireCount. A bus object conceptually carries multiple wires.

INet DM_SubWires(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: INet

Extension method of INetHelper (using EDP;).

DM_SuppressERC​

The method returns a boolean value whether the ERC has been suppressed for this net or not.

bool DM_SuppressERC();

Returns: bool

Inherited members​

Returned by​

IBus.DM_Sections, IBus.DM_Wires, IDifferentialPair.DM_NegativeNet, IDifferentialPair.DM_PositiveNet, IDocument.DM_HarnessNets, IDocument.DM_Nets, IHighlightedDocument.HL_GetHighlightedNet, INetItem.DM_OwnerNetLogical, INetItem.DM_OwnerNetPhysical, ISubNet.DM_Net

Accepted by​

IHighlightedDocument.HL_Register_Net, IHighlightedDocument.HL_SetHighlightedNet, IInstrumentView.LiveUpdateNet