(#853) Reloading Destination Terrain using Python

6 views
Skip to first unread message

Toei Animation

unread,
Sep 1, 2022, 4:56:02 AM9/1/22
to crowd...@golaem.com, kitaguch...@toei-anim.co.jp
Submitted on Thursday, September 1, 2022 - 10:55
Submitted by anonymous user: 202.12.247.66
Submitted values are:

First Name: Kazuya
Last Name: Kitaguchi
Company: Toei Animation
Status: Customer
Email: kitaguch...@toei-anim.co.jp
Emails to CC:
Golaem Version: 7.3.13
Maya Version: 2020
Python Version: Python 2
OS: Windows
Distribution:
Renderer: Arnold(MtoA4.1.1.1)
Other DCC:
Subject: Reloading Destination Terrain using Python
Attachment: https://golaem.com/sites/default/files/webform/RefreshTerrain.png
Details:
I could a destinaion terrain using glmExportDestinationTerrain()

https://golaem.com/content/doc/golaem-crowd-documentation/glmexportterrain

But Golaem could NOT reload the GTG file.
Maybe I need to implement some code to reload the GTG through Python.

How can I press this button through Python?


The results of this submission may be viewed at:
https://golaem.com/node/250/submission/6368

Nicolas Chaverou

unread,
Sep 1, 2022, 5:00:40 AM9/1/22
to crowd...@golaem.com, kitaguch...@toei-anim.co.jp
Hey there,

If you check the mel file AESimulationCacheProxyManagerTemplate in scripts/ you can see all the code which is called by all the buttons
This code can be called directly from Python or rewritten in Python code if required - here it just changes the value of the terrainNeedRefresh attribute
I let you check and let us know how it goes
Best,


--
Note that crowd...@golaem.com is a public list.
If for any reason (confidential project, sending production files...) you need to post a private message to Golaem Support, please use http://support.golaem.com
---
You received this message because you are subscribed to the Google Groups "Golaem List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crowd-list+...@golaem.com.
To view this discussion on the web visit https://groups.google.com/a/golaem.com/d/msgid/crowd-list/20220901085559.1792261193%40cluster023.hosting.ovh.net.
Reply all
Reply to author
Forward
0 new messages