Document.SetDefaultElementTypeId
Description:
Sets the default element type id of the given DefaultElementType id.
Sets the default element type id of the given DefaultElementType id.
public void SetDefaultElementTypeId(
ElementTypeGroup defaultTypeId,
ElementId typeId
)
-
defaultTypeIdThe default element type id.
-
typeIdThe element type id.
-
The element type id typeId is invalid for the give DefaultElementType id defaultTypeId.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration