Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / How can I get access to materials saved in FBX from Revit 2011?
  RSS 2.0 ATOM  

How can I get access to materials saved in FBX from Revit 2011?
Rate this thread
 
50325
 
Permlink of this thread  
avatar
  • Brzeg
  • Posted: 09 December 2010 10:55 AM
  • Total Posts: 11
  • Joined: 11 June 2009 09:22 AM

Hi,

How can I get access to materials saved in FBX from Revit 2011?

When I open this file in 3DS Max then filename.fbm folder is created and in 3DS Max I can see the materials.
But when I open in using FBX SDK 2011.3.1 then pFbxNode->GetMaterialCount() always returns zero (filename.fbm folder is not being created).

Thanks in advance for any suggestion.

/Artur



Replies: 2
/userdata/avatar/3yvwf23us_doug100x100.png

I don’t believe you can:

http://area.autodesk.com/for...iles-exported-from-revit/

This should be put in the FAQ.

Author: Doug Rogers

Replied: 09 December 2010 11:17 AM  
/img/forum/dark/default_avatar.png

I am having the same problem.  Is this a known bug in SDK?  Why would it work in 2010, and not in 2011 if it were not a bug in the Revit 2011?  The node’s material layer says, yes it has a material.  Then trying to get the reference to the material, the node reports a 0 material count and null material reference.

Author: rwblodgett

Replied: 13 December 2010 09:49 AM  
avatar

Are you using the current version of Revit?

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=14973244

Here are the boards for Revit.
http://forums.autodesk.com/t5/Autodesk-Revit/ct-p/2003

Perhaps someone there may know.



Replies: 0
avatar
  • Brzeg
  • Posted: 09 December 2010 11:45 PM

Thanks for reply.

There is any way to read from Protein 2.0 blob simple texture path or just diffuse color (without analyze whole material)?



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

I am afraid not.
To get the texture path or diffuse color you need to analyze whole material, but no such support are provided for now.

Author: Jiayang Xu

Replied: 20 December 2010 06:25 PM