2027 Members
Changes 2
M

ParameterUtils Methods

Name Return Type Description
M DownloadCompanyName(Document, ForgeTypeId) String Obsolete. Downloads the name of the given parameter's owning account and records it in the given document. If the owning account's name is already recorded in the given document, this method returns the name without downloading it again.
M DownloadCompanyName(Document, ForgeTypeId, String) String Downloads the name of the given parameter's owning account and records it in the given document. If the owning account's name is already recorded in the given document, this method returns the name without downloading it again.
M DownloadParameter(Document, ParameterDownloadOptions, ForgeTypeId) SharedParameterElement Obsolete. Create a shared parameter element in the given document according to a parameter definition downloaded from the Parameters Service.
M DownloadParameter(Document, ParameterDownloadOptions, ForgeTypeId, String) SharedParameterElement Create a shared parameter element in the given document according to a parameter definition downloaded from the Parameters Service.
M DownloadParameterOptions(ForgeTypeId) ParameterDownloadOptions Obsolete. Retrieves settings associated with the given parameter from the Parameters Service.
M DownloadParameterOptions(ForgeTypeId, String) ParameterDownloadOptions Retrieves settings associated with the given parameter from the Parameters Service.
M GetAllBuiltInGroups() IList<ForgeTypeId> Gets the identifiers of all built-in parameter groups.
M GetAllBuiltInParameters() IList<ForgeTypeId> Gets the identifiers of all built-in parameters.
M GetBuiltInParameter(ForgeTypeId) BuiltInParameter Gets the BuiltInParameter value corresponding to built-in parameter identified by the given ForgeTypeId.
M GetBuiltInParameterGroupTypeId(ForgeTypeId) ForgeTypeId The parameter group identifier corresponding to the given built-in parameter identifier.
M GetDefinition(ForgeTypeId) InternalDefinition Gets the parameter definition for a built-in Revit parameter.
M GetParameterTypeId(BuiltInParameter) ForgeTypeId Gets the ForgeTypeId identifying the built-in parameter corresponding to the given BuiltInParameter value.
M IsBuiltInGroup(ForgeTypeId) Boolean Checks whether a ForgeTypeId identifies a built-in parameter group.
M IsBuiltInParameter(ElementId) Boolean Checks whether an ElementId identifies a built-in parameter.
M IsBuiltInParameter(ForgeTypeId) Boolean Checks whether a ForgeTypeId identifies a built-in parameter.
M IsValidRegionCode(String) Boolean Checks whether a given region code is allowed to identify a region where an account containing parameter definitions may exist.
M WriteSharedParametersToFile(Document, String) None Generates a shared parameters text file from the shared parameters in a given document.