Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
Theme color:
  • 1/3
You are here: Homepage /  Blogs /  3D SDK and Scripting Mayhem / Writing plug-ins in C# or other .NET languages?
Writing plug-ins in C# or other .NET languages?
Posted: Feb 27, 2009
Category:
Social Media:
Bookmark and Share
 
Did you know that it is already possible to write .NET plug-ins for 3ds Max? One sample that demonstrates this is the Scene Explorer sample. Theis sample combines managed and unmanaged C++ into a single DLL, and uses an assembly (i.e. a class library) exposed to .NET that is documented in the SDK documentation.

One problem with this approach is that mixing managed and unmanaged code can be a bit tricky. You have to write a lot of wrapper classes to share data back and forth between code that is managed and code that is unmanaged.

What I want to know is how many people would be interested in writing plug-ins entirely in C# or another .NET language?

While even simple "yes" or "no" posts will make me happy, I would be especially interested in hearing your rationale, and whether such a feature might influence a purchasing decision.
In order to post any comments, you must be logged in!
Newest users comments View All 14 Comments
Posted by timbot on Apr 21, 2011 at 03:57 PM
i would be interested B) i do plugins in autocad with .net and would love to be able to do the same in 3ds max
Posted by ro5219 on Jan 08, 2010 at 11:19 AM
A sample for writing a complete C# plugin would be very welcome.
Posted by André Reschke on Apr 23, 2009 at 04:15 PM
Hi,

yes C# would be a nice addition and help alot.

Like PerPixel already mentioned doing the user interface stuff in C# as well as FileIO and Xml related tasks would speed up alot of things.

Just think how long it takes to start a new plugin from scratch till everything with CustomControls is setup. While in .NET its more or less click and go ( at least thats the theory.)

Also 32->64bit porting would make things alot easier when using C# for some parts of the plugins.
Posted by SITT on Apr 10, 2009 at 01:30 PM
i like c#
Posted by Geoff Wall on Mar 26, 2009 at 12:15 AM
Yes. C# plug-ins would make me happy.