UkooLabs/FBXSharpie

How to add FbxNode properties?

Opened this issue · 5 comments

As far as I can tell, none of the Token constructors are exposed, so it's not clear to me how to use FbxNode.AddProperty. What is the intended method of adding properties?

@youarebritish how did you know I’m British, although been living in canada 7 years now :)

This repo is a overhaul of someone else’s work and what I’ve been working on mainly is the loading / saving / optimization / improvement side of things. I’ve been working towards goal of loading one format Version and then being able to Save as a diff version.

Once that work is done I want to start creating classes for each of the node types so becomes easier for user to add a camera etc

The more I understand what users other than my self would like from library the more I can focus my efforts in appropriate directions as the library grows.

Unfortunately I’ve not looked into adding properties etc yet

I hope that briefly explains where I am at at the moment.

C# libraries which can write FBX documents are few and far between, and this appears to be the most modern one I could find. I was able to add properties by making the Token subclasses public. If that's not the intended workflow, it was the fix most apparent to me.

@youarebritish cool, will look into making them public for now. Out of interest if you don’t mind me asking, what do you use the writing features for / use of library?

I'm working on some game modding tools to convert to and from proprietary model formats.

@youarebritish just started work on project full steam now, and apart from fixing some bugs, have now made the tokens public