autodeskfusion360 / parameterio_python Goto Github PK
View Code? Open in Web Editor NEWFusion API Add-In that adds a button to the UI that allows you to select a CSV file and then edits existing Attributes
Fusion API Add-In that adds a button to the UI that allows you to select a CSV file and then edits existing Attributes
Hi, I'm fairly new to this plugin so I'm not sure if it's a workflow thing that I'm missing. But is it possible to automatically update the files with the parameters?
I've had times where files go out of sync because I forget to reimport the parameters to every component in an assembly
Also not sure if im using incorrectly, but when I export the parameters it also exports the model parameters eg. "d34"
This becomes an issue if I import that parameter list into another files which also has a "d34" dimension but for a completely different sketch.
Currently to get around this, I'm editing the generated csv to remove any non-user parameters. Could there be an option to only export user params?
@adamenagy I was wondering about modifying this plugin to not only import from CSV, but to also delete any parameters that aren't in the CSV, and are unused. That way removing them from the CSV would automatically keep the Fusion 360 parameters table synced.
I found isDeletable
in the API http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-96F0D697-0616-4A26-8DB9-021419121B70
However, calling design.allParameters.removeByItem(...)
results in:
Traceback (most recent call last):
/production/d2d901e2ef5ae5c384b4ac001a48c4e37589dc43/Api/Python/packages\adsk\fusion.py", line 20182, in removeByItem
return _fusion.ParameterList_removeByItem(self, *args)
RuntimeError: 3 : list is read only
What's confusing me is that add
works, even though the docs say that should also fail.
Is there a way to actually delete a property? The API seems to be there for it, but doesn't seem to work.
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.