Erases the existing ConduitSizes with this conduit standard name; the consuit standard type can not be removed if it is in use.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2017
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- pADoc
- Type: Autodesk.Revit.DBDocument
The document.
- standardName
- Type: SystemString
The conduit standard name.
Return Value
True if removing success; otherwise false.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The conduit standard is already in use. -or- The conduit standard is the last one. |
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |