ExternalDefinitionCreationOptions Members


The ExternalDefinitionCreationOptions type exposes the following members.

Constructors

Name Description
Public method ExternalDefinitionCreationOptions(String, ForgeTypeId)
Constructs the options using a specified name and type.
Public method ExternalDefinitionCreationOptions(String, ParameterType) Obsolete.
Constructs the options using a specified name and type.

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 a hash function for a particular type.
(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 .)

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 Type Obsolete.
The type 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.

See Also