Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MaxPlus GetUserPropBuffer() args?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
748 Views, 1 Reply

MaxPlus GetUserPropBuffer() args?

MaxPlus's GetUserPropBuffer() requires string args, why? This is just supposed to return the contents of the User Defined Properties right? 

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Going to answer my own question here since it might help others that are new to Python in 3dsmax... I did not know that you are supposed to use the SDK documentation to interprete how to use MaxPlus. In the SDK docs I can see that the string argument is filled with the contents of User Defined Props.

 

 

MAXSCRIPT DOCS

getUserPropBuffer <node> 

Retrieves the entire user property buffer as a string containing all the user property settings. This is effectively the contents of the User Defined Properties box in the 3ds Max Object Properties dialog.


PYTHON API REFERENCE

def GetUserPropBuffer( self,
   args 
 )  
GetUserPropBuffer(INode self, WStr buf)


SDK REFERENCE

virtual void GetUserPropBuffer(MSTR buf) 
pure virtual
Remarks This method allows access to the entire user defined property text buffer. Parameters
bufThe buffer to hold the user defined property text.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report