IndependentTagSetLeaderStart Method |
Sets the free leader start point for the leader to the specified reference.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic void SetLeaderStart(
Reference referenceTagged,
XYZ freeLeaderStartPoint
)
Public Sub SetLeaderStart (
referenceTagged As Reference,
freeLeaderStartPoint As XYZ
)
public:
void SetLeaderStart(
Reference^ referenceTagged,
XYZ^ freeLeaderStartPoint
)
member SetLeaderStart :
referenceTagged : Reference *
freeLeaderStartPoint : XYZ -> unit Parameters
- referenceTagged Reference
-
The reference which is tagged.
- freeLeaderStartPoint XYZ
-
A point representing the free start location for the leader.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
There is no leader start because the tag does not use a free start leader or the leader is not visible.
-or-
The specified reference is not currently tagged.
|
| ArgumentNullException |
A non-optional argument was null
|
| InvalidOperationException |
The IndependentTag object does not have a tag behavior.
-or-
For this tag leaders are not allowed.
|
Remarks
Tags without leaders or with leaders that use the attached leader start condition do not support free leader start points.
LeaderStartCondition for the tag's leader start condition.
See Also