r/InventorAPI • • Jan 27 '20

Using XML to Drive iLogic Configurations

Post image
2 Upvotes

r/InventorAPI • • Oct 21 '19

iLogic – Export 3D PDF with Progress Bar

Post image
2 Upvotes

r/InventorAPI • • Mar 29 '19

Using a Yes No message box in your iLogic rule

Thumbnail
inventortrenches.blogspot.com
3 Upvotes

r/InventorAPI • • Mar 25 '19

Check & Report on iProperties with iLogic

Thumbnail
self.autodeskinventor
3 Upvotes

r/InventorAPI • • Jan 11 '20

Show Imperial & Metric Frame Sizes on BoM

Post image
2 Upvotes

r/InventorAPI • • Oct 12 '19

I want to access the inventor part history tree through the API using python to add features into folders in the tree. Thoughts ?

4 Upvotes

Specifically I want to be able to organize features into folders using the history tree in the part environment

Currently this is only possible in the assembly environment

My goal is to learn to access the inventor API using python to add this functionality

Please advise


r/InventorAPI • • Feb 08 '20

Inventor iProperty Helper

Thumbnail
self.autodeskinventor
2 Upvotes

r/InventorAPI • • Aug 15 '19

Let’s Talk About Forms & iLogic

Post image
3 Upvotes

r/InventorAPI • • Sep 30 '19

Assembly Surface Areas & an iLogic Hack

Thumbnail
self.autodeskinventor
4 Upvotes

r/InventorAPI • • Feb 25 '25

Programming Courses that are helpful for iLogic/InventorAPI

2 Upvotes

I am a designer drafter using Inventor 2024. I understand rudimentary iLogic rules, but get baffled when looking at the more complex rules. It was suggested once to learn coding to better understand how advanced rules are used.

I am looking for suggestions on a good language to start with that and a good credible online course that I can present to my management for reimbursement.

Thanks


r/InventorAPI • • Aug 06 '24

The Importance of API Development in Modern Software Engineering

Thumbnail
quickwayinfosystems.com
1 Upvotes

r/InventorAPI • • Feb 12 '24

Most of the AddIns won't work after Inventor 2025

3 Upvotes

With version 2025, add-ins based on the .NET Framework will no longer work; they must be migrated to the new .NET, which works differently in many ways than the .NET Framework. Even iLogic scripts may need to be adapted.

I think this is very critical, some companies have been using add-ins for decades, and for many of them the source code will no longer be available... That will have an impact!

Don't get me wrong, I think it's good that Autodesk is moving away from the old .NET Framework, but it will hurt.

What do you think about this? Will it affect your work/company?


r/InventorAPI • • Dec 06 '23

Inventor iLogic Tutorial: Simple design

2 Upvotes

r/InventorAPI • • Aug 07 '24

Joint selection tool

1 Upvotes

Hello everyone, Does somebody know how to invoke the joint selection type in ilogic or vb? Want the user to select a part but with the same input, want to use the part later in the code to contrain it.


r/InventorAPI • • Dec 11 '23

Inventor Tutorial: Using iLogic to create a Complex Design

7 Upvotes

r/InventorAPI • • Dec 20 '23

New addition to Inventor2024: Integrate iLogic code directly with Vault

2 Upvotes

Enabling tasks such as file copying, applying numbering schemes, and document check-outs to be automated, saving time and reducing manual effort.


r/InventorAPI • • Oct 13 '24

Adding Assembly occurence and updating scale

1 Upvotes

Hi there,

I'm trying to code an add-in for Inventor that will import STL files from a folder and place them based on a transformation matrix that I have passed through in an XML file. The only issue is the scale of the part which will vary depending on the units that someone is using. I calculate the scale factor but when adjusting the transformation matrix, Inventor throws an unspecified / invalid parameter error.

I have tried to update the scale explicitly:

