Gets or sets the origin of a subassembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public Point3d Origin { get; set; }
Visual Basic
Public Property Origin As Point3d
	Get
	Set
Visual C++
public:
property Point3d Origin {
	Point3d get ();
	void set (Point3d value);
}

Remarks

  • Only the origin of a static subassembly (GeometryGenerateMode is HardCoded) can be set.
  • When the origin is set, offset and elevation of each point on the subassembly are updated based on the new origin.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when setting the origin of a dynamic subassembly (GeometryGenerateMode is not HardCoded).

See Also