Iray Converter for Generation 4 Script Error
![MacSavers](https://farnsworth-prod.uc.r.appspot.com/forums/uploads/userpics/927/n320507210A11.jpg)
I keep getting this error when attempting to use the initial converter, before I can use any of the individual adjustments.
2016-13-02 11:13:08.747 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00054 iterations after 40.989s.
2016-13-02 11:13:12.525 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00059 iterations after 44.766s.
2016-13-02 11:13:16.157 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00064 iterations after 48.398s.
2016-13-02 11:13:16.289 Loading script: /Users/Shared/My DAZ 3D Library/People/Generation 4/Materials/V3Digitimes Iray Converter For Generation 4/G4T !Apply Iray Materials On Generation 4.dse
2016-13-02 11:13:16.305 WARNING: Script Error: Line 90
2016-13-02 11:13:16.305 WARNING: TypeError: Result of expression 'oObject' [null] is not an object.
2016-13-02 11:13:16.305 WARNING: Stack Trace:
<anonymous>()@/Users/Shared/My DAZ 3D Library/People/Generation 4/Materials/V3Digitimes Iray Converter For Generation 4/G4T !Apply Iray Materials On Generation 4.dse:90
2016-13-02 11:13:16.307 Error in script execution: /Users/Shared/My DAZ 3D Library/People/Generation 4/Materials/V3Digitimes Iray Converter For Generation 4/G4T !Apply Iray Materials On Generation 4.dse
2016-13-02 11:13:20.470 Iray INFO - module:category(IRAY:RENDER): 1.0 IRAY rend info : Received update to 00070 iterations after 52.711s.
Anyone know how to fix this?
Comments
Do you have the figure to be changed selected?
Yeah. I found the problem though. It appears V4 cannot be part of a group or parented to another object. Once you do that, the script breaks. A bit of a pain to have to unparent something and re-parent it after running the script, but it solves the problem.
I've had scripts break with Genesis3 as a child of a group.