Skip to content

ExternalDefinitionCreationOptions

Public Class

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 : IDisposable

The 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

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

The GUID to use for this parameter definition. If not explicitly set, a random GUID is used.


Public Property

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

The name of the parameter definition to be created.


Public Property

This property indicates whether this parameter can be modified by UI user or not.


Public Property

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

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

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

Sets the parameter’s data type.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)