Select to view content in your preferred language

Get error when using subdivide function

990
5
10-08-2022 02:24 AM
Vita_Vonanli
Emerging Contributor

Hi, I got StackOverflowError null when using subdivide function in menu bar. I selected all of my vector polygons and want to subdivide them at the same time, then the error message appeared.

Is anyone meet this question? I even didn't know what caused this error.

Thanks a lot if you can give some suggestion!

Vita_Vonanli_0-1665220952370.jpeg

 

0 Kudos
5 Replies
JonasObertuefer
Esri Contributor

Hi @Vita_Vonanli,

Some questions:

  • Does this happen everytime you use subdivide? Or only when you select all of your shapes?
  • Does it happen when you select only parts of your shape?
  • How do your shapes look? Are they simple or complex in form?

Also, when you get such messages as shown in the screenshot there are usually more details written to the log (Window -> Log). Then right click -> export entry... and attach it here.

Best,
Jonas

0 Kudos
Vita_Vonanli
Emerging Contributor

Hi Jonas! I have checked my shapes according to your questions and found that only part of them will cause this error, and they mostly look like the picture below. If the shape is more simple, errors will not happen.

Furthermore, it may help when I change the subdivision parameters sometimes(e.g. Min.lot.width, Corner width, Max.corner angle) , but more often than not it doesn't work.

Actually, I have to process more than thousand of shapes. So I hope there is a way to solve this as efficiently as possible.

And the error log is attached too.

Thanks again for your help Jonas!

Vita_Vonanli_0-1665719433297.png

Vita_Vonanli_1-1665719508200.png

 

 

0 Kudos
JonasObertuefer
Esri Contributor

Hi again @Vita_Vonanli,

Thanks for the reply with the log/screenshots. In general we try to avoid such errors in CityEngine.

I would like to further investigate this but I was not able to reproduce it from just the screenshots. Can you send me a scene via Direct Message with some of the shapes where you get the error?

Best
Jonas

0 Kudos
DevinLavigne
Frequent Contributor

I would try to cleaning up the geometry before you run the tool (Shapes-->Cleanup Shapes)

0 Kudos
Vita_Vonanli
Emerging Contributor

Thanks Devin! I have tried Clenup Shapes, but it doesn't seem to work.....

0 Kudos