API: How to re-position a view in a drawing (VBA, VB.NET, C#)

Version 4

    This example shows how to move a drawing view.

     

    1. Extract the archive in a convenient location.
    2. Open a drawing in SolidWorks.
    3. Select a view.
    4. Open the macro (VBA, VB.NET, or C#) in the Macro Editor.
    5. Run the macro.

     

    The selected view is moved 10 mm to the right.

     

    Note:
    - Subscription Services required for full access.

    - Looking for more API Examples?

     

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