Hello again,
It's been a while
I am currently still using the classic API for all plugins, and was looking into creating small "learning" plugins using the new API. Wanted to do so with baby steps, so I thought first to use the classic API for the main framework of the plugin (using PluginStart and the regular registration methods) while using some functionality of the MAXON API.
Not sure if this is even possible, using a mix of classic and new API.
For a first "learning" plugin I though to keep it simple and implement a plugin that has no interaction, but simply displays some information (in the console) when Cinema4D starts.
So, I thought of displaying the MAC address.
From the legacy forum I found a way to do so using the classic API
https://plugincafe.maxon.net/topic/10754/14198_how-to-get-the-ethernet-id-list-solved
And since GetMacAddress
doesn't seem to be available in classic API of R20, that's a good opportunity for a learning experience. Well, there seems to be a Machine
class which contains GetMacAddress
, but haven't found a way how to use that.
And since the purpose was to use the MAXON API I looked further and found NetworkAdapterInterface
.
Went looking for information on interfaces, implementation and usage, but examples on GitHub weren't useful. I just cannot wrap my head around it.
The cinemasdk has examples for tool plugins, object, shader, ... These all are resources to learn from. Aren't there any full plugin examples using the new MAXON API? Or have I been looking at the wrong place?
To be honest, first steps into the new API were quite frustratingly overwhelmed.