IsValidContainerName Method


Extended Properties Link Data Is Valid Container Name Method

Validates that the given name is valid for use as the container name of an extended properties link.

Namespace: Autodesk.Revit.DB.ExternalData
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static bool IsValidContainerName(
	string containerName
)

Parameters

containerName String

Return Value

Boolean
True if the name can be used as the container name of an extended properties link. False otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
A valid name must not contain non-printable characters, characters invalid for a path, and must contain at least one non-whitespace character.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →