Start a new topic

Automation API

Is there an automation API for Keyshot so that I can load a model, create scenes, apply material templates and render from an external process automation tool?


I currently automate part/product design and modelling in a number of CAD/Graphic packages (driven by a parametric database) and Keyshot is the only part of the process that still needs user intervention and the process in Keyshot is the same for all my rendering processes so automation really is the way forward.


Hello Simon,

Thank you for contacting Luxion Denmark Support.
Yes you would be able to do this via the Python Scripting Console in KeyShot.
For more information and a guide on how to use Python Scripting, you can click the link below:

I hope this helps. If you have any questions, please let us know.

Referencing your Ticket ID#:27810

 

Med Venlig Hilsen / Best Regards,

Erik Williams
Customer Support Specialist

Thanks Erik but I was thinking more along the lines of COM or DCOM automation. As with other CAD applications we use, we access the same functions the internal scripting access, but from an automation hook. Internal scripting is no use to automation unless you manually open KeyShot and invoke the script. Also that scrip can't be dynamically changed based on the model geometry you have, i.e. camera location and distance from the model will depend on the size of the geometry.


I really need an API that I can access 'externally' from c++ or c# (which is the native language of the automation tool used). An internal scripting language is ok for those who work within KeyShort and need access to standard scenes, etc. but in this use case, KeyShort is just one tool in a chain of tools configured and controlled externally as part of a much bigger process! 

Hello Simon,

Thank you for contacting Luxion Denmark Support.
My apologies for the delay in my reply. Our Support offices are closed Saturday and Sunday and support tickets automatically close after 5 days of inactivity.

Unfortunately there is no automation API available at this time, but some semblance of one can be created through the KeyShot Scripting Console.

I know this is not the answer you are looking for, and this is something I have brought to our developers to see if and when this can be added to a future release.

Again, I apologize for the delay in my reply and for any inconvenience this has caused you.


Referencing your Ticket ID#:27810

 

Med Venlig Hilsen / Best Regards,

Erik Williams
Customer Support Specialist
Login or Signup to post a comment