insertRuleset Method

Inserts a ruleset into iModel.

insertRuleset(ruleset: Ruleset, duplicateHandlingStrategy: DuplicateRulesetHandlingStrategy = DuplicateRulesetHandlingStrategy.Skip): Promise<Id64String>

Parameter Type Description
ruleset Ruleset Ruleset to insert
duplicateHandlingStrategy DuplicateRulesetHandlingStrategy Strategy for handling duplicate rulesets. Defaults to

Returns - Promise<Id64String>

ID of inserted ruleset element

Defined in

Last Updated: 13 June, 2024