Python script polyline3d as curve with transaction getobject

Hi … a simple python question…
How do I set a variable to read a Poltyline3d as a Curve object using transaction.GetObject?
I am referring to the base class under Polyline3d (generic AutoCAD Curve object).
Thx for your patience,

Are you trying to get the Dynamo curve?