Message 1 of 6
C# Biped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Anyone can show me how we can get biped interface inside C# using autodesk.max.dll? This is an example that GetInterface return null:
using System.Windows;
using Autodesk.Max;
namespace TestLibrary
{
public static class TestClass
{
private readonly static IGlobal globalInterface = GlobalInterface.Instance;
private readonly static IInterface coreInterface = globalInterface.COREInterface;
public static void TestFunction()
{
IINode node = coreInterface.GetSelNode(0);
IBipMaster iBipMaster = node.TMController.GetInterface((InterfaceID)0x9165) as IBipMaster;
if (iBipMaster == null) MessageBox.Show("null");
}
}
}