Jump to content

ACAD COM Interop, accessing attributes


Ramanujan

Recommended Posts

Hi,

 

I am creating a VB NET 2005 win32 console application to extract the tag name, text and prompt attributes of a block from a ACAD 2009 drawing. I cannot use SendCommand as it pops up the GUI when executing from batch mode.

 

When using COM Interop, I am not able to extract the prompt attribute, which I guess would otherwise be possible through the AttributeDefinition object (in-process - AttributeDefinition.prompt). I am using AcadAttributeReference to get tag and text properties.

 

How can I extract the prompt attribute value?

 

--

Link to comment
Share on other sites

Hi,

 

Thanks a lot. I posted my question there and got a solution. If you are interested in having a look at the VB NET code I can post it here. Please let me know.

 

Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...