Auto export driven dimension value to Excel
By Adam NagySometimes there could be a main dimension that causes the whole model to change, and so the values of the driven dimensions change as well. You could either monitor the main dimension for...
View ArticleVector of minimum distance
By Adam NagyThere is a utility object in the API called MeasureTools that enables you to do the same measuring that is available in the UI: e.g. to get the minimum distance between components of an...
View ArticleProject perpendicular origin planes into sketch
By Adam NagyProjecting entities into a sketch is really easy through the API. E.g. projecting the origin planes which are perpendicular to the sketch can be done like this in VBA:Public Sub...
View ArticleGet Option Names and Values Supported by Inventor Translator Addins via API
By Barbara HanIssueHow can I get the options when Save Copy As an Inventor file to DWF/DWG/DXF/IGES/STEP/SAT format via API?SolutionInventor provides various translator addins for exporting file in...
View ArticleMirror Component in Assembly
By Xiaodong LiangQuestion: API allows me to create mirror feature in a part, but it looks not way to create mirror component in an assembly. Is there any method?Solution: This is no direct API function...
View ArticleDelete suppressed components
By Adam NagyYou may want to make the current LOD the master LOD in the assembly in which case you can delete the suppressed components in the assembly. Once I run the below VBA code the Master LOD of...
View ArticleReplacing a native Inventor button by a custom one - updated
By Philippe LeefsmaThis post is an enhanced version of that previous one:Replacing a native Inventor button by a custom oneIt illustrates how you can replace an Inventor button by a custom one that...
View ArticleCustom Translator Addin of Inventor - 1
By Xiaodong LiangIn default, Inventor has provided a bunch of translators of various formats such as *.dwg, *.dxf, *.sat etc. Each translator is actually an add-in which manages the Open or Save Copy...
View ArticleCreate Sphere by Three Points
By Xiaodong LiangThis is a question of math, but I think it may help for some developers who may not have time to dig into by Inventor API. The VBA code below is written by my colleague Brian Ekins...
View ArticleCustom Translator Addin of Inventor - 2
By Xiaodong Liang(Continued)In the past post, we got a skeleton of a translator add-in. By this translator, we can open a data source *.abc, and save the geometries of Inventor to a *.abc file.To make...
View ArticleEdit Rule ArgumentException for invalid character
By Adam NagyIf the name of one of the parameters in a document contains a Ctrl+Underscore / Ctrl+Shift+- / character 0x1f, then you won't be able to edit any of the rules inside the document, because...
View ArticlePLM 360 sample giving (401) Unauthorized error
By Adam NagyWhen running the C# sample from here (http://knowledge.autodesk.com/search-result/caas/downloads/content/plm-360-rest-api-v2-sample-code.html) you will get a (401) Unauthorized error if you...
View ArticleSave RevisionTable content to CustomTable
By Adam NagyYou may want to save the current values of the revision table before doing some modifications to the revision numbers - e.g. as a result of a Vault merger.Here is a VBA sample showing how...
View ArticleVault 2014 – AcquireFilesSettings & AcquisitionStatus Skipped
By Wayne BrillI had a discussion about AcquireFilesSettings used with AcquireFile() recently with a colleague in engineering. I thought it could be useful so I am posing it here: This post on Doug...
View ArticleGet occurrences whose name starts with a certain string
By Adam NagyIf you need to get back occurrences with certain name patterns, then you just have to iterate through them and check their name. Depending on how many levels you want to check you could...
View ArticleConfigurator 360 embedded in your webpage
By Adam NagyConfigurator 360 enables you to upload your design and then let others configure it through a web or mobile interface. Now you can even embed the web component in your own webpage. To test...
View ArticleIncludeLibraryContents to include Content Center parts with AcquireFiles()
By Wayne BrillRecently I had a case where the question was how to download content center parts. I was using code similar to the code in the example on this page and the content center parts were...
View ArticleChange Balloon Property Display
By Adam NagyIf you want to find out how to set an object through the API to achieve what you want, then the best thing is to do it through the UI and then investigate the object through the API in e.g....
View ArticleSuppressing all chamfer or fillets with iLogic
By Xiaodong LiangQuestion: Is it possible to create a rule to suppress all filltes or chamfers in a part by an iLogic rule?Solution: The code below self explains how to suppress the specific...
View Article[Open Containing Folder] throws exception
By Xiaodong LiangQuestionWhen I wanted to create the global form, clicked [Open Containing Folder] , an exception occurred. This happened with any document and all 5 of our stations. SolutionThe...
View Article