ManuallyAdjust Method


Perform Manual Analytical Adjustment on analytical model, with respect to another Element

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2011

Syntax

C#
public bool ManuallyAdjust(
	Reference source,
	Reference target
)
Visual Basic
Public Function ManuallyAdjust ( _
	source As Reference, _
	target As Reference _
) As Boolean
Visual C++
public:
bool ManuallyAdjust(
	Reference^ source, 
	Reference^ target
)

Parameters

source
Type: Autodesk.Revit.DB Reference
Which part of Analytical Model needs to change.
target
Type: Autodesk.Revit.DB Reference
Which part of another Analytical Model change should be made against.

Return Value

Indicates the successful completion of the Manual Analytical Adjustment operation. True if source Element was adjusted successfully, false otherwise.

Remarks

Success is achieved when the Source adjusts itself against the Target. Additionally, this requires an open transaction on the current document. Model regeneration is required after the operation.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown if source cannot be used as source reference, or if target cannot be used as target reference.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions DisabledDisciplineException None of the following disciplines is enabled: Structural.

See Also