ViewDrafting.Create
Description:
Creates a new ViewDrafting in the model.
Creates a new ViewDrafting in the model.
public static ViewDrafting Create(
Document document,
ElementId viewFamilyTypeId
)
-
documentThe document in which the new drafting view will be created.
-
viewFamilyTypeIdThe id of the ViewFamilyType that should be assigned to the new drafting view.
-
viewFamilyTypeId is not a valid ViewFamilyType for a drafting view.
-
A non-optional argument was null