Created
October 31, 2012 07:57
-
-
Save cellfusion/3985724 to your computer and use it in GitHub Desktop.
Cinema4D Goz name reset script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import c4d | |
from c4d import documents | |
# C4D select Objects GoZ Data Reset | |
GoZ_CONTAINER_ID = 2000000 | |
def main(): | |
doc = documents.GetActiveDocument() | |
objs = doc.GetSelection() | |
for obj in objs: | |
bc = obj.GetDataInstance() | |
del(bc[GoZ_CONTAINER_ID]) | |
if __name__=='__main__': | |
main() |
書き出し先(例:mac /Users/Shared/Pixologic/GoZProjects/Default)に同じファイル名がある場合も arleady file になるので、その場合はファイルを削除するか ZBrush 側で GoZ のリセットをしてください。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
選択してるオブジェクトの GoZ が使用してるデータを削除します。
削除すると現在のオブジェクトの名前で GoZ を使用できるようになります。