Question about eattedit command

Question about eattedit command

Anonymous
Not applicable
1,045 Views
2 Replies
Message 1 of 3

Question about eattedit command

Anonymous
Not applicable

Hey there,

 

I hope some one can help me with the eattedit command. I'm trying to edit a enhanced attribute editor.

I'm calling this block with the eattedit command, but the enhanced attribute editor has a popup screen. And i cannot figure out how i can change the value's these items with commands.

 

I work with C# and using the Autocad API.

example: 

cadApp.ActiveDocument.SendCommand("eattedit\n-122,26,0\nvalue1\n");

 

This will send the eattedit command directly to the running autocad instance. And the next image will show after the command.

 

Naamloos.png

 

My problem is that i want to edit the value's with my external program. I cannot edit this with command's because this issn't the commandline.

Does anyone have an idea how i can do this?

 

Thanks,

Matthijs

0 Likes
Accepted solutions (1)
1,046 Views
2 Replies
Replies (2)
Message 2 of 3

vladimir_michl
Advisor
Advisor
Accepted solution

There are direct API methods for approaching block attributes - SendCommand is only a last-resort method. If you need to use interactive commands for some reason, you can use the command-line version of the attribute editor: -ATTEDIT

 

Vladimir Michl, www.cadstudio.cz  www.cadforum.cz

 

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks!

This works perfect.

0 Likes