Creates a new orthographic 3D assembly view for the assembly instance.
The view will have the same orientation as the Default 3D view.
The document must be regenerated before using the 3D view.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2017
Syntax
Visual Basic |
---|
Public Shared Function Create3DOrthographic ( _
document As Document, _
assemblyInstanceId As ElementId, _
viewTemplateId As ElementId, _
isAssigned As Boolean _
) As View3D |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document to which the view will be added.
- assemblyInstanceId
- Type: Autodesk.Revit.DB..::..ElementId
Id of the assembly instance that owns the new view.
- viewTemplateId
- Type: Autodesk.Revit.DB..::..ElementId
Id of the view template that is used to create the view;
if invalidElementId, the view will be created with the default settings.
- isAssigned
- Type: System..::..Boolean
If true, the template will be assigned, if false, the template will be applied.
Return Value
A new orthographic 3D assembly view.
Exceptions
See Also