Factory method - creates analysis display style object of type Diagram for the given document.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static AnalysisDisplayStyle CreateAnalysisDisplayStyle(
Document document,
string name,
AnalysisDisplayDiagramSettings diagramSettings,
AnalysisDisplayColorSettings colorSettings,
AnalysisDisplayLegendSettings legendSettings
)
Parameters
- document Document
-
Document for which analysis display style object is created.
- name String
-
Name of the analysis display style within the %document%.
- diagramSettings AnalysisDisplayDiagramSettings
-
Diagram settings for the style.
- colorSettings AnalysisDisplayColorSettings
-
Color settings for the style.
- legendSettings AnalysisDisplayLegendSettings
-
Legend settings for the style.
Return Value
AnalysisDisplayStyle
New analysis display style object.
Exceptions
See Also
Reference