Softimage Forum (Read Only)
Welcome to Autodesk’s Softimage Forums. Share your knowledge, ask questions, and explore popular Softimage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NewScene() crashes XSI if called from c#

2 REPLIES 2
Reply
Message 1 of 3
JacobAndersenReto
178 Views, 2 Replies

NewScene() crashes XSI if called from c#

Using the executeCommand function to call NewScene (or OpenScene) from a C# customProperty causes XSI to crash.
If I create the property in jScript this does not happen, but I would like to keep my plugins in c#. The crash probably have something to do with XSI suddently clearing the scene with C# code running (no change for the code to exit properly)

Does anyone have a solution or suggestion?

Thanks
2 REPLIES 2
Message 2 of 3

Where do you call NewScene?


// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

I call it on a button press from a customProperty (using the 'executeCommand' function obviously).
I have set up the exact same customProperty using jScript and here it does'nt crash (my workaround solution for the moment)

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

Post to forums  

Autodesk Design & Make Report