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

Autocad MEP .NET c# api

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
od2181
1506 Views, 8 Replies

Autocad MEP .NET c# api

Hi, is there a developer's guide to access autocad mep api ? Drawing pipes, fittings etc. by using plugin at c# ?

8 REPLIES 8
Message 3 of 9
andkal
in reply to: od2181

Hello
What exactly do you need to do with .NET or C# in Autocad MEP ?


• www.autolisps.blogspot.com - Productivity plugins for Autocad and Autocad MEP
• Autodesk AppStore
Message 4 of 9
oduzbasan
in reply to: andkal

-

Message 5 of 9
od2181
in reply to: od2181

I have a mini plug in, and user selects some points and I want the plug-in to draw&place pipes, fittings etc. according to those point coordinates.

 

If there is a method that draws pipe and fitting, I can basically send the input data (coordinates, elevation, type of pipe/system, sloping) and method draws accordingly. or I have to create the method, that does this above.

 

Thank you!

Message 6 of 9
od2181
in reply to: od2181

anyone ?

Message 7 of 9
od2181
in reply to: od2181

Hi! No-one can help me out about this ?

Message 8 of 9
pendean
in reply to: od2181

Curious about your continued struggles and doing nothing for 6-months now: at some point one would assume you'd start searching for other venues like https://www.autodesk.com/developer-network/overview
Message 9 of 9
steven.williams.as
in reply to: od2181

Since I found this post and once wanted an answer to similar questions, someone else might too. I have had the same problem trying to learn fabrication API, there just isn't much information organized out there for a beginner.

 

@Gepaha linked to several good resources. In addition, I have also found it helpful to go through the sessions from Autodesk University specifically talking about the Fabrication CADmep API. Also, the examples installed with the SDK/CADmep are very helpful -- you can find them in your program install location. Since I am using 2020 and the default installation folders, mine is in C:\Program Files\Autodesk\Fabrication 2020\SDK\Samples\CSharp. The API documentation is hard to use, but does have everything in one place and hyperlinked, C:\Program Files\Autodesk\Fabrication 2020\SDK\FabricationAPI.chm. Finally, since CADmep is built on AutoCAD, you may need to look at AutoCAD API documentation and examples to fill in the details. Try the first few Google search results.

 

One more note -- the hints IntelliSense provides in Visual Studio are excellent. Get a recent version, add to your references FabricationAPI.dll (from C:\Program Files\Autodesk\Fabrication 2020\CADmep\), acmgd.dll + acdbmgd.dll + adcoremgd.dll (from C:\Program Files\Autodesk\AutoCAD 2020\), and Visual Studio will provide hints about methods/properties/enums/etc., return types, parameters, overloads, etc.

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

Post to forums  

Autodesk Design & Make Report