Coder Social home page Coder Social logo

parameterio_python's People

Contributors

adamenagy avatar wayne-brill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

parameterio_python's Issues

Auto Update Files

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

Export Only User Parameters

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?

Deleting 'isDeletable' properties

@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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.