I'm trying to create a swept solid that is aligned to its path but the solid appears in a different position to the path. My code (adapted from though the interface) is attached.
I solved this by removing the following line from the code:
sob.BasePoint = pathEnt.StartPoint
It works well now.