Message 1 of 4

Not applicable
12-10-2014
11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
Is there any way to access the attribute text string in a drawing without open
the drawing? I have tried like this.
(setq dDbx (vla-getinterfaceobject (vlax-get-acad-object) "ObjectDBX.AxDbDocument.18"))
(setq cFile (getfiled "Select *.dwg file" "t:\\" "dwg" 4))
(vlax-invoke-method dDBX 'Open cFile)
(vla-get-textstring (vla-item (vla-item (vla-get-blocks dDBx) 5) 70))
But it returns the default value of attribute definition. Please help in this.
Thanks in advance
STM
Solved! Go to Solution.