ExternalDefinitionCreationOptions
An option class used for creating a new shared parameter definition, including options such as name, type, visibility, Guid description and modifiable flag.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.ExternalDefinitionCreationOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ExternalDefinitionCreationOptions : IDisposableThe ExternalDefinitionCreationOptions type exposes the following members.
Constructors
Name
Description
Public Method
ExternalDefinitionCreationOptions
Constructs the options using a specified name and type.
Properties
Name
Description
Public Property
Description
The description of the parameter definition to be created. The description will be used as tooltip in the Revit UI including in the properties palette. The default is an empty string.
Public Property
GUID
The GUID to use for this parameter definition. If not explicitly set, a random GUID is used.
Public Property
HideWhenNoValue
This property indicates whether this parameter should be hidden from the properties palette when it doesn’t have a value.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Name
The name of the parameter definition to be created.
Public Property
UserModifiable
This property indicates whether this parameter can be modified by UI user or not.
Public Property
Visible
True if the parameter is visible to the user, false if it is hidden and accessible only via the API. The default is true.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the ExternalDefinitionCreationOptions
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetDataType
Gets the identifier describing the parameter’s data type. The identifier may belong to either a spec or a category. If it is a category, the parameter is a Family Type parameter of that category.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetDataType
Sets the parameter’s data type.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)