SampleLineVertex.Location failure

SampleLineVertex.Location failure

Jeff_M
Consultant Consultant
557 Views
3 Replies
Message 1 of 4

SampleLineVertex.Location failure

Jeff_M
Consultant
Consultant

What would cause the setting of a vertex location to fail with "Location should be set to new location on the same side of alignment as SampleLineVertex." when the supplied point is clearly on the same side of the alignment as the vertex? I have the command draw a line between the original vertex location and the desired new location. This all seems okay, except the API thinks otherwise. The following video demonstrates that this does work for some samplelines, but not for others.

 

 

 

 

Jeff_M, also a frequent Swamper
EESignature
558 Views
3 Replies
Replies (3)
Message 2 of 4

Jeff_M
Consultant
Consultant

OK, after further tests with other alignments, I now know what is going on. When the road loops around, and the sample line extended can hit the alignment other than at the sample line's insertion (center) point, the API determines the side of the new location from that other intersection point, and not from the actual sample line's station. This should be considered a bug, I believe.

 

@augusto.goncalves - can you confirm this? Ask the dev team to correct it?

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 4

augusto.goncalves
Alumni
Alumni
Jeff, I'll review and escalate this. Thanks!
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 4 of 4

joantopo
Mentor
Mentor

Thanks Jeff for your explanation.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes