autodesk-forge / forge-configurator-inventor Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Demo for Autodesk Forge Design Automation for Inventor
Home Page: http://inventor-config-demo.autodesk.io
License: MIT License
[DEPRECATED] Demo for Autodesk Forge Design Automation for Inventor
Home Page: http://inventor-config-demo.autodesk.io
License: MIT License
What should be the correct approach to add an option for exporting DWG from IDW?
Hello!When i try to upload ipt file got this error:System.Net.Http.HttpRequestException: 'The server returned the non-success status code 400 (Bad Request).
More error details:
{"activityId":["The activity FcuaA6cCAKd9jv7vmVBAcG8bR9NUZgBA.AdoptProject+alpha could not be found (Parameter 'activityId')"]}.'
I think design automation can not create or find activityId
await ProjectWork.AdoptAsync(_projectInfo,signedUploadedUrl) method can not give success response and exception image is under below
Hey,
i have some problems to get my own inventor files up and running.
I tried to adjust the /appsettings.json
"DefaultProjects": { "Projects": [ { "Url": "https://sdra-default-projects.s3.us-west-2.amazonaws.com/WrenchForm.zip", "TopLevelAssembly": "Wrench.iam", "Name": "Wrench" }, { "Url": "https://sdra-default-projects.s3.us-west-2.amazonaws.com/Wheel_multi_IDW.zip", "TopLevelAssembly": "WheelAssembly.iam", "Name": "Wheel" } ] },
and replaced the links, TopLevelAssembly and Names with my files but they never appear in the Webapp!
How can I get this to work?
Thanks
Hello, is it possible to add automatic quotas to user text parameters values? How should I start? And help?
Current file ParametersExtractor.cs :
https://github.com/Autodesk-Forge/forge-configurator-inventor/blob/960c81a246cfa1d6f54296f3f729f748a6fbfd33/AppBundles/PluginUtilities/ParametersExtractor.cs
I should prevent errors and problems with text parameters changes.
Forum post i related to :
https://forums.autodesk.com/t5/inventor-ilogic-api-vba-forum/error-when-changing-text-parameter-on-design-automation-api/td-p/10347153
and
https://forums.autodesk.com/t5/inventor-ilogic-api-vba-forum/using-quote-marks-in-a-string-variable/m-p/7855301#M81978
I think everyone would benefit from this.
When I tried to login to your site with my Forge account, I got below error.
Access to this site is by invitation only. Your email is not authorized.
Trying to build for the first time and getting the error "Cannot create OSS bucket. Repeating" a few times then crashes. Curious if anyone was able to resolve this issue.
System.AggregateException: One or more errors occurred. (Error calling CreateBucket: {"reason":"Bucket already exists"})
---> Autodesk.Forge.Client.ApiException: Error calling CreateBucket: {"reason":"Bucket already exists"}
Running the embedded mode the following url was passed in: https://subseaxd-staging.mcdermott.com/api/pri/v1/configurator/project/600a6937e498fd4f20e666ec?projectId=-M73LyZXYLoHZk6j-ms3&subProjectId=-M73MRx2visv8-KjjmWX&assetId=-MQt6umRXpy29G1NyOMF
However the console reported the following:
2021-02-02 13:50:18.707 +00:00 [INF] downloading parameters from https://subseaxd-staging.mcdermott.com/api/pri/v1/configurator/project/600a6937e498fd4f20e666ec?projectId=-M73LyZXYLoHZk6j-ms3
What would cause this url to be truncated? It appears to be truncating at the &.
When running the application locally, an exception is thrown due to a bucket not existing in OSS. After attaching the debugger, I was able to see that it is when trying to access the AnonymousBucket. The UserResolver.GetBucketAsync() has an argument for whether or not to try to create the requested bucket, but this logic is not used in the case of the AnonymousBucket. After creating this bucket manually, the exception is no longer thrown.
Hi, i get the below error, when i try to initialize:
couldn't start the spa development server with command 'npm start'
Thanks
Gopi
in AppSetting.Json, I tried to change from AWS to Azure. I uploaded the file in Azure and past the link as below
https://myforgeapp.blob.core.windows.net/test/WrenchForm_2022.zip
But it is not working. Kindly help me if I need to change any setting.
Thank you.
Hi, guys,
I've found a small bug. Active project in the ProjectAccountSwitcher component doesn't want to change in some cases.
Expected: the active model is changed in the application toolbar, but it remains the same.
It could be fixed something like this as a workaround:
...
import { getActiveProject } from "../reducers/mainReducer";
...
export class ProjectSwitcher extends Component {
...
render() {
return (
<ProjectAccountSwitcher
defaultProject={this.props.projectList.activeProjectId}
activeProject={null}
activeLabel={this.props.activeProject?.label} // <- added this line
projects={this.props.projectList.projects}
projectTitle="Projects"
onChange={this.onProjectChange}
/>
);
}
}
export default connect(function (store){
return {
projectList: store.projectList,
activeProject: getActiveProject(store) // <- and this line
};
}, { fetchProjects, fetchParameters, updateActiveProject, updateActiveTabIndex, addLog, invalidateDrawing } )(ProjectSwitcher);
Or fix the ProjectAccountSwitcher component
It mentioned in readme that "Create a forge app at https://forge.autodesk.com/, and select Design Automation API and Data Management API in the APIs section"
When creating application with only choosing these two services, error happens when calling dotnet run.
After checking with @mivasi and tried to select all services, this error disappears.
Hello,
I have a question which may be solved by someone who has more experience than I do.
I essentially want to be able to export a 3D DWG of my model. This DWG should also update as parameters change. Any help would be greatly appreciated.
I found fault around here and here . Does not appear when compiling via visual studio, but detected as an error on vs code. The second problem can be solved simply by adding tostring at the end. But i don't know how to solve the first problem
Also, although I change the columns and compile the project, the incoming data does not change.
Hi, I'm looking for sample but more advance connected with Autodesk Vault. Configurator should now if duplicate part / assembly exist in Vault, then it should be reused. If part not exist in Vault, then part should get new name base on Vault schema names. Do you know any sample like that or are you able to draw a big picture of architecture - how drawing automation can connect to Vault during changes?
Unable to convert to SVF with the given code in CreateSvfAutomation.cs. Getting the error " The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))". Is there any update with the code?
I was able to build and run this application but I'm not able to sign in and upload my own models. I have already set invite only mode to false. I also tried setting it to true and adding my credentials to the Addresses array. Both have the same results (see attached image). I have very little experience with web applications so I'm sure that I did something wrong. Any ideas what it could be?
Maybe a stupid question, but I'm new to this field. Everything is running, but I can't find how to add files or projects to this application, please tell me
At the moment you only get a link to the report if the WorkItem failed to update the model.
However, the update being "successful" does not mean it was "as expected" or "correct".
Best thing is to make the report always available.
Hi Good day, I have followed the setup described but currently am not able to load any projects.
Meaning, on the project tab the list is empty and I am seeing error messages like
"You don't have any drawings in your package.
"
Is there anything I am doing wrong, or how should I make sure the app sees the projects.
I am able to access the projects in the appsettings.json
from my browser and can download them but I am not able to load them in the system.
please assist.
Thanks
Hi. Forgive me if this is in the wrong section, but I have a few questions that may be simple to answer for someone with more experience.
Thanks so much,
Paulo
Hi, maybe someone will help me, I can't figure out what's going on. I always have empty in the drawing
This is my project:
https://drive.google.com/file/d/1v5wUGsgbZ6PmcdXlPNdssn459CsGOgHp/view?usp=sharing
Log:
Reports.zip
Using the Embed = true if the json supplied is not formatted correctly the configurator errors out but nothing is reported in the console and an error report is not generated.
Hello everyone!Hope you can help to me!My problem is actually mobile device view and view's problem is about to when first time open to my configurator website,A white space is being created on the right side of the viewer area.I don not know why and i tried to CSS's media query codes and something like these.But can not solve this view's problem.And there is a video
Meanwhile, i removed to some components on React view ui as you can see.But css or js codes did not change so much
I have troubles with deploying an app to Azure.
I started with https://github.com/Autodesk-Forge/forge-configurator-inventor repo. I managed to run it locally with no errors. I am able to login, upload my own zipped files, change parameters, export pdf and download it. Everything is fine. Now i want to publish app to azure.
App is currently running so You can check it out: https://pjk-config.azurewebsites.net
WHAT IS WRONG: I cannot upload any models after login. No error is displayed. If I make change in wrench or wheel model and update it, I won't happened either.
What I did:
created azure account,
changed callback url to my app (in my situation: "https://pjk-config.azurewebsites.net/"),
I changed WebApplication.Program.cs by removing the UseKestrel() statement ( please check that)
{
webBuilder.UseStartup();
var port = Environment.GetEnvironmentVariable("PORT");
// If deployed to a service like Heroku, need to listen on port defined in the environment, not the default one
if (!string.IsNullOrEmpty(port))
{
webBuilder.UseUrls("http://*:" + port);
Log.Logger.Information($"PORT environment variable defined to:{port}");
}
});
appsettings:
inviteonlymode - false
embedded mode - false
publisher settings: (but I see polling in output so I think something is missing)
"CompletionCheck": "Callback",
"CallbackUrlBase": "https://pjk-config.azurewebsites.net"
I deployed through VS 2019 with WebApplication right click - publish using this reference: https://docs.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-to-azure?view=vs-2019
If you need any additional info just let me know. I am fighting with this almost 30 days by my own. I am beginner and this is my first question on this page so I apologize for lack of precise information about my problem. Just tell me what you need and I will send it over.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.