Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Field Population with macro

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
310 Views, 2 Replies

Field Population with macro

Hi everyone, there is a problem I'm having with automatically updating a zone table.

I have a block with attributes in paper space.  I also have vba macros that populate those attributes with the area of closed polylines on certain layers in model space.

Is there a way replace those attributes with fields that run the vba macros I have written, so that they update on regen?

 

I have tried many variations of the following with no avail:

%<\AcVar.17.0 lisp.vlax-vbarun(module.macro)>%

2 REPLIES 2
Message 2 of 3
doglips
in reply to: Anonymous

How about adding a reactor to your vba code that waits for the regen command, and then updates the fields?

Message 3 of 3
Anonymous
in reply to: doglips

Thanks Doglips,  That was exactly what I was looking for!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost