public AccessoryList GetAccessoryListByPartNumber( string partNumber )
Parameters
- partNumber
- Desired part number.
Return Value
Accessory list with the desired name.
public AccessoryList GetAccessoryListByPartNumber( string partNumber )
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.NoActiveLibraryException | The exception that is thrown when the project has no active library. |
EPLAN.Harness.API.Exceptions.ArgumentNullException | Argument is null. |
// Open a project beforehand. Project project = ... BaseLibraryPart accessoryList = project.ActiveConnection.GetAccessoryListByPartNumber("part number");