I am trying to use the PA_SetObjectProperty function to return multiple values back to 4D, however, am not having much luck. Does anyone have any sample code to demonstrate how we can work with the PA_GetObjectProperty and PA_SetObjectProperty functions?

Product :4D - 4D Server
OS : Windows

my usage is really straightforward,

so my so I feel it probably won’t help you at all…

Thanks Keisuke,

I was trying to add properties to an object passed from 4D as a parameter, I have since found that these commands only work on objects created in the plugin. I have been able to construct an object now, but am not able to pass it back to 4D in a parameter. Don’t suppose you have been able to do this?

Actually my apologies turns out you can absolutely add properties to objects created by 4D.