Programmatically add body modifier to WALL object

Programmatically add body modifier to WALL object

Anonymous
Not applicable
493 Views
3 Replies
Message 1 of 4

Programmatically add body modifier to WALL object

Anonymous
Not applicable

Hi 

 

I'm writing a program (in Matlab) that creates a text file with AutoCAD commands. I can execute these commands by copying them to AutoCAD's command line.

 

I have a need for adding a body modifier to a wall object with this approach: adding the body modifier only from the command line without any POP-op windows. This gives me trouble!! I can't find a way to avoid the POP-op window:-( 

body modifier.PNG

I hope that there is a way around this? Perhaps a LISP script (VBA/VLA) that can be loaded into AutoCAD and then called from the command line?

 

Any help/input would be greatly appreciated.

 

Best Regards

Jesper, Denmark

 

 

 

 

 

 

 

 

 

 

 

 

I need to programmatically add a body modifer to a wall element.

 

 

0 Likes
494 Views
3 Replies
Replies (3)
Message 2 of 4

brian_adams
Collaborator
Collaborator

hyphen "-" in macro suppresses the opening of dialog boxes

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi Brian

 

Thanks for your respond.

 

I now that for some functions AutoCad has a variant with a "-" that suppresses dialog boxes. One example is the "ADDWALL" function, here I can use the "-ADDWALL" function to draw a line directly from the command line.

 

However, for the  "WALLBODYMODIFIER" a do not think that AutoCad has a the "-" variant 😞

 

I have found the following link:

https://adndevblog.typepad.com/aec/2013/02/adding-a-body-modifier-to-a-wall.html

 

As I understand the approach shown in the link above require creating a .NET script for AutoCad. Any idea if the approach would be helpfull for my need?

 

/Jesper

 

 

0 Likes
Message 4 of 4

brian_adams
Collaborator
Collaborator

it happened because ACA want to choose one option via dialog box . I haven't ideas...you need someone how knows ACA as programist,sorry can't help you-lack of knowlage

0 Likes