How to set rule / make sure it exists

1725
2
Jump to solution
02-25-2016 08:47 PM
ChristianShiel1
New Contributor III

When I am run the prt4cmd tool I get the error: OBJEncoder::encode failed, exception caught 'unknown rule'.

Now I have this rule file in the same directory and its not picking up for some reason.

It something to do with this part of the call: ruleFile:string=bin/candler.01.cgb

0 Kudos
1 Solution

Accepted Solutions
ChristianShiel1
New Contributor III

I fixed this error by starting again and this time added absolute paths instead of relative when pointing to rule files. That fixed it!

View solution in original post

0 Kudos
2 Replies
AbhishekRathi1
Occasional Contributor

Dear Christian,

Kindly refer the links below and try to follow. Hope it will solve your purpose.

esri-cityengine-sdk/examples/prt4cmd at master · Esri/esri-cityengine-sdk · GitHub

esri-cityengine-sdk/prt4cmd.cpp at master · Esri/esri-cityengine-sdk · GitHub

https://media.readthedocs.org/pdf/turbogears/latest/turbogears.pdf

The PDF will help you to configure and work properly.

Thanks and Regards

Abhishek Rathi

0 Kudos
ChristianShiel1
New Contributor III

I fixed this error by starting again and this time added absolute paths instead of relative when pointing to rule files. That fixed it!

0 Kudos