ODBLayerExtensionsReplaceIllegalLineCapsWithPadsOrSurfaces Method

Check all lines on the relevant layer for non square or round ending caps and replace the lines by pads or surfaces (depending on the length).

Definition

Namespace: PCBI_API_Extensions.Extensions
Assembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public static bool ReplaceIllegalLineCapsWithPadsOrSurfaces(
	this IODBLayer relevantODBLayer,
	IFilter filter,
	IPCBIWindow parent
)

Parameters

relevantODBLayer  IODBLayer
layer to check
filter  IFilter
helper to create new pads or surfaces
parent  IPCBIWindow
 

Return Value

Boolean
true if one or more line was found and is replaced

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IODBLayer. 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).

See Also