Home Search

DriveWorks Pro 22
GetGroupCapturedComponents

Send Feedback

GetGroupCapturedComponents

Returns a table with all Group captured components and details.

Syntax

GetGroupCapturedComponents()

Examples

RuleResultMeaning
GetGroupCapturedComponents(){"Name","Path","Exists","Child Reference Count","Type"; "MyAssy","D:\DriveWorks\Models\MyAssy.SLDASM",True,2,"DriveWorks.SolidWorks.Components.AssemblyFactory, DriveWorks.SolidWorks"; "MyPart","D:\DriveWorks\Models\MyPart.SLDPRT",True,0,"DriveWorks.SolidWorks.Components.PartFactory, DriveWorks.SolidWorks"; "MyDrawing","D:\DriveWorks\Models\MyDrawing.SLDDRW",True,0,"DriveWorks.SolidWorks.Components.DrawingFactory, DriveWorks.SolidWorks"}Returns a table array of all Group connections.

Returned Array

The Array is made up of data in the format {"Name","Path","Exists","Child Reference Count","Type"}

Name - The name of the component.

Path - The full path to the component.

Exists - True if the component exists, False if not.

Child Reference Count - The quantity of child references captured for the component (including drawings).

Type - The type of component. This can be one of:

  • "DriveWorks.SolidWorks.Components.AssemblyFactory, DriveWorks.SolidWorks"
  • "DriveWorks.SolidWorks.Components.PartFactory, DriveWorks.SolidWorks"
  • "DriveWorks.SolidWorks.Components.DrawingFactory, DriveWorks.SolidWorks"

Returned Array In Table Format

NamePathExistsChild Reference CountType
MyAssyD:\DriveWorks\Models\MyAssy.SLDASMTrue2DriveWorks.SolidWorks.Components.AssemblyFactory, DriveWorks.SolidWorks
MyPartD:\DriveWorks\Models\MyPart.SLDPRTTrue0DriveWorks.SolidWorks.Components.PartFactory, DriveWorks.SolidWorks
MyDrawingD:\DriveWorks\Models\MyDrawing.SLDDRWTrue0DriveWorks.SolidWorks.Components.DrawingFactory, DriveWorks.SolidWorks