Quantcast
Channel: Manufacturing DevBlog
Browsing all 516 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

List user’s accessible vaults in Autodesk Vault Explorer Extension

By Daniel DuOne customer wants to know how the get the accessible vaults for a user group in a Vault Explorer Extension with API. As you know, we can get the list from Vault Explorer UI, Tools –>...

View Article


AddAtCentroid does not work with EdgeLoop

By Adam NagyThough the help file suggests the opposite, AddAtCentroid does not seem to work with EdgeLoop. However the solution is very simple: create an EdgeCollection and fill it with the Edges of...

View Article


Do selection from iLogic

By Adam NagyThe only way you can do a selection from iLogic is using the Pick function. However, you can keep calling that in a loop to enable the user to select multiple components as well. Then you...

View Article

Handle Enter key from a MiniToolbar

By Adam NagyIn case of built-in commands like the Extrude command when the user presses the Enter key it has the same effect as if the Apply button was clicked - the changes will be applied and the...

View Article

Image may be NSFW.
Clik here to view.

Create title border in AutoCAD Mechanical

By Adam NagyThere is a comprehensive .NET sample using the AutoCAD Mechanical COM API in the SDK under "acadmapi\sample\dotNet" called "netTitleBorder":...

View Article


Disable BOMs of a 3D-model in a DWF

By Xiaodong LiangQuestion:I'm writing a small tool for Inventor 2012 in VB.net, using the TranslatorAddIn, to export a drawing and its 3D-model to DWF. Unfortunately, when I export the drawing of an...

View Article

Disable BOMs of a 3D-model in a DWF

By Xiaodong LiangQuestion:I'm writing a small tool for Inventor 2012 in VB.net, using the TranslatorAddIn, to export a drawing and its 3D-model to DWF. Unfortunately, when I export the drawing of an...

View Article

Image may be NSFW.
Clik here to view.

GetExistingFacets and CalculateFacets

By Adam NagyYou can use these two functions to get the tessellated geometry of an Inventor model. If calculated values already exist then you can get the tolerance they are using via...

View Article


Image may be NSFW.
Clik here to view.

Table editing from iLogic

By Adam NagyYou may have lots of data that you would like to make editable for the user. If it can be organized into a table then you could simply use a Form with a DataGridView on it. There is an...

View Article


Vault 2014 API example getting property values of a file

By Wayne BrillThis VB example uses GetPropertyDefinitions() and the GetPropertyValue() of the the PropertyManager to retrieve the value of system and a user defined property (UDP) for a file. It may...

View Article

Saving a snapshot of a document’s view

By Philippe LeefsmaHere are three different approaches to save a snapshot picture of a document view.1 - Simply saving the active view as is. Note that if you specify a top color, you will have to pass...

View Article

How to determine a point containment within a solid?

By Philippe LeefsmaThis is a question asked recently by an ADN developer: how can you determine if a point is located inside a watertight solid or outside?There is no API that would directly return the...

View Article

Setting Multi-Value Parameter from Excel Named Range Values

By Xiaodong LiangQuestion: I want to set multi values from Excel named range. I tested and got the failure: "Array was not a one-dimensional array." GoExcel.Open("C:\Temp\Book1.xlsx",...

View Article


Image may be NSFW.
Clik here to view.

Get ItemNumber from a DrawingCurve

By Adam NagyIf you want to find out which DrawingBOMRow / BOMRow a DrawingCurve belongs to in order to get e.g. the ItemNumber associated with the component that the DrawingCurve represents, the most...

View Article

Iterate Structured BOMView

By Adam NagyHere is a sample VBA code that lists some information from the StructuredBOMView of an assembly: Public Sub IterateRows _ (oBOMRows As BOMRowsEnumerator, indent As Integer) Dim oBOMRow As...

View Article


Image may be NSFW.
Clik here to view.

Display range box of componenets in assembly context

By Xiaodong LiangThe RangeBox is a rectangular box that is guaranteed to enclose this object. If you access the range in the assembly context, you can use ComponentOccurrence.RangeBox without proxy...

View Article

Image may be NSFW.
Clik here to view.

column of BOM for “Area”of component

By Xiaodong LiangQuestion: Is there any way to get an area for the entire assembly on the BOM?  If you go to iProperties --> Physical it is shown there. But how to pull it from there and have it as...

View Article


BOM Item total quantity by sub-assemby

By Xiaodong LiangQuestion: I would like to obtain, in a structured parts list, the total number of ITEM in the sub-assembly. I have found an iLogic rule to create an user ipropertie in each part, with...

View Article

Image may be NSFW.
Clik here to view.

When FileUIEvents::OnPopulateFileMetadata is exactly invoked ?

By Xiaodong LiangThis event is invoked when internal workflow of Inventor sets the filename and properties. Currently, the support workflow contains frame generator, create substitute, shrink wrap, add...

View Article

How to Set the Color of a Sketched Symbol

Q: I’m using the following code to set the color of a sketched symbol but nothing happens. How do I set the color of a sketched symbol?   sketchedSym.Color.SetColor(255, 0, 0)A: Properties that return...

View Article
Browsing all 516 articles
Browse latest View live