I want to enlarge the hatch in top of tunnel (in attached picture and AutoCAD file) to reach its new area to twice of old area.
I want to do it by vba code.
Bonjour @ah_4032
We don't have enough explanations at the moment to give you an effective answer.
Should the hatch be enlarged or reduced?
Should the red part of the magenta hatch be removed?
Give us your code in its current state, and I'll see what I can do about it.
As I don't know the data involved, I don't know how to answer.
Amicalement
At least provide information of how you expect the program to work. We can't read your mind. Also, do not make multiple threads. You can edit your post by clicking on the 3 vertical dots in the upper right of the post.
i fund the solution by adding a delata-y to all of the points of outer polylines in a loop to reach a criteria. But at now, my problem is that I need to detect the magenta color hatchs by any coordinate of them. I need to Area of them in my criteria. All of sections of tunnel have magenta color hatch. When I select the all of sections, I should can to detect the magenta hatch of every section to enter its area and outer polylines points in array similar this: Dim sectionInformationAr (100,1) as variant For I to 100 sectionInformationAr(I,0)=hatch.area sectionInformationAr(I,1)=polylineObj.points Next I is the code of every section.
If you have code, post it using the link in my signature.
Can't find what you're looking for? Ask the community or share your knowledge.