Dear Jeremy,
Thank you very much for your reply. By "Property Line" I mean, the property of the land.
Normally, the way we do this in Revit is we go up to the "Massing & Site" menu, then we choose the "Property Line" tool to create the element.
In practice, the way we do is get the survey points from the Land Surveyor which happens to be "3d points" in Autocad (dwg file) and then link the dwg file in Revit and trace the dwg lines using the "Pick Lines" draw command in creating the Property line using the 'Sketch" option.
Then to get the exact X, Y, Z points (the surveyed coordinates) in the linked autocad file, we do a "Acquire Coordinates" in Revit to get the correct X and Y (East and North) values (the true surveyed coordinates) which is displayed by the "spot coordinates" annotation as shown in the image below.
This is the way I want to achieve using the API.
I have a hunch that it can be done programmatically but since my API knowledge is still not as wide as yours so I would like to get some hints as to where should I start.
I have gone through the API training materials found in API site and in the links you mentioned so I already have a general idea about the basics of selecting and manipulating elements using API.
Also in the samples included in the SDK, none was mentioned about creating a Property Line or atleast a close code matchup that I can dissect.
In the case of the "PropertyLine" class, it doesn't expose a method to create or set the points needed to create the elements, so really its these "not so obvious" way of finding what you need in Revit API that bogs me down (and Im sure others too who are really not a trained programmers).
I hope you can point me to the right direction.
Thank you.