Sets the family name for the DirectShapeType.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetFamilyName( string name )
Parameters
- name String
- Family name for the DirectShapeType.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The element type name was empty, contained invalid characters, or was invalid for the specific element type. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The given DirectShapeType has a category which does not support a custom family name. |
