LocationPointPoint Property |
The physical location of the element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic XYZ Point { get; set; }Public Property Point As XYZ
Get
Set
public:
property XYZ^ Point {
XYZ^ get ();
void set (XYZ^ value);
}member Point : XYZ with get, set
Property Value
XYZ
RemarksSetting this property is not supported for
some elements supporting LocationPoints, such as SpotDimensions.
Examplevoid LocationMove(FamilyInstance column)
{
LocationPoint columnPoint = column.Location as LocationPoint;
if (null != columnPoint)
{
XYZ newLocation = new XYZ(10, 20, 0);
columnPoint.Point = newLocation;
}
}
See Also