BC API DocsBC APIBC dataTypedItemSetAllowLockType
- TypedItemSetAllowLockType(asset: Mutable<Asset>, allowLockType: Record<string, Set<number>>, allowAll?: boolean): void
Parameters
allowLockType: Record<string, Set<number>>
allowAll: boolean = false
Returns void
Sets the AllowLock and AllowLockType properties on an asset based on an AllowLockType array and the total number of possible types.