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

Insert Content Center Part

By Adam NagyYou can insert Content Center parts programmatically. The following sample is looking through the whole Content Center content in order to find a specific part based on its display...

View Article


Why can I not convert linear Edges to Lines?

By Augusto GoncalvesWhy can I not convert linear Edges to Lines? Perhaps the name is a bit misleading, but Line in Inventor API represents a straight line with infinite length. It only has a...

View Article


Image may be NSFW.
Clik here to view.

Create simplified part by API

by Xiaodong LiangThe [Create Simplified Part] actually creates a derived assembly for the new part document. You will firstly create DerivedAssemblyDefinition, and configure the relevant options,...

View Article

Image may be NSFW.
Clik here to view.

Use VB.NET dialog in iLogic

By Xiaodong LiangThe Form ability of iLogic is helpful in most cases. However, it is not so flexible to design the layout. And textbox does not support multi-lines (iProperties>>Comments cannot...

View Article

Checkout & CheckIn a file in Vault 2014

By Wayne BrillThere have been some questions about using the API to checkout, download and Check in a file. This example is an update to this Vault SDK sample:C:\Program Files (x86)\Autodesk\Autodesk...

View Article


ComponentOccurrence the DrawingCurveSegment belongs to

By Adam NagyIf you want to find out which ComponentOccurrence of the assembly a given DrawingCurve/DrawingCurveSegment belongs to then you can find it like so:Sub...

View Article

How to save on the disk the thumbnail image of an Inventor file?

By Philippe LeefsmaSaving the thumbnail image of an Inventor document as a file of your disk might be a bit tricky. Here is how to do it in C#. The code will save as a .jpg but saving to other formats...

View Article

Image may be NSFW.
Clik here to view.

Creating a Ribbon item for Inventor

By Augusto GoncalvesHere is a quick sample on how create a new Ribbon Tab, Panel and Button with Icon on Inventor. Although there are some samples on the blog, this just summarizes the whole...

View Article


Image may be NSFW.
Clik here to view.

Get parameters of iFeature

By Xiaodong LiangEach iFeature is defined by the iFeatureDefinition. The collection iFeatureInputs of iFeatureDefinition stores the parameters which defined the iFeature. Each parameter is an...

View Article


Delete Constraints of selected Occurrences c++ example

By Wayne BrillThis C++ sample uses the selection set and deletes constraints found in the selected occurrences and their suboccurrences. When manipulating entities in the SelectSet, keep in mind that...

View Article

Switch to next representation

By Adam NagyI'm not aware of a way in the UI to switch to the next possible representation (e.g. positional representation) using a shortcut. However, you can assign a shortcut to a VBA macro which...

View Article

Scale Drawing Dimensions for multiple drawing views - C# example

By Wayne BrillThis example shows how to scale drawing dimensions. All the dimensions will be scaled regarding on which drawing view they belong:Here is the workflow: Collect the dimensions related to a...

View Article

Revolving sketch profile which is closed

By Xiaodong LiangIssue: I generated programatically a skechs with a series of arcs, straight lines and spline. How can I check through the API that the segments form a closed loop, such that when I use...

View Article


Vault 2014 - IExplorerUtil VB example

By Wayne BrillIExplorerUtil.UpdateFileProperties() can be used to update mapped properties such as Inventor iProperties. There are multiple types of properties. These properties will be...

View Article

Image may be NSFW.
Clik here to view.

Add a new custom pane and add node from a default browser pane

By Wayne BrillIt is not possible to add a node to the default Inventor browser panes. One idea is to create a new browser pane and add a default node to the custom browser pane instead. This example...

View Article


Inventor: Insert Standard and Custom iParts

by Vladimir AnanyevQuestion: How to insert Standard and Custom iParts in assembly using Inventor API?SolutionTo add an iPart member, you need to use Occurrences.AddiPartMember() method.Public Function...

View Article

Inventor API : iPart functionality

by Vladimir AnanyevThe Inventor API supports the ability to create an iPartFactory from a standard part (starting from Inventor 2008), access the iPart table, publish iPart members, insert iPart member...

View Article


Inventor API: Face.AlternateBody

by Vladimir AnanyevQ: Could you provide more information on the Face.AlternateBody property? Sometimes I only get one loop when I query a face.A: Let's say the Face.AlternateBody property is the...

View Article

Inventor API: Change the color of a selected face in an assembly document

Q:  How can I change the color of the face by selecting a face object from an assembly document?A:  In an assembly document you should use the NativeObject of a face proxy object to obtain the original...

View Article

Get your Exchange Apps done by September 14 and receive US$100 per app...

By Virupaksha AithalGet your Exchange Apps done by September 14 and receive US$100 per app published!Do you have apps you want to publish on Autodesk® Exchange Apps but can’t find the time to actually...

View Article
Browsing all 516 articles
Browse latest View live