VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Geometric Constraints Deletion

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
950 Views, 0 Replies

Geometric Constraints Deletion

Anonymous
Not applicable

Is there a way to delete geometric constraints after exploding (.explode method, not from the command line) a dynamic block? After tons of hours working on this solution I can't get it to work. If I run the macro from the VBA IDE everything works fine, but as soon as I type REGEN or I Save, the exploded dynamic block is all messed up, I suspect because of the constraints. If I run the macro from a userform, the drawing is messed up as well, without even entering REGEN (I've also set the REGEN AUTO to OFF, which wouldn't make a change).

 

Any ideas? By the way, I'm not using the ThisDrawing.SendCommand command in my macro.   

0 Likes

Geometric Constraints Deletion

Is there a way to delete geometric constraints after exploding (.explode method, not from the command line) a dynamic block? After tons of hours working on this solution I can't get it to work. If I run the macro from the VBA IDE everything works fine, but as soon as I type REGEN or I Save, the exploded dynamic block is all messed up, I suspect because of the constraints. If I run the macro from a userform, the drawing is messed up as well, without even entering REGEN (I've also set the REGEN AUTO to OFF, which wouldn't make a change).

 

Any ideas? By the way, I'm not using the ThisDrawing.SendCommand command in my macro.   

0 REPLIES 0

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report