Alibre API Programming Introduction - Internal Units E-mail
Article Index
Alibre API Programming Introduction
Introduction
Internal Units
Connecting to Alibre Design
Creating a New Part
Creating a Sketch
Creating an Extrusion Feature
Saving and Closing the Part
Cleaning Up
All Pages

Internal Units

Alibre Design works in centimeters internally, so we much convert our cube dimension accordingly. It doesn't matter what units the user prefers because Alibre Design will convert to those units from centimeters automatically. We just need to get the measurements into Alibre Design in centimeters. We'll also set up some other data here.

' Internal Units & other variables
Dim dimension As Double = 2.54D  ' 2.54 cm = 1 in. 
Dim filePath As String = "c:/"
Dim partName As String = "MyCube"

// Internal Units & other variables
double dimension = 2.54D;  // 2.54 cm = 1 in. 
string filePath = "c:/";
string partName = "MyCube";



Last Updated ( Monday, 28 July 2008 00:36 )