API: How to move all dimensions in a drawing to another layer (VBA, VB.NET, C#)

File uploaded by Joyce Bossom Employee on Dec 22, 2010Last modified by Joyce Bossom Employee on Nov 2, 2017
Version 4Show Document
  • View in full screen mode

This example shows how to move all dimensions in a drawing to another layer.

 

  1. Extract the archive to a convenient location.
  2. Open a drawing with dimensions.
  3. Create the "HIDE" layer in the drawing.
  4. Run the macro (VBA, VB.NET, or C#) in the Macro Editor.
  5. Select a dimension in the view.
  6. The layer dropdown displays the new layer of the dimension.

 

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.

Attachments

Outcomes