How to find these data from my Revit Model ? (FORGE_MODEL_URN) , (FORGE_MODEL_VIEW), (DEVICE_MODEL_ID )

101 Views Asked by At

for starting most projects with Autodesk Forge, I need these data to use in coding. How can I get this information from my model? (FORGE_MODEL_URN) ? (FORGE_MODEL_VIEW) ? (DEVICE_MODEL_ID) ?

FORGE_MODEL_URN and FORGE_MODEL_VIEW (picture)

DEVICE_MODEL_ID (picture)

1

There are 1 best solutions below

3
Petr Broz On

When building an Autodesk Platform Services (formerly Autodesk Forge) app, usually you just need to pass two env. variables to the app: the client ID (e.g., FORGE_CLIENT_ID) and client secret (e.g., FORGE_CLIENT_SECRET). The environment variables you mentioned are not typical at all. They are likely specific to just one specific sample app.