Esri / cityengine-sdk

CityEngine is a 3D city modeling software for urban design, visual effects, and VR/AR production. With its C++ SDK you can create plugins and standalone apps capable to execute CityEngine CGA procedural modeling rules.
https://esri.github.io/cityengine/cityenginesdk
Apache License 2.0
204 stars 64 forks source link

0 error:--shape-attr: At Most 10 required but received 16 #40

Closed falconlulu closed 2 years ago

falconlulu commented 2 years ago

This bug appeared when I had more than 10 -a parameters. Why is there a limit of 10. There may be many shape attrs for a cga file

mistafunk commented 2 years ago

Thanks for the heads up, we'll try to improve this.

In the meantime, try to increase the value 10 here: https://github.com/Esri/cityengine-sdk/blob/cf2ae19ad2cd09dc9821af1e52cfa4df35c775a4/examples/prt4cmd/src/utils.cpp#L256