Community
"The instruction at "0x654dd6bc" referenced memory at "0x00000000". The memory could not be "read". Click on OK to terminate the program."
This error occurs on this line of code...
Set mDoc = New AXDB15Lib.AxDbDocument.
I'm guessing that I need to establish some kind of connection to AutoCAD, I've tried some things, but still get this error. Anybody know anything?
Thanks
Todd
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"treyball3" <nevermind.
href="mailto:tggolfnut@hotmail.com">tggolfnut@hotmail.com> wrote in
message
href="news:f174782.0@WebX.maYIadrTaRb">news:f174782.0@WebX.maYIadrTaRb...
I got it figured out. Thanks
Todd
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Soe" <
href="mailto:soenandar@hotmail.com">soenandar@hotmail.com> wrote in
message
href="news:0121FA2D7C36CEF0664443A46972EBDA@in.WebX.maYIadrTaRb">news:0121FA2D7C36CEF0664443A4697......
hey man,
it's great u hv solved the
problem.
however, i am also very much
interested in how to read block information from .dwg files without opening
AutoCad application.
any chance to share how u hv
done?
thanx.
rgds,
soe
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"treyball3" <nevermind.
href="mailto:tggolfnut@hotmail.com">tggolfnut@hotmail.com> wrote in
message
href="news:f174782.0@WebX.maYIadrTaRb">news:f174782.0@WebX.maYIadrTaRb...
I got it figured out. Thanks
Todd
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"news.tpg.com.au" <
href="mailto:kipsta@!!tpg.com.au">kipsta@!!tpg.com.au!!> wrote in
message
href="news:B3FECA0DA976053B0A6424266B134FA8@in.WebX.maYIadrTaRb">news:B3FECA0DA976053B0A6424266B1......
I am also interested in access block information
using ObjectDBX but more specifically modifying a certain attribute
value.
I have managed to get the drawing/block
information but I am having trouble doing the final step ie updating the
attribute. I'm probably using the worng method/object
Any ideas would be appreciated
kip
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Soe" <
href="mailto:soenandar@hotmail.com">soenandar@hotmail.com> wrote in
message
href="news:0121FA2D7C36CEF0664443A46972EBDA@in.WebX.maYIadrTaRb">news:0121FA2D7C36CEF0664443A46......
hey man,
it's great u hv solved the
problem.
however, i am also very much
interested in how to read block information from .dwg files without opening
AutoCad application.
any chance to share how u hv
done?
thanx.
rgds,
soe
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"treyball3" <nevermind.
href="mailto:tggolfnut@hotmail.com">tggolfnut@hotmail.com> wrote in
message
href="news:f174782.0@WebX.maYIadrTaRb">news:f174782.0@WebX.maYIadrTaRb...
I got it figured out. Thanks
Todd
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Soe" <
href="mailto:soenandar@hotmail.com">soenandar@hotmail.com> wrote in
message
href="news:125C3FC9C1FEF3997CE8E1C9226EB377@in.WebX.maYIadrTaRb">news:125C3FC9C1FEF3997CE8E1C9226......
how d'u read the block attribute information, can
u share?
thanx.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
size=2>
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Mark Propst" <nonentityatplanetkcdotcom> wrote in message
href="news:57800E2B7F6A636195AC802D946289F3@in.WebX.maYIadrTaRb">news:57800E2B7F6A636195AC802D946......
i'm no expert but i think the general idea
is:
(just pseudocode, not exact syntax)
this assumes you mean you want attribs in block
references, not attdefs in block definitions...
make sure objectdbx is referenced
make sure objectdbx is registered
get objdbx object
open document with objdbx obj
get ms of doc eg
set ms = oDoc.ModelSpace
foreach obj in ms
if type obj =
blockreference
size=2> atts =
obj.GetAttributes
foreach att
atts
size=2> ...do
whatever
next
att
next obj
etc
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Soe" <
href="mailto:soenandar@hotmail.com">soenandar@hotmail.com> wrote in
message
href="news:125C3FC9C1FEF3997CE8E1C9226EB377@in.WebX.maYIadrTaRb">news:125C3FC9C1FEF3997CE8E1C92......
how d'u read the block attribute information,
can u share?
thanx.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
size=2>
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
any chance to have coding.
thanx.