RevitLinkGraphicsSettings.SetViewDetailLevel
Method
Description:
Sets view detail level and detail level type of RevitLinkGraphicsSettings.
Sets view detail level and detail level type of RevitLinkGraphicsSettings.
Syntax
public void SetViewDetailLevel(
LinkVisibility viewDetailLevelType,
ViewDetailLevel viewDetailLevel
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| viewDetailLevelType | LinkVisibility | The type of the view detail level. |
| viewDetailLevel | ViewDetailLevel | The view detail level. If viewDetailLevelType is set to <a href="f33e82f3-5bec-4532-457e-d01dc537024f.htm">ByHostView</a> or <a href="f33e82f3-5bec-4532-457e-d01dc537024f.htm">ByLinkView</a> the viewDetailLevel must be set to <a href="1f75aa53-ca98-df48-3286-a06b56096054.htm">Undefined</a>. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |