Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Retrieve NOTES information.

$
0
0

In AutoCAD MEP and other verticals, they have Notes that can be attached to entities via the Properties dialog box.

 

I'm trying to retrieve that information using MEP 2012.  The information from this link, if it worked in the past, doesn't appear to work now:  http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/get-Extended-Data-from-Aec-Wall/td-p/2550988 

 

In the example from the link the user was able to get entitiy data like this:

 

((-1 . ) (0 . "AEC_TEXT_NOTE") (5 . "BC4") (102 . "{ACAD_REACTORS") (330 . ) (102 . "}") (330 . ) (100 . "AecDbObject") (102 . "{AEC_SUBOBJECT") (300 . "AecImpObj") (100 . "AecImpObj") (3 . "") (102 . "AEC_SUBOBJECT}") (102 . "{AEC_NULLOBJECT}") (100 . "AecDbTextNote") (1 . "hejhejhej2"))

I drew a simple line then attached a note to the entity.  Trying the code from the example above, my result does not contain the AecDbTextNote information.

 

((-1 . <Entity name: 7ffff284210>) (0 . AEC_TEXT_NOTE) (5 . 6FBE9) (102 .
{ACAD_REACTORS) (330 . <Entity name: 7ffff284200>) (102 . }) (330 . <Entity
name: 7ffff284200>))((-1 . <Entity name: 7ffff284210>) (0 . "AEC_TEXT_NOTE") (5
. "6FBE9") (102 . "{ACAD_REACTORS") (330 . <Entity name: 7ffff284200>) (102 .
"}") (330 . <Entity name: 7ffff284200>))

 

Help appreciated.

Craig

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles