Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

IDerivativeOutputFormat

Functions

urnify

  • urnify(id: string): string
  • Converts ID of an object to base64-encoded URN expected by ModelDerivativeClient.

    example
    urnify('urn:adsk.objects:os.object:my-bucket/my-file.dwg'); // returns 'dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bXktYnVja2V0L215LWZpbGUuZHdn'
    

    Parameters

    • id: string

      Object ID.

    Returns string

    base64-encoded object URN.

Generated using TypeDoc