Hi all,
I have attempted to find an easy workaround to what seems to be a simple bug in ETO (only tested the Autocad 2013 version for this) and failed so far, I'd like to have some help if anyone here has encountered/solved this issue already.
To reproduce this behavior follow these steps (see DWG attachment):
1. create the above polyline in AutoCAD and observe the bulge polarity.
2. use PE command to reverse the polyline. You'll see the sign of the bulges reverse too but the geometry stays the same (red polyline). This is how it should behave.
3. Create a new Intent ETO model and choose AcDrawingDocument as root.
4. Add an AcadPolyline (white) from SystemDesigns->AutoCAD->Curves.
5. reverse the plist and the signs will also flip just as they did in the AutoCAD version but the geometry will flip to concave. The dynamic rules are as follows:
Parent Rule acadbulges As List = {0, -0.4142135624, 0, -0.4142135624, 0, -0.4142135624, 0, -0.4142135624} Parent Rule pointList As List = reverse({Point(2.07417877, 0.9166787798, 0), Point(2.07417877, 0.5126787798, 0), Point(1.82417877, 0.2626787798, 0), Point(-0.6758212297, 0.2626787798, 0), Point(-0.9258212297, 0.5126787798, 0), Point(-0.9258212297, 0.9166787798, 0), Point(-0.6758212297, 1.16667878, 0), Point(1.82417877, 1.16667878, 0)}) Parent Rule closed? As Boolean = True
The problem with this behavior is that in our models we use polylines recorded by users and we can't guarantee the way they record them. We also rely heavily on mirroring them automatically to generate operations in different views and on opposite sides of our model and there is no easy way I can find to compensate for this.
Any suggestion is welcome.
Thanks,
Steve Szabo
Ok, I think the question implicitly contains the answer but I'd like someone with more experience to confirm this: every time I reverse polyline in Autocad via PE the order of the points in the list gets reversed AND the bulges' signs gets flipped. In Intent whoever reverses the list is responsible for reversing the bulges as well.
I can confirm that. There is no magic tying of point lists and bulges in Intent's implementation of Reverse(List).