RebarContainerType.GetOrCreateRebarContainerType
Method
Description:
Creates or returns a RebarContainerType object with a given name.
Creates or returns a RebarContainerType object with a given name.
Parameters
Parameter | Type | Description |
---|---|---|
aDoc | Document | The document. |
name | String | Name of the type. |
Return Value
Type | Description |
---|---|
ElementId | The type id. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | name is an empty string. |
ArgumentNullException | A non-optional argument was null |