Need some VBA code

Status
Not open for further replies.

PeterH

Usenet Archive
Joined
Jan 8, 2000
Messages
5
Reaction score
0
I am VBA illiterate but need to make use of a VB function not available in visual lisp. I need a short bit of uncompiled code that gets a pre existing block reference with one attribute say tag = "Plot_Date_Stamp" Gets the system time as a string and updates the tag value when the macro is run (during a begin plot event). What are my chances? Any help that can be provided would be appreciated.
 
Here is a posting that I found on another ng....

It was posted by JIMLENCKUS

<<Adam,
There is a way a found by mistake. I had lost my media (paper) sizes after reinstalling Autocad. What i discovered was that if you add a printer driver devices,ADI 4.3 for AutoDesk by HP] >enter >21 >enter >N-Network or P-Parllel port >ok >no. After you have added this HP driver:
On the Autocad command line type: HPCONFIG- A popup menu should show and HP
Plotter Configuration:
Select: Annotation and click on the boxes you want: Filenam, Date & Time, Driver Info...you can even add 50 characters of text if you want... PS. If you typed in HPCONFIG and get an error message "the current driver is not HP-GL" then go to Preferences>PRINTER AND HIGHLIGHT THE DRIVER YOU HAD JUST ADDED. Then select current.

Hope this helps people plotting date and time! good luck>>
 
Why can't you do this in VuisualLisp?

I am VBA illiterate but need to make use of a VB function not available in visual lisp. I need a short bit of uncompiled code that gets a pre existing block reference with one attribute say tag = "Plot_Date_Stamp" Gets the system time as a string and updates the tag value when the macro is run (during a begin plot event). What are my chances? Any help that can be provided would be appreciated.
 
Darren J. Young wrote:
Why can't you do this in VuisualLisp?

Cant use visual lisp as there is no "begin plot event (reactor)" so as to fully automate the process without customizing the plot button macro command
 
Status
Not open for further replies.

Latest threads

Back
Top