Model Behavior in C API

Am I missing something, or is there no way to get/set the behavior of a model in the C API?
I’m looking into getting and setting the always_face_camera behavior of a model (a *.skp file that will be loaded as a definition by the final user)

Ordinarily I’d suggest casting the reference to the type that has the needed function, but there doesn’t seem to be a way to cast a model type to an entity type (even though there is a specific “concrete” type identifier setup for a model,) … and hence no way to cast to a definition to use it’s behavior function.

I’d suggest opening a request for a SUModelGetBehavior function in the API tracker.

1 Like
1 Like