Select edges using Python

522
0
09-27-2021 09:08 AM
MJF
by
New Contributor II

Hi!

I'm fairly new to CityEngine and I was wondering if it is possible to select individual edges of shapes using a Python script or if this only works for shapes using ce.getObjectsFrom(ce.scene, ce.isShape).

Since this is possible manually in the 3D Viewport using a Left-to-right selection rectangle I thought it might as well work through a script.

I'd like to reassign the first edge for many shapes which is why this would be quite useful.

Thanks for any inputs!

0 Kudos
0 Replies