First a clarification: Visual Basic (VB) routines do not run inside of
SmartCAM.

What I have done to use VB with macros basically is as follows:

Run a macro from within SmartCAM.

The macro gathers information (i.e. element data, tool info, etc...) and
writes data to a temporary file.

The macro runs an external VB program using the SHELL command.

SmartCAM waits while external VB program runs.

The VB program reads the information from temporary data file.

The VB program processes the information as required.

The VB program writes information to temporary file in either a data file
format or a SmartCAM macro file format.

The VB program terminates returning control to SmartCAM.

SmartCAM then continues to run the macro from immediately after the shell
command.

The macro then reads in the data from the data file or executes the macro
using the MAC_EXE command.

 

================================================== 
 Fred Lauzus, CAM Programming Coordinator 
 High Steel Structures, Incorporated 
  mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.highsteel.com <http://www.highsteel.com/>  
================================================== 
  

-----Original Message-----
From: Angelucci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 11:15 AM
To: SmartCAM List Server
Subject: Re: [mfg-smartcam] Macro help


Hi...
 
I was reading it and I�d like to know How can I run Vb rotines in SmartCAM?
 
More one thing - out of toppic.
 
I need a dummy (man) model to put in my conclusion graduate course, where i
am making a car. So I need a dummy model to make ergonomics and other
verifications.
 
Anderson Fraga Angelucci

----- Original Message ----- 
From: Dave Wolfgang <mailto:[EMAIL PROTECTED]>  
To: gary <mailto:[EMAIL PROTECTED]>  ; SmartCAM List Server
<mailto:[EMAIL PROTECTED]>  
Sent: Wednesday, September 24, 2003 10:31 AM
Subject: Re: [mfg-smartcam] Macro help

I have created a Icon in my Icon bar named EditPlus. When clicked on with my
mouse it opens EditPlus. You must still open the file you would like to
edit.
 
Dave Wolfgang
CNC Programmer/Supervisor
www.hrindustries.net <http://www.hrindustries.net> 


----- Original Message ----- 
From: gary <mailto:[EMAIL PROTECTED]>  
To: SmartCAM List Server <mailto:[EMAIL PROTECTED]>  
Sent: Wednesday, September 24, 2003 7:48 AM
Subject: [mfg-smartcam] Macro help

I would like to write a macro or maybe it exists already to do the
following.
 
Mouse select a entity.  Execute the macro, the macro opens a editor with all
the element information.
 
This is similar to the F7 key but in a text editor so I can select, copy the
information I need .
 
 
Regards,
Gary


======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to