thomasa88 / DirectName

Fusion 360 add-in for naming features directly after creation
MIT License
22 stars 0 forks source link

Show renaming dialog when creating new component in Extrude #3

Closed THEsutherland closed 1 month ago

THEsutherland commented 2 years ago

It would be neat if you could implement the same feature but for components. When extruding and selecting "New component", it would be nice to rename the component right away.

thomasa88 commented 1 year ago

I remember not adding the naming feature when using the "New component" button, as that dialog already has a name field.

But this is a new use case. I'll have a look (when time permits).

edit: The current heuristic cannot determine if a component was created using the New Component dialog (which has a name field) or Extrude->Component.

Possibly, the add-in could watch to see if an extrude command was running (but maybe there are other commands as well) - or unconditionally ask for new components.

Or it could look for the name being a template name ("Component" in all languages).

Note, the name of the occurrence must be filtered (cannot be (directly) renamed): image

thomasa88 commented 1 month ago

Hi, I just published version 1.4.1 on Github, where I have added this feature. A new installer will hopefully appear in the Autodesk app store in 1-2 weeks.