After spliting a shape with a rule file (using split command) i would like to trigger just a certain number of resulting elements, let say only 1 or 2. I tryied using the percent comand but i found it unreliable because if i split a shape into 10 objects and try to do something with 10% of those objects this would sometimes be 1, sometimes 3 and sometimes non of the objects.
Practical example: My initial shape is a plot which i subdivide into footprints. I would like just one of these footprints to be a highrise and the rest 5 storie buildings (see the attachment). Idialy i should also be able to sear the position of it but that is a different topic i guess.
Some things are not (yet) possible to synch/drive in just one step of model generation in CGA.
If you split a rectangle once through the shape, you always get 2 resulting shapes. If it's not a rectangle but a different concave form and you split it once, you may end up with multiple resulting shapes. that number ( the result ) can currently NOT be queried BEFORE the operation is actually performed. For this, CGA must be developed further a bit ( we're aware of this and considering to do so, of course).
So the current best practice is to some things in CGA and some manually, repectively automatted via Python.