.NET

Reply
Active Member
Maciej_R
Posts: 9
Registered: ‎08-28-2011
Message 1 of 6 (219 Views)

Autocad object out of autocad

219 Views, 5 Replies
01-02-2013 08:08 AM

Is it possible to use Autocad object in program other then autocad for example Robot?

I'm trying to use elements like Polyline arc3d Vectors3d and Point3d?

I it is not possible to use autocad objects do you have some other classes that could be useful to get lenght at point or get angel between points?

 

 

Moderator
Alexander.Rivilis
Posts: 1,406
Registered: ‎04-09-2008
Message 2 of 6 (213 Views)

Re: Autocad object out of autocad

01-02-2013 08:31 AM in reply to: Maciej_R

acdbmgd.dll, acmgd.dll, accoremgd.dll can be using only with AutoCAD and it's vertical application (such as AutoCAD Architecture, Civil3D, Mechanical, etc.)

Vector3D and Point3D are a classes from System.Windows.Media.Media3D namespace (PresentationCore.dll)


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Active Member
Maciej_R
Posts: 9
Registered: ‎08-28-2011
Message 3 of 6 (189 Views)

Re: Autocad object out of autocad

01-02-2013 12:59 PM in reply to: Alexander.Rivilis

Thanks for explaining.
In my program I need to get several things:
Get distance along polyline in 3d to point in 3d.
Get center of an arc in 3d based on three subsequent vertex of polyline.
Get angle between subsequent points and center of above arc.
Get angle between three subsequent points.
Do you have some tips how to get those things or where to look for some assembly that could do that?
Would not like to build something that already is out there.
Frustrating is that I had this in autocad and it was so easy :smileywink:

Contributor
autodeskprogrammer
Posts: 21
Registered: ‎08-20-2008
Message 4 of 6 (176 Views)

Re: Autocad object out of autocad

01-02-2013 04:01 PM in reply to: Maciej_R

You can easily use these objects abilities in a separate dll and then implement them in any other environments

Active Member
Maciej_R
Posts: 9
Registered: ‎08-28-2011
Message 5 of 6 (113 Views)

Re: Autocad object out of autocad

01-16-2013 01:30 PM in reply to: autodeskprogrammer

I had vacation, now I back to my proejct :smileywink:.
I was trying to use those functions in separate class but it didnt work could you show me some sample how shoould the dll look like? (For some sample object abilitie) or refer to some source?

Moderator
Alexander.Rivilis
Posts: 1,406
Registered: ‎04-09-2008
Message 6 of 6 (106 Views)

Re: Autocad object out of autocad

01-16-2013 01:43 PM in reply to: Maciej_R

Maciej_R wrote:
…I was trying to use those functions in separate class but it didnt work…


I have to repeat that it is impossible to use acdbmgd.dll, acmgd.dll, accoremgd.dll outside AutoCAD. So you'll have to create these classes / methods themselves.


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.