ViewDraftingCreate Method |
Creates a new ViewDrafting in the model.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static ViewDrafting Create(
Document document,
ElementId viewFamilyTypeId
)
Public Shared Function Create (
document As Document,
viewFamilyTypeId As ElementId
) As ViewDrafting
public:
static ViewDrafting^ Create(
Document^ document,
ElementId^ viewFamilyTypeId
)
static member Create :
document : Document *
viewFamilyTypeId : ElementId -> ViewDrafting
Parameters
- document Document
-
The document in which the new drafting view will be created.
- viewFamilyTypeId ElementId
-
The id of the ViewFamilyType that should be assigned to the new drafting view.
Return Value
ViewDrafting
The newly created drafting view.
Exceptions
See Also