AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mapconnect

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
t_jevdjic
824 Views, 2 Replies

mapconnect

t_jevdjic
Advocate
Advocate

I guess that I made mistake about the right forum with my post several days ago.

So, I'm posting it here.

1. Is it possible to use Visual Basic (that's inside Autocad MAP) to connect in with Autocad MAP FDO features? I understand that it's possible via Visual Studio, but that is an option that requires knowledge about dll files that I have to make references. 

2.  I have windows 10, Autocad MAp 2016,  and I tried to compile this solution. I got an error like it misses dbxHeader.h.
I would like to succesfully compile this, what steps I have to do to change the code?

Anyone??

http://adndevblog.typepad.com/autocad/2012/10/embedding-an-image-in-a-drawing.html

 Thanks

 

0 Likes

mapconnect

I guess that I made mistake about the right forum with my post several days ago.

So, I'm posting it here.

1. Is it possible to use Visual Basic (that's inside Autocad MAP) to connect in with Autocad MAP FDO features? I understand that it's possible via Visual Studio, but that is an option that requires knowledge about dll files that I have to make references. 

2.  I have windows 10, Autocad MAp 2016,  and I tried to compile this solution. I got an error like it misses dbxHeader.h.
I would like to succesfully compile this, what steps I have to do to change the code?

Anyone??

http://adndevblog.typepad.com/autocad/2012/10/embedding-an-image-in-a-drawing.html

 Thanks

 

2 REPLIES 2
Message 2 of 3
norman.yuan
in reply to: t_jevdjic

norman.yuan
Mentor
Mentor

1. Is it possible to use Visual Basic (that's inside Autocad MAP) to connect in with Autocad MAP FDO features? I understand that it's possible via Visual Studio, but that is an option that requires knowledge about dll files that I have to make references. 

 

 


The Visual Basic inside AutoCAD/Map is called VBA (Visual Basic for Application), which is a specially customized Visual Basic development/run environment. 

 

No, you cannot use VBA to work with AutoCAD Map's FDO functionality (except to use AcadDocument.SendCommand() to call some simple commands that may related to FDO operations).

 

The FDO related functionalities in AutoCAD Map are exposed with AutoCAD Map platform APIs, which is based on MS .NET framework. So, you need to know how to program with MS .NET framework (with Visual Basic.NET or C#).

 


2.  I have windows 10, Autocad MAp 2016,  and I tried to compile this solution. I got an error like it misses dbxHeader.h.
I would like to succesfully compile this, what steps I have to do to change the code?

Anyone??

http://adndevblog.typepad.com/autocad/2012/10/embedding-an-image-in-a-drawing.html


This is regarding an plain AUtoCAD, not necessarily AutoCAD Map. The code provided from the article you referred to is an ObjectARX C++ solution, which is meant for highly specialized professional AutoCAD programmers. It creates a custom entity in AutoCAD to hold the image. Judging from the question you asked (no offence), it might be too much to know/learn how to get the code complied/used. In most cases, you can just insert image into drawing as how AUtoCAD allows manually, which can also be done easily programmatically with Lisp, VBA...

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes


1. Is it possible to use Visual Basic (that's inside Autocad MAP) to connect in with Autocad MAP FDO features? I understand that it's possible via Visual Studio, but that is an option that requires knowledge about dll files that I have to make references. 

 

 


The Visual Basic inside AutoCAD/Map is called VBA (Visual Basic for Application), which is a specially customized Visual Basic development/run environment. 

 

No, you cannot use VBA to work with AutoCAD Map's FDO functionality (except to use AcadDocument.SendCommand() to call some simple commands that may related to FDO operations).

 

The FDO related functionalities in AutoCAD Map are exposed with AutoCAD Map platform APIs, which is based on MS .NET framework. So, you need to know how to program with MS .NET framework (with Visual Basic.NET or C#).

 


2.  I have windows 10, Autocad MAp 2016,  and I tried to compile this solution. I got an error like it misses dbxHeader.h.
I would like to succesfully compile this, what steps I have to do to change the code?

Anyone??

http://adndevblog.typepad.com/autocad/2012/10/embedding-an-image-in-a-drawing.html


This is regarding an plain AUtoCAD, not necessarily AutoCAD Map. The code provided from the article you referred to is an ObjectARX C++ solution, which is meant for highly specialized professional AutoCAD programmers. It creates a custom entity in AutoCAD to hold the image. Judging from the question you asked (no offence), it might be too much to know/learn how to get the code complied/used. In most cases, you can just insert image into drawing as how AUtoCAD allows manually, which can also be done easily programmatically with Lisp, VBA...

 

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 3
t_jevdjic
in reply to: norman.yuan

t_jevdjic
Advocate
Advocate
Accepted solution

Hello, thanks for the reply.

I am not offended, I just think that it is not a rocket science.

I have some programming experience and I thought that it would be interesting to make dll that could be imported into Autocad.

Anyway, now I have some knowledge about this issue.

 

Best,

Tatjana

0 Likes

Hello, thanks for the reply.

I am not offended, I just think that it is not a rocket science.

I have some programming experience and I thought that it would be interesting to make dll that could be imported into Autocad.

Anyway, now I have some knowledge about this issue.

 

Best,

Tatjana

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report