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® MotionBuilder® / Open Reality / ViewerInfos Problem
  RSS 2.0 ATOM  

ViewerInfos Problem
Rate this thread
 
47099
 
Permlink of this thread  
avatar
  • Avalon
  • Posted: 09 September 2010 09:39 PM
  • Location: Uppsala, Sweden
  • Total Posts: 50
  • Joined: 22 August 2006 02:48 AM

Hi,
I seem to have some weird problems accessing the property of the ViewerInfos.

Python:

lViewerInfos FBSystem().Renderer.ViewerInfos
lViewerInfos
.PropertyList.Find'Comment 1 Text' ).Data       "Test"

Rough translation for testing:
C++:

HFBProperty lProp FBSystem().Renderer->ViewerInfos->PropertyList.Find("Comment 1 Text");
if(
lProp)
{
        char lData[6] 
"Test!";
 
lProp->SetData(&lData);
 
}

Am I missing something here that is quite obvious?
Cheers,
AV



Choose a job you love, and you will never have to work a day in your life.

Replies: 0