Community
Since your are doing programming, in general, you do not just write code to execute existing AutoCAD command although in certain condition that may work. You write code to mimic that command does.
That is, you create an AttributeDefinition object, add it into an existing or new BlockTableRecord object. You may need to create a similar UI to allow user to enter information for the AttributeDefinition...
Norman Yuan