Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was not able to find any relevant property in any object.
Website: https://perceptino.com
Solved! Go to Solution.
I was not able to find any relevant property in any object.
Solved! Go to Solution.
Depending on what you're trying to do - you can find and run native commands as described here: https://modthemachine.typepad.com/my_weblog/page/11/
Maybe accessing material commands might work for you? If not, maybe running those commands inside VSCode debugger might let you trace into them to find out how to access what you need directly?
I know with Inventor, and I believe it is the same with Fusion, that material categories don't exist as something on their own. Each material has a property with the category name and then the UI creates the listing by grouping the materials together based on the value of this property. I just did some testing with the properties that are exposed for a Fusion material and I'm not finding a property that matches with the category it's being shown under. So either this is a different type of property that's not exposed through the API or Fusion is doing something different and again, this isn't exposed to the API. Either way, it looks like you don't have access to the categories shown in the materials dialog.
Thank you for your suggestion. I did not find anything that I can use to retrive the list of material categories.