Help me start in objectarx, please?

Help me start in objectarx, please?

Anonymous
Not applicable
320 Views
5 Replies
Message 1 of 6

Help me start in objectarx, please?

Anonymous
Not applicable
I'm begging for a handout here. I want to start using ObjectARX but need
help taking the first step.

Can someone please post some basic code simply showing how to open and get
into the database of an axdbdocument? Code doesn't have to do anything, just
show me how to make initial access. I think I can take it from there (famous
last words).

Thanks in advance.
0 Likes
321 Views
5 Replies
Replies (5)
Message 2 of 6

Ed__Jobe
Mentor
Mentor
Tony, you mean ObjectDbx. ObjectArx is a set of library for C++. ObjectDbx is an ActiveX interface. Look at my post in Customer Files called "ImportPageSetupsND" for an example. -Ed

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 6

Anonymous
Not applicable
Oops. I kew that. Guess I need more help than I
thought. I retrieved your file and it works.

 

That was the jump start I needed. Thank you, thank
you, thank you.

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Tony,
you mean ObjectDbx. ObjectArx is a set of library for C++. ObjectDbx is an
ActiveX interface. Look at my post in Customer Files called
"ImportPageSetupsND" for an example. -Ed
0 Likes
Message 4 of 6

Anonymous
Not applicable
ed,

 

i to am just starting ObjectDBX and found you post
on the customer files.... however, for some reason the code stops at
'dbxdoc.open strfilepath'  with a VBA error message of 'method 'OPEN' of
object 'IAxDbDocument' failed'.....  i assume that i haven't registered
something... however i have made a reference to the ObjectDBX 1.0 Type Library
and i have registered the AxDb15.dll as mentioned in the comments.... is there
something else i am missing???

 

cheers

 

mark

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Tony,
you mean ObjectDbx. ObjectArx is a set of library for C++. ObjectDbx is an
ActiveX interface. Look at my post in Customer Files called
"ImportPageSetupsND" for an example. -Ed
0 Likes
Message 5 of 6

Ed__Jobe
Mentor
Mentor
When it breaks, go to debug and check to see if you got the filename right. Also, did you try to open a dwt? You can only open dwg's. -Ed

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 6 of 6

Anonymous
Not applicable
thanks ed.... i figured it out it was a typing
error

 

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
When
it breaks, go to debug and check to see if you got the filename right. Also,
did you try to open a dwt? You can only open dwg's.
-Ed
0 Likes