RevitLinkGraphicsSettings.SetDiscipline
Method
Description:
Sets discipline and discipline type of RevitLinkGraphicsSettings.
Sets discipline and discipline type of RevitLinkGraphicsSettings.
Parameters
Parameter | Type | Description |
---|---|---|
disciplineType | LinkVisibility | The type of the discipline. |
discipline | ViewDiscipline | The discipline. If disciplineType 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 discipline must be set to <a href="94363df8-8e46-3d70-8273-dfa0abaf2c46.htm">Architectural</a>. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |