Daz3D, 선택한 Object만 Obj Export 하기

silentbrain ㅣ 2018. 6. 29. 15:33

Daz studio는 기본적으로 화면상에 보여지는 모든 오브젝트를 Export 하므로 실제 오브젝트 수정을 위해 빈번한 export 시 손가락이 거덜난다.  아래문서를 참고한다.


http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/export_obj_silent/start


첨부 스크립트에서 


 oSettings.setBoolValue( "SelectedOnly", true );

// Do not limit export to the selected roots

oSettings.setBoolValue( "SelectedRootsOnly", true );

// Do not limit export to the primary selected root;

// this setting overrides SelectedRootsOnly

oSettings.setBoolValue( "PrimaryRootOnly", true );

// Do not export items that are parented to the selection



위 항목을 True로 변경/저장하고 실행하면 선택된 오브젝트를 사용자 인터액션없이 바로 export 해준다. 

export 시의 Obj 파일에 대한 속성 설정은 스크립트 내 oSettings.setBoolValue ( OOO, "True/False")를 수정하면 된다.


Silent_OBJ_Export.dsa


'3D > Daz 3D' 카테고리의 다른 글

Daz studio viewport 성능 향상을 위한 설정  (0) 2018.12.18