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

Edit an Item BOM Row in Vault – VB example

By Wayne BrillHere is a VB example that changes the Quantity of a BOM Row. To test this code you can add a button to this SDK sample: C:\Program Files (x86)\Autodesk\Autodesk Vault 2016...

View Article


Image may be NSFW.
Clik here to view.

Map family's table column to Inventor property

By Adam NagyWhen trying to figure out how to do something in the Inventor API, then almost always the best way to go is: do it in the UI, investigate in the API.So I registered in the Content Center my...

View Article


Image may be NSFW.
Clik here to view.

Overlapped Areas of Mated Bodies in Assembly

Question:I have as assembly with 2 plate parts, they are constrained to each other face to face by mate constraint. How to get their overlapped area and boundary.Solution:From API help:...

View Article

Add the sketch using DrawingView Sketches when creating a section view

By Wayne BrillIn the SDK help-->Inventor API User's Manual----> Drawings--->Working With Drawing Views---> “Creating a section drawing view” it includes this code:Dim oDrawingSketch As...

View Article

Image may be NSFW.
Clik here to view.

Cable & Harness component names

By Adam NagyWhen iterating through the components of a Cable & Harness assembly you'll find VirtualComponentDefinition's named like "HA_VC_xxx":... Hard Drive:2 CD Ribbon Cable CD Ribbon Cable...

View Article


Delete Objects with Fusion 360 API

By Xiaodong LiangAll objects that can be deleted support the the deleteMe method. The usage is  very straightforward. Get the object and call deleteMe. I found a forum post that one customer failed to...

View Article

Image may be NSFW.
Clik here to view.

Check or UnCheck iProperties “Date Created” and “Date...

By Wayne BrillIt is not obvious how to add or remove a check to an iProperty such as Creation Date:  In the VBA watch window you will see that when the "Date Created" iProperty is not checked the...

View Article

Image may be NSFW.
Clik here to view.

Fusion API: Toggle [Capture Design History]

By Xiaodong LiangThere are two primary ways to work in the "Model" environment; parametrically, which focuses on the relationships between features, or directly, which deals only with selected model...

View Article


Image may be NSFW.
Clik here to view.

Autodesk App Store Forge and Fusion 360 Hackathon September 1 - October 31

By Virupaksha AithalIf you’ve been thinking about developing on the Autodesk® Forge Platform, Autodesk’s new cloud platform, or on Autodesk® Fusion 360™—or, if you’re just curious about learning more...

View Article


Making your add-in callable from VBA

By Adam NagyIf you want to create your add-in in a way that its functionality can also be accessed by other programs (e.g. from VBA) then there are two ways to do it:a) Use ControlDefinition objectMost...

View Article

Fusion API: Usage of Mouse Event

By Xiaodong LiangCustom actions with mouse are widely used in an add-in. Fusion provides MouseEvents that monitors the events. The custom Command object contains the corresponding functions such as...

View Article

Image may be NSFW.
Clik here to view.

Create Sketch Text on Face of Assembly

By Xiaodong LiangQuestion: In a assembly (or part), I want to select a face, on this face I want the Partnumber as a sketh text, (with a big font)Is there a simple solution?Answer:The code below...

View Article

Introduction to Fusion 360 API

By Virupaksha AithalHere is the recording of the “Introduction to Fusion 360 API” presented on 11th of October 2016Fusion 360 resources:Learn about the Fusion 360 API hereTalk to fellow Fusion API...

View Article


Image may be NSFW.
Clik here to view.

Fusion API: Usage of Table Control

By Xiaodong LiangFusion provides various types of controls (CommandInput) for a command. There is a Python demo in API help.Table type is available with API. It can even embed sub controls within the...

View Article

iLogic: ActiveDocument.ComponentDefinition throws exception for specific...

By Xiaodong LiangRecently, we got a strange issue. With a specific dataset, we opened all files in cascade views, then activated each document and ran an external rule. The rule is quite simple. It...

View Article


Image may be NSFW.
Clik here to view.

Fusion API: Which API I should choose?

By Xiaodong LiangFusion API provides 3 types of languages: Python, JavaScript and C++. I found an interesting discussion on Fusion API forum, where our API designer Brian Ekins gave an answer on the...

View Article

Image may be NSFW.
Clik here to view.

Add to "Frequently Used Subfolders" collection

By Adam Nagy (@AdamTheNagy)As mentioned in this forum post, unfortunately, the relevant API does not work :(Until it gets sorted, you could use the following workaround: edit directly the Project file...

View Article


Forge DevCon - Call For Proposals

By Adam Nagy (@AdamTheNagy)Have you created something cool using the Autodesk Forge platform and want to share with others what you learnt? :)Then why not do it at our next Autodesk Forge DevCon taking...

View Article

Fusion API: Attribute returns none for the Face that has been attached attribute

By Xiaodong LiangQuestion: I attached the attributes to some selected faces of an assembly. When I iterate the faces of each component and try to find out those faces, they returned none attributes. My...

View Article

Fusion API: HTTP Request in Fusion 360 by Python

By Xiaodong LiangFor a session of AU China, I produced a small demo on how to connect designer, customer and vendor by Fusion 360 API and Forge. In the process, I borrowed some codes of HTTP Request...

View Article
Browsing all 516 articles
Browse latest View live