Alphacam logo
Sitemap

Sitemap

Alphacam V7.5 Release Notes - General

Other Sections

V7.5 Release Notes

Build 7.5.1.165 (Maintenance Release)

Build 7.5.1.158 (General Release)

Build 7.5.0.140 (Distributed Beta Release)

Build 7.5.0.106 (Internal Beta Release)

Alphawindoor 2.0 Release Notes


General Release Notes 

New Licensing. 3

Installation. 3

Technical 4

API/Development 5

Extra Cost Options. 8

VBA Add-Ins Removed. 8

New VBA Add-Ins


New Licensing

Alphacam V7.5 uses new software licensing to control which modules and levels may be run.

For more information on licensing, please see the Alphacam V7.5 Licensing document (if applicable), or the Alphacam Quick Start Guide that was shipped with your software.

IMPORTANT: If updating from a version prior to 7.5.1.148 and using a DESkey type dongle, it may be required that your existing license be replaced.  Simply follow the same License Request process as was done during the initial V7.5 installation and activation process.

Installation

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wlsedit.exe

Alphacam V7.5 no longer does this.  Instead, it writes the name and location of acam.exe (Alphacam) file to the following registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\acam.exe

Technical 

Instead of a separate executable file for each of the different modules/levels, there is now a single Alphacam executable – acam.exe. The module and level to be used is now controlled by a command switch within the acam.exe shortcut.

For example, to run the Alphacam Router module, you would use the “/R” switch (e.g., C:\Program Files\ALPHAV75\acam.exe /R).

The Alphacam level to be run is determined by the license being used by the system.  If necessary, a specific level can also be specified by attaching the appropriate level number to the module letter within the command switch.

For example, to force the Alphacam Advanced Router module, you would use the “/R3” switch (e.g., C:\Program Files\ALPHAV75\acam.exe /R3).  Note that the license must allow the level (or higher) which is being forced.

Alphacam Levels

1 = Basic

2 = Standard

3 = Advanced

4 = Advanced 3D 3-Axis

5 = Advanced 3D 5-Axis

6 = View+

Alphacam Modules

R = Router (Levels 1-6)

M = Mill (Levels 1-6)

T = Turning (Lathe) (Levels 2, 3, 6)

S = Stone (Levels 1-6)

L = Laser (Profiling) (Levels 3, 5, 6)

W = Wire (Levels 2, 3, 6)

C = Alphacad (No Level used for Alphacad)

NOTE: Not all Alphacam Modules utilize all five Alphacam Levels.  Attempting to run an Alphacam Module via an invalid Level number usually results in the highest level of that Module being run.  This is same as if no level number was specified.

Additional Command Switches (typically for support purposes)

/NoLocalLicense - Do not look for a license on the PC

/NoNetworkLicense - Do not look for a license on the Network

/ReportLicenseErrors - Report all license errors

/ShowLockCodes - Show the lock code for the key (if attached), or the PC if no key is found

API/Development

AcamNest.dll has a new type library and new methods in the Nesting object.  Existing add-ins which references the nesting library must be modified to reference the new nesting type library.

Alphacam Nesting v3.0 Type Library

Dim WithEvents OrderEvent As ACAMNESTLib.NestEvents

Public Sub Init(n As Nesting)

' old

'Set OrderEvent = New ACAMNESTLib.NestEvents

' new

Set OrderEvent = n.CreateEventHandler

n.RegisterEventHandler OrderEvent

Dim WithEvents OrderExt As ACAMNESTLib.NestExtension

Public Sub Init(n As Nesting, name As String)

' old

'Set OrderExt = New ACAMNESTLib.NestExtension

' new

Set OrderExt = n.CreateExtensionHandler

n.RegisterExtensionHandler OrderExt

Example…

Public Sub WipeSolids()

       Dim SF As SolidFeatures

       Dim SB As SolidBody 

' old

'Set SF As New SolidFeatures

' new

Set SF = App.ActiveDrawing.SolidInterface

For Each SB In SF.Bodies

SB.Delete

Next SB

Set SB = Nothing

Set SF = Nothing

End Sub

Alphacam can be run from other programs using COM as before, with one difference: the level that is run will depend on the license available, not the name specified in the CreateObject call.

For example, in VB6/VBA:

Dim Acam As AlphaCAMRouter.App

Set Acam = CreateObject("aroutaps.application")

…will run the highest level of Router available, eg ar5axaps (5-axis Router) if a license is available.

If a level lower than the license is required, set the registry entry:

ProgramLevel

…under the key:

HKEY_CURRENT_USER\Software\LicomSystems\Acam\COM

…to a numeric (DWORD) value:

1 = Basic

2 = Standard

3 = Advanced

4 = Advanced 3D 3-Axis

5 = Advanced 3D 5-Axis

6 = View+

Alphacam will set it to zero (use default level) after reading it.

For example, from VB.Net:

Imports Microsoft.Win32

Dim Rk As RegistryKey

Rk = Registry.CurrentUser.CreateSubKey("SOFTWARE\

LicomSystems\Acam\COM", RegistryKeyPermissionCheck.ReadWriteSubTree

Rk.SetValue("ProgramLevel",AlphaCAMRouter.AcamLevel.acamLevelPROUTAPS,RegistryValueKind.DWord)

See …\ApiV7.5\VB.Net\RunAcam on the CD for an example program.

For a C++ example, see …\ApiV7.5\VisualCPP\RunAcam on the CD.

When calling Alphacam from .Net the Alphacam exe may be left in memory due to the way the .NET Garbage Collector works.

To avoid this, add the following when the Alphacam object (e.g. Acam) is finished with:

' The following 4 lines make .NET release the Alphacam object, otherwise Alphacam stays in memory

Acam = Nothing

System.GC.Collect()

System.GC.WaitForPendingFinalizers()

System.GC.Collect()

Extra Cost Options

VBA Add-Ins Removed

New VBA Add-Ins


© Planit 2008