loadPattern() function
Helper to load a PatternResource object by Upload identity.
Signature:
declare function loadPattern(ctx: Context, identity: string): Promise<PatternResource>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ctx | ||
|
identity |
string |
Returns:
Promise<PatternResource>
Remarks
Given an Upload identity (e.g. core3d:upload:...) this will create and load a PatternResource for Design application.