Icon of newly created Sketch constraint stays visible
By Adam NagyWhen you create new constraints in a Sketch then the constraints' symbol will show in the UI. In previous releases it did not do that.Also, it only seems to happen if nothing depends on the...
View ArticleHighlightSet does not work
By Adam NagyIf you create a HighlightSet and add objects to it, but do not see the result, one possible explanation could be that the HighlightSet got released before you could see the result: maybe...
View ArticleComponent occurrence cannot be renamed
By Adam NagyIn case of some assemblies, e.g. the ones created by Design Accelerator, the name of the document or the occurrances in it cannot be changed: you get message "Request Rename Component...
View ArticleAdd external iLogic Rule to Event Trigger
By Adam NagyLet's say we have a drawing (e.g. MyDrawing.idw) that has the following iLogicRules Event Triggers setup:We would like to remove the MyDocumentRule document/internal Rule from the Before...
View ArticleOnCloseDocument not called for referenced part document
By Adam NagyIf you have a part document open on it's own and a currently open assembly references it too, then if you close the part document in the UI then OnCoseDocument is not called.This is pointed...
View ArticleUserForm function not listed in Macros dialog
By Adam NagyLet's say we have a VBA project with a Class, a UserForm and a Module, each with a single function in it:When checking in the Macros dialog only the Module's function (MyModuleFunction)...
View ArticleCreate transient 3D arrow with ClientGraphics
By Adam NagyAs mentioned here, you can create TransientBRep objects and then use them for ClientGraphics. This makes it easy to create 3D shapes, e.g. cylinders and cones, that we could use to create a...
View ArticleSuppress constraints with similar name
By Adam NagyIf components (e.g. constraints) with names that are the same until the last number part are logically connected, and so you want to find them, then the easiest might be to use Regular...
View ArticleGet outer profile loop in sketch
By Adam NagyIf you want to find the outermost profile loop in a sketch then you can just create a temporary Profile from all the sketch entities and then check the first ProfilePath in it. That should...
View ArticleExecute vs Execute2 of ControlDefinition
By Adam NagyThis blog post's Command Execution Behavior section already talks about this but might be worth mentioning it again and providing some more details.There are three ways to run an existing...
View ArticleReuse Inventor UI components
By Adam NagyYou may want to create command dialogs or palettes that look just like Inventor's, e.g. like the one the Extrude command has. Unfortunately, there is no direct way to do that; Inventor API...
View ArticleAlign DrawingView to Face and Edge
By Adam NagyWrote a few articles on drawing views already, but they do not seem to be enough :)http://adndevblog.typepad.com/manufacturing/2014/11/rotate-drawing-view-around-x-axis-of-sheet.html...
View ArticleShow VBA dialog from Ribbon
By Adam NagyAnything that shows in the Macros dialog can also be hooked up to a new Ribbon button:...
View ArticleNot able to recognize add-in in the path with non-English chars
By Xiaodong Liang I got one case last week, in which it is reported that Inventor cannot recognize one add-in if the binary (dll) is deployed to a path that contains non-English chars. e.g. the *.addin...
View ArticleCannot extrude sketch geometry
By Adam NagyYou may have created sketch curves that overlap, but their end points do not meet, so you cannot extrude the area they enclose. Actually, the end points of the curves do not need to...
View ArticleDrive Rule in Sub Sheet Metal part to Export DWG/DXF by DataIO
By Xiaodong LiangThese days, I got one case, where one assembly includes some sheet metal parts. In each part, there are some rules, one of which exports the document to DWG/DXF, another exports to...
View ArticleTransform imported geometry
By Adam NagyWhen importing geometry from another CAD format like *.step then you cannot specify the transformation for it in the UI. The only thing you can do is transform the geometry in another part...
View ArticleList suppressed components in LOD
By Adam NagyWhen a given LOD (Level Of Detail) is active inside Inventor that simply means that you are looking at a specific document inside the file: each LOD is a separate document stored inside the...
View ArticleUpcoming Fusion 360 API Webinar
Are you using Fusion 360 or just curious about it? It’s API is still relatively new and is growing significantly with each frequent release. This webinar will discuss the programming capabilities of...
View ArticleDelete suppressed components in iLogic
By Adam NagyI have written a blog post on this topic and provided VBA code. If you want to convert it to iLogic then first of all you need to have a basic understanding of iLogic. Going through the...
View Article