insertRuleset Method
Inserts a ruleset into iModel.
insertRuleset(ruleset: Ruleset, options?: RulesetInsertOptions): Promise<string>
Parameter | Type | Description |
---|---|---|
ruleset | Ruleset | Ruleset to insert. |
options | RulesetInsertOptions | Options for inserting a ruleset. |
Returns - Promise<string>
ID of inserted ruleset element or, if insertion was skipped, ID of existing ruleset with the same ID and highest version.
Defined in
Last Updated: 20 June, 2023