For using this sample, you need an Autodesk developer credentials. Visit the Forge Developer Portal, sign up for an account, then create an app that uses Design Automation. For this new app, use http://localhost:3000/api/forge/callback/oauth
as Callback URL [This is option, we are not developing UI], although is not used on 2-legged flow. Finally take note of the Client ID and Client Secret.
Development Enviroment VS 2017 Community or Professional or Ultimate. .NET framework 4.6.
Launch VS 2017 Developer Command from start menu
git clone https://github.com/MadhukarMoogala/Forge-ExplodeText.git
cd Forge-ExplodeText
devenv .\FDA.ExplodeText\FDA.ExplodeText.sln
There is only a single variable drawingResource that needs to be customized to provide your own drawing with DBTEXT entities.
Please ensure provided drawing resource URL should be accessible by HTTP. This sample fetches drawing resource from Amazon S3 Bucket.
Open the app.config file and adjust the Forge Client ID & Secret. If you plan to deploy to Appharbor, configure the variables (no need to change this web.config file).
<appSettings>
<add key="FORGE_CLIENT_ID" value="" />
<add key="FORGE_CLIENT_SECRET" value="" />
</appSettings>
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.