RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DirectShape

DirectShape.SetTypeId

Method
Description:
Sets the DirectShapeType for the DirectShape element.
Syntax
public void SetTypeId(
	ElementId typeId
)
Parameters
Parameter Type Description
typeId ElementId The ID of the type corresponding to this DirectShape element. May only be set once.
Return Value
Exceptions
Exception Condition
ArgumentException typeId is not a valid Element identifier.
ArgumentNullException A non-optional argument was null