Thursday 9 April 2015

Making of Area Decimeter Part 1

Decimeter is a unit that is not supported in Solid Edge.

03

02 Similarly, area in square decimeter is also not supported as seen under Solid Edge Application Menu > Properties > File Properties.

Some applications require an area parameter calculated and stored in the part document in square decimeter. This tutorial shows how to write a macro when run on a part document adds a user variable to the variable table that stores the area of the model in square decimeters.

04

This Solid Edge Maker Faire tutorial takes you through the complete process of coding this program. Other making tutorials in this series can be accessed here.

01_thumb2_thumb_thumb_thumb_thumb This Solid Edge Area in Decimeter program and its source code can be downloaded at the end of this tutorial.

This tutorial uses Visual Studio 2010, .Net 4.0.

Start a VB.Net Console Application' and name it AreaDecimeter. Make sure the check box settings are as shown below (3):

01

From the menu, select Project >  Add Reference... and from the dialog that appears, take the COM tab. Add references to Solid Edge Framework, Solid Edge Framework Support, Solid Edge Constants and Solid Edge Part libraries.

You can see these added under References in the Solution Explorer:

05

Continued to Part 2...


Index of all Solid Edge Tips, Tutorials and Videos...


No comments:

Post a Comment