How to Determine What Dll Needs to be Referenced

How to Determine What Dll Needs to be Referenced

jmartensBGRRW
Contributor Contributor
590 Views
3 Replies
Message 1 of 4

How to Determine What Dll Needs to be Referenced

jmartensBGRRW
Contributor
Contributor

Hello,

I am working thru an example I found on the AutoCAD DevBlog located here -->Plant 3D Example

 

After getting the code loaded into Visual Studio, I am missing some dlls that need to be referenced to my project.

I would like to know how do you determine which dll is required? My current approach is running a google search key terms such as “PlantProject” and/or “CurrentProject” shown in the screen shot. Then if I do not locate anything I start to manually add the dlls from AutoCAD Plant3D SDK until all the missing dlls are included in the project.

 

Is there a better approach to this? 

 

Picture1.png

 

0 Likes
591 Views
3 Replies
Replies (3)
Message 2 of 4

kerry_w_brown
Mentor
Mentor

 

I don't work with Plant3D, so this is a wild assed guess:
Have a look at

https://github.com/ADN-DevTech/Plant3DTraining/blob/master/Labs/LABS_Complete/LAB_01.cs

 

or perhaps have a look in this template:

https://github.com/ADN-DevTech/Plant3DTraining/blob/master/Tools/VSTemplate/plnt2015template_cs.zip

 

Regards,


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
Message 3 of 4

jmartensBGRRW
Contributor
Contributor

Thank you for that information. 

0 Likes
Message 4 of 4

Ed__Jobe
Mentor
Mentor

I would look for the help file outlining the api. I use Electrical and the help file is located here.

C:\Program Files\Autodesk\AutoCAD 2023\Acade\Help\en-US\Help\ACE_API.chm

 

I would imagine that yours has something similar.

-edit. acad comes with the api. It looks like you have to download an SDK. Look there. The help file should give you an indication of what dll's come with it.

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