RulesetEmbedder Class

Beta  

An API for embedding presentation rulesets into iModels.

Methods

Name Description
constructor(iModelDb: IModelDb): RulesetEmbedder Constructs RulesetEmbedder  
getRulesets(): Promise<Ruleset[]> Get all rulesets embedded in the iModel.  
insertRuleset(ruleset: Ruleset, duplicateHandlingStrategy: DuplicateRulesetHandlingStrategy = DuplicateRulesetHandlingStrategy.Skip): Promise<Id64String> Inserts a ruleset into iModel.  

Defined in

Last Updated: 13 June, 2024