Hi Gents,
I am new to Revit programming as well as C#. My question might be very stupid. I am trying to create walls, and I will need to define the curve first.
I have tried the following code:
Curve panelCurve = new Curve();
However, I received error message when I built the project: "The type 'Autodesk.revit.DB.Curve' has no constructors defined"
And... Curve panelCurve = Curve.create() seems not available. There are only Curve.Equals() and Curve.ReferenceEquals() available.
Wall class does not have constructors defined as well, but it has Wall.Create() available.
Thanks very much!