Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Syntax format of xgen for kick .ass

Message 1 of 4
404 Views, 3 Replies

Syntax format of xgen for kick .ass

I'm running into an error on renders on kick jobs for xgen procedurals:

I've filled in the "arnold_auxRenderPatch" attribute in the XGen UI (Under Preview/Output tab for a XGen Description) and enabled it.

It's always finding an syntax problem with whatever values that I put in it. Whether it's just a base filename, a full path, or a ${desc}/<path>/

None are accepted.

What is the required format of this field? It's not breaking my render because I have a file that is living in the same directory as the .xgen file (with the same so it finds that one and will use that one.

But if this AuxRenderPatch path is suppose to be an option, it'd like to know what the requirements are.


Markus Ng

Here's the errors that I get:

======error 1======

[34m09:47:34 XGen Stats(1): Setup for villagebridge_grass|lrggrasslawn_patch_a took 0.000 seconds. [0m

[31m09:47:34 XGen Error: Error in expression "lrggrasslawn_patch_a::arnold_auxRenderPatch". [/n/projects/grimm/gm01/production/vault/foliage/fol_villagebridgegrass/xgen_versions/villagebridge_grass.v081/]

Error: Syntax error near '/':

/n/projects/grimm/gm01/producti... [0m

======error 2======

[34m16:00:22 XGen Stats(1): Setup for villagebridge_tallgrass|smlgrasslawn_patch_a took 0.000 seconds. [0m

[31m16:00:22 XGen Error: Error in expression "smlgrasslawn_patch_a::arnold_auxRenderPatch". []

Error: Prep errors:

Line 1: No variable named $


Tags (1)
Labels (1)
Message 2 of 4
in reply to:

Those errors are coming from XGen, which is trying to evaluate that string as an expression for some reason.

I've seen a few cases like this, sometimes the user says the render still works.

Let me do some testing, because it's been at least a year since that last time I looked into this...

// Stephen Blair
// Arnold Renderer Support
Message 3 of 4
in reply to:

Thanks Stephen,

Yes, the render will still work as long as I have the .abc that matches the xgen file name in the same directory.

Seems like It just mean that the auxRenderPath is not something that we can functionally use on the farm. I think.

Message 4 of 4
in reply to:

Seems to work for me. I still do get those Syntax error near ':' errors, which I suppose your render manager catches, and then cancels the render?

I don't have any abc file in the scenes folder. The only abc is in the alembic/cache folder, and I use that as the arnold_auxRenderPatch

I used Process Monitor to see what abc file was used, and I eventually figured how to see visually whether the auxRenderPath was used:


// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators

Autodesk Design & Make Report