This is Adam Nagy's Typepad Profile.
Join Typepad and start following Adam Nagy's activity
Join Now!
Already a member? Sign In
Adam Nagy
Portland, Oregon
Recent Activity
There have been some big changes recently, and I am no longer working for Autodesk. As a result, I want to say goodbye because this will be my last post on Mod the Machine. This blog started with my first... Continue reading
Posted Mar 9, 2018 at Mod the Machine
Yes, it can be done for an assembly. It means doing this process on each occurrence in the assembly and combining the bounding boxes to get the overall bounding box.
This week a new Fusion 360 update went out. There are a few API related enhancements in this update and one big announcement. Enhancements User Specified Program Path - You can now specify the location where Fusion will look for... Continue reading
Posted Jun 22, 2017 at Mod the Machine
The question of getting the size of a part frequently comes up and I wanted to spend some time discussing the existing functionality and other options. The discussion here applies to both Fusion 360 and Inventor (and probably most other... Continue reading
Posted Jun 6, 2017 at Mod the Machine
I know most of you won’t have an opportunity to attend Autodesk University but you still benefit from the event by having access to the material from previous years. You can browser the class papers from previous years at AU... Continue reading
Posted May 26, 2017 at Mod the Machine
I saw a similar question being asked twice recently and thought I would address it here. The questions were from Fusion 360 users but it also applies to Inventor. The specific question was “How to create a 3D spline where... Continue reading
Posted May 25, 2017 at Mod the Machine
As Augusto said, the forum is a better place for questions. But for this question I went ahead and created a blog post that goes into more detail. Hopefully this will help. -Brian
I recently saw a question asking about how to determine if a parameter is of a certain unit type and thought it would be worth writing a bit more here for everyone’s benefit. First, let’s look at the object model... Continue reading
Posted Apr 26, 2017 at Mod the Machine
Daniel, I believe the code below does what you described. There are a few if statements but it's not what I would consider very complex. Public Sub UOMSample() Dim partDoc As PartDocument Set partDoc = ThisApplication.ActiveDocument Dim uom As UnitsOfMeasure Set uom = partDoc.UnitsOfMeasure Dim pi As Double pi = Atn(1) * 4 Dim param As Parameter For Each param In partDoc.ComponentDefinition.Parameters If Not (param.Units = "Text" Or param.Units = "Boolean") Then If uom.CompatibleUnits(param.expression, param.Units, "1", "mm") Then Debug.Print "Length param " & & " = " & param.Value * 10 ElseIf uom.CompatibleUnits(param.expression, param.Units, "1", "deg") Then Debug.Print "Angle param " & & " = " & param.Value * (180 / pi) Else Debug.Print "Other param " & & " = " & param.expression End If Else Debug.Print "Other param " & & " = " & param.Value End If Next End Sub
The call for proposals for classes at this year’s Autodesk University is now open. Do you have something interesting you’ve been working on that you’d like to share? You definitely won’t get rich teaching classes but there are definitely some... Continue reading
Posted Apr 19, 2017 at Mod the Machine
A couple of weeks ago I was able to spend some time at the headquarters of Shaper Tools to have a little time with their new Shaper Origin tool and work with them on building a better integration with Fusion... Continue reading
Posted Apr 3, 2017 at Mod the Machine
I posted a teaser video last week about a course that would soon be available. Well it’s here now on the Autodesk Design Academy site. You can use your existing Autodesk account to sign up and it’s free. Here’s the... Continue reading
Posted Mar 27, 2017 at Mod the Machine
With Inventor 2018, there’s now a new topic in the Inventor help table of contents making the help for the Inventor API available online. Previously, the API help for Inventor has always been delivered as a chm as part of... Continue reading
Posted Mar 22, 2017 at Mod the Machine
We’ve been working with the Mechanical Engineering Dept. at Brigham Young University over the past year to develop a video course for the Fusion API. Some final work is being done now to publish it live but here's a little... Continue reading
Posted Mar 21, 2017 at Mod the Machine
Have you noticed the recent changes in the Fusion 360 help? I know the help team was tired of hearing from me and I’ve heard many of you talk about some of the problems when using the help. When using... Continue reading
Posted Feb 16, 2017 at Mod the Machine
A partner notified me about a problem he had found with my Attribute Helper add-in that I wasn’t aware of. He told me that if you have the new “Interactive Tutorial” and “Attribute Helper” add-ins both loaded, then Inventor will... Continue reading
Posted Feb 1, 2017 at Mod the Machine
The Autodesk Forge DevCon conference, originally scheduled for June 27-28 in San Francisco, will now be held on November 13-14 in Las Vegas. One time. One location. Two great conferences. We received feedback from many of last year's Forge DevCon... Continue reading
Posted Jan 20, 2017 at Mod the Machine
There are several new enhancements in this update and a couple that open some new doors on what can be done with the Fusion API. The first of these is the ability to customize the context menu, or as it's... Continue reading
Posted Jan 19, 2017 at Mod the Machine
I used to package the source with each update but now I've gone ahead and published it to github. You can find it here:
This past June for the Forge Developer Conference I worked with some of the great folks at opendesk and ShopBot to put together a working demonstration using their furniture designs, machine tools, and Fusion 360. opendesk has a large catalog... Continue reading
Posted Dec 13, 2016 at Mod the Machine
Kirk Arthur reminded me at Autodesk University about an issue with add-ins that I had blogged about and asked if I had made the recommended change to the Sheet Metal Extents add-in. I truthfully couldn’t remember so I’ve gone ahead... Continue reading
Posted Dec 12, 2016 at Mod the Machine
A new Fusion 360 update went out today and it has several new features in the API. The one I want to discuss first is one that has the potential of breaking some existing programs. If you use C++ and... Continue reading
Posted Oct 5, 2016 at Mod the Machine
I was working on answering a question recently and put together a bit of code to make sure my answer was correct and thought it might be useful to some others so I want to share it here. The initial... Continue reading
Posted Sep 30, 2016 at Mod the Machine
I posted about the Forge Hackathon earlier but just want to remind everyone that the webinars begin tomorrow. I know the majority of you probably aren't interested in participating in the hackathon itself but might be curious about what Forge... Continue reading
Posted Sep 19, 2016 at Mod the Machine
Fusion 360 rolled out a new update yesterday and there are quite a few API enhancements. For a complete list you can go to the Fusion 360 API help, but here are some of the highlights. Getting the Active Length... Continue reading
Posted Sep 8, 2016 at Mod the Machine