I am trying to write a dynamo graph to generate custom PVI report. While doing so, I am using Civil3DToolkit to select the profile and alignment. The Object type that I am getting is Autodesk.Civil.DynamoNodes.Profile and Autodesk.Civil.DynamoNodes.Alignment.
While using the Civil3D API members / properties along with Autodesk.Civil.DynamoNodes in Python node, error is thrown.
How should I convert these to Autodesk.Civil.DatabaseServices.Profile and Autodesk.Civil.DatabaseServices.Alignment (and vice versa) to use them within Python scripts.
Also, is there a way to convert Autodesk.Civil.DynamoNodes.PVI to Autodesk.Civil.DatabaseServices.ProfilePVI and Autodesk.Civil.DynamoNodes.AlignmentSubEntitiesExtensions.AlignmentSubEntity to Autodesk.Civil.DatabaseServices.AlignmentSubEntity (and also vice versa)