>>Hugo,
>>
>>Good point about scan. I haven't paid attention to this detail.
>>
>>I also think it could be a good idea to create some predefined names instead of random names. That's why I'm saving last added shape number and create a new one using shpN name. This way you can access it later in the code if needed.
>>
>
>
>Whenever I do this things, I name my objects sequentially, as you said, and I also use the "shp" convention, similar to yours, then my shapes, or any other object, would be
>
>shp000000001
>shp000000002
>shp000000003
>
>cbo000000001
>cbo000000002
>cbo000000003
>
>line000000001
>line000000002
>line000000003 etc
The 0s in front are overkill. I'm extremely picky today < g >
If it's not broken, fix it until it is.
My Blog