API: Use dispatch wrappers to pass arrays of objects to out-of-process APIs (C#)

Version 4

    This C# macro shows how to use dispatch wrappers to pass an array of objects to an out-of-process COM API method.


    1. Download and unpack DispatchWrappers.zip.

    2. Open SolidWorks.

    3. Edit the C# macro, Macro1.csproj, in SolidWorks.

    4. Open DispatchWrappers\loop.sldprt in SolidWorks.

    5. Run the macro.


    - Subscription Services required for full access.

    - Looking for more API Examples?


    Copyright © 2010 Dassault Systèmes SolidWorks Corp. All rights reserved.
    Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.