Click or drag to resize

ExtensionGetAllChildren Method

Returns an array of all children components from the specified component.

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static MethodReturn<Component2[]> GetAllChildren(
	this Component2 swComponent
)

Parameters

swComponent
Type: Component2
Component object.

Return Value

Type: MethodReturnComponent2
MethodReturn of an array of Component2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Component2. 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).
Remarks
If the method fails, the return object will return the found components in Value.
See Also