run macro with "run VBA Macro" button different than play macro in editor

run macro with "run VBA Macro" button different than play macro in editor

Anonymous
Not applicable
493 Views
1 Reply
Message 1 of 2

run macro with "run VBA Macro" button different than play macro in editor

Anonymous
Not applicable

hello,

 

i made a Userform that change an outline of a block (dynamcblock reference) after closing the form an array inside the block will fill the new outline of this block.

 

when testing the form inside the editor (play the open form sub) the drawing changes every time i change the outline perfectly and when closing the form the array fills the block how i intended. 

 

but when i run the same rule from autocad  (manage / Run VBA Macro) the  outline in the drawing is not changing at all. And when closing the form the array is doing the right ting but from the wrong location and after the array the outline jumps the the location where it supposed to be before closing the form which makes a gap in the array.

 

the routines of the outline and array are runned on different time so i think this is an autocad issue but can anybody help me to find the problem.

 

thanks in advance

 Arthur Geelen

 

 

 

 

0 Likes
494 Views
1 Reply
Reply (1)
Message 2 of 2

Ed__Jobe
Mentor
Mentor

You'll probably have to post your code and a sample dwg with the block.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes