Measure Sketch and Add Length Property (Rev 1)

Modified on: November 18,2022  
Rating
Downloads: 113  
Comments

Specifications

Downloads:113
Description:Macro to measure length of all the segments in the selected sketch of the active model file and add total length as custom property with value in inches or mm (up to 2 decimal places). The macro will check the model units and accordingly will convert the total length into inches or mm.
    Precondition: Custom property with total length of all the segments of the selected sketch.
  Postcondition: Select the desired sketch from the feature manager
SOLIDWORKS version: Any
Programming Language: SW_VBA

 


Macros might contain viruses or other security hazards. SOLIDWORKS Corporation has not verified that the macros posted on this site are safe and that they came from a trustworthy source.

Download the SOLIDWORKS Macro.

 

(Login required)  

Contributor
Other contributions from this user

Parts & Assemblies

 

 

 

Macros
Deepak Gupta

User since: 12/31/2005
Title: Owner
 
Skills:
SOLIDWORKS, API, ANIMATION
Interests:
Research And Development, Animation, API
 
  Report Inappropriate User
Report Inappropriate Comment