IODBObjectExtensionsSetNetNameOnObject Method
Sets the net name for a PCB object.
Namespace: PCBI_API_Extensions.ExtensionsAssembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
public static bool SetNetNameOnObject(
this IODBObject odbObject,
IStep step,
string netName,
bool overrideExisting
)
<ExtensionAttribute>
Public Shared Function SetNetNameOnObject (
odbObject As IODBObject,
step As IStep,
netName As String,
overrideExisting As Boolean
) As Boolean
public:
[ExtensionAttribute]
static bool SetNetNameOnObject(
IODBObject^ odbObject,
IStep^ step,
String^ netName,
bool overrideExisting
)
[<ExtensionAttribute>]
static member SetNetNameOnObject :
odbObject : IODBObject *
step : IStep *
netName : string *
overrideExisting : bool -> bool
- odbObject IODBObject
- The object for which the net name should be set.
- step IStep
-
- netName String
- The net name to be set.
- overrideExisting Boolean
- Indicates whether an existing net name should be overwritten.
BooleanTrue if the net name was successfully set, otherwise False.In Visual Basic and C#, you can call this method as an instance method on any object of type
IODBObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).