parseSheetScale
Function in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Function
TypeScript#
function parseSheetScaleMembers#
| Member | Kind | Description |
|---|---|---|
| parseSheetScale | Method | A sheet scale typed as "1:100" or "1/100": its n; null when the text is no such ratio |
parseSheetScale#
TypeScript#
parseSheetScale(text: string | null): number | nullA sheet scale typed as "1:100" or "1/100": its n; null when the text is no such ratio
Parameters#
| Name | Type | Description |
|---|---|---|
text |
string | null |