TransientGeometry transientGeo = m_inventorApplication.TransientGeometry;            
Matrix transformMatrix = transientGeo.CreateMatrix();
transformMatrix.SetToIdentity();
transformMatrix.Cell[1,1] = scaleFactor;
transformMatrix.Cell[1,2] = matrixArrayValues[1];
transformMatrix.Cell[1,3] = matrixArrayValues[2];
transformMatrix.Cell[1,4] = matrixArrayValues[3] * scaleFactor;
transformMatrix.Cell[2,1] = matrixArrayValues[4];
transformMatrix.Cell[2,2] = scaleFactor;
transformMatrix.Cell[2,3] = matrixArrayValues[6];
transformMatrix.Cell[2,4] = matrixArrayValues[7] * scaleFactor;
transformMatrix.Cell[3,1] = matrixArrayValues[8];
transformMatrix.Cell[3,2] = matrixArrayValues[9];
transformMatrix.Cell[3,3] = scaleFactor;
transformMatrix.Cell[3,4] = matrixArrayValues[11] * scaleFactor;
transformMatrix.Cell[4,1] = matrixArrayValues[12];
transformMatrix.Cell[4,2] = matrixArrayValues[13]; 
transformMatrix.Cell[4,3] = matrixArrayValues[14];
transformMatrix.Cell[4,4] = matrixArrayValues[15];

and I have also tried to add scale by transforming with a scaling matrix:

private Matrix CreateScaleMatrix(TransientGeometry transGeo, double scaleFactor) 
{   
    Matrix scaleMatrix = transGeo.CreateMatrix();
    scaleMatrix.SetToIdentity();
    scaleMatrix.Cell[1,1] = scaleFactor;
    scaleMatrix.Cell[2, 2] = scaleFactor;
    scaleMatrix.Cell[3, 3] = scaleFactor;
    return scaleMatrix;
}

Matrix scaleMatrix = CreateScaleMatrix(transientGeo, scaleFactor);
transformMatrix.TransformBy(scaleMatrix);

Neither of these work, failing on the line:

var occ = assemblyOccurences.Add(System.IO.Path.Combine(rootPath, fileName), transformMatrix);

The exception reads:

System.ArgumentException: Unspecified Argument

at System. Runtime Type.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object] providedArgs, ParameterModifier[ modifiers, Culturenfo culture, String I namedParams)

at System.RuntimeType.ForwardCallTolnvokeMember(String memberName, BindingFlags flags, Object target, Object] aArgs, Boolean I aArgslsByRef, Int32[ aArgsWrapperTypes, Typell aArgsTypes, Type retType)

or sometimes:

System.ArgumentException: Invalid Parameter

at System. Runtime Type.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object] providedArgs, ParameterModifier[ modifiers, Culturenfo culture, String I namedParams)

at System.RuntimeType.ForwardCallTolnvokeMember(String memberName, BindingFlags flags, Object target, Object] aArgs, Boolean I aArgslsByRef, Int32[ aArgsWrapperTypes, Typell aArgsTypes, Type retType)

I would appreciate any help on this topic!


r/InventorAPI • • Dec 15 '22

Retrieve all the dimensions associated with en extrusion or sweep ( extruded or swept via a sketch block)

2 Upvotes

Hi as the title says I want to retrieve all the dimensions associated with the sketch block which is used to extrude or sweep.

Is there any way with illogic to a gauge this?

Thanks 🙏


r/InventorAPI • • Aug 20 '24

Bevel Gear generator?

3 Upvotes

Is there an add in or anything similar to help with designing a Bevel gear onto a very specific surface and a corresponding gear onto a shaft?

I tried to use the Bevel gear generator in Inventor, but it looks like it doesnt work like the Spur Gear and the worm gear generator.

Any Idea what i could do about this problem?


r/InventorAPI • • Jul 12 '24

iLogic save as and replace component.

Thumbnail self.autodeskinventor
1 Upvotes

r/InventorAPI • • Aug 28 '25

Can we extract part from assembly via code/script (same as Derived Part) in Inventor?

2 Upvotes

I’m trying to figure out if it’s possible to extract a part from an assembly through code or scripting in Autodesk Inventor.
The main aim is to generate a part file that maintains the same orientation and position as it has inside the assembly (similar to how a derived part works).

Has anyone implemented this through the Inventor API, iLogic, or any external script? Any pointers, examples, or references would be greatly appreciated.


r/InventorAPI • • Mar 28 '19

Using Python with Inventor API

5 Upvotes

Hey guys, if you are like me and hate writing Code in VBA you can actually write Python scripts for Inventor using the win32com.client module. To use the module, you have to `pip install pywin32`. Here is a sample of a pretty useless script, but it should be good enough to get you going.

If you have any Questions About what's going on here, feel free to ask.

edit: https://pastebin.com/1ZvSpku5

Code formatting doesn't seem to work.