SetPropertySetApplicableEntities Method


IFCParameter Template Set Property Set Applicable Entities Method

Note: This API is now obsolete.

Sets the list of IFC entities to which the property set is applicable.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
[ObsoleteAttribute("This is deprecated in Revit 2027 and will be removed in the next version of Revit.")]
public void SetPropertySetApplicableEntities(
	PropertySetupType propertySetupType,
	string propertySetName,
	IList<string> applicableEntities
)

Parameters

propertySetupType PropertySetupType
The property setup type.
propertySetName String
The property set name.
applicableEntities IList String
The list of IFC entities to which the property set is applicable.
Exceptions
Exception Condition
ArgumentException A property set with the given name is not present in the template.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
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 